Revision 1802
Added by Jing Tao over 21 years ago
src/edu/ucsb/nceas/metacat/DBSAXHandler.java | ||
---|---|---|
618 | 618 |
systemid = systemId; |
619 | 619 |
|
620 | 620 |
processingDTD = true; |
621 |
|
|
621 |
DBSAXNode currentNode = (DBSAXNode)nodeStack.peek(); |
|
622 |
//create a DTD node and write docname,publicid and system id into db |
|
623 |
// we don't put the dtd node into node stack |
|
624 |
DBSAXNode dtdNode = new DBSAXNode (connection, name, publicId, systemId, |
|
625 |
currentNode, currentNode.getRootNodeID(), docid); |
|
622 | 626 |
MetaCatUtil.debugMessage("Start DTD", 50); |
623 | 627 |
MetaCatUtil.debugMessage("Setting processingDTD to true", 50); |
624 | 628 |
MetaCatUtil.debugMessage("DOCNAME: " + docname, 50); |
Also available in: Unified diff
Add code to handle public id and system id.