Project

General

Profile

« Previous | Next » 

Revision 2629

Added by Jing Tao about 19 years ago

Fixed bug which currentDocument maybe null.

View differences:

src/edu/ucsb/nceas/metacat/Eml210SAXHandler.java
467 467

  
468 468
            // Create the current node representation
469 469
            currentNode = new DBSAXNode(connection, qName, localName,
470
                    parentNode, currentDocument.getRootNodeID(), docid,
471
                    currentDocument.getDoctype());
470
                    parentNode, rootNode.getNodeID(), docid, doctype);
472 471
            // Use a local variable to store the element node id
473 472
            // If this element is a start point of subtree(section), it will be
474 473
            // stored

Also available in: Unified diff