Project

General

Profile

« Previous | Next » 

Revision 2628

Added by Jing Tao about 19 years ago

Fixed bug which currentDocument may be null.

View differences:

src/edu/ucsb/nceas/metacat/Eml200SAXHandler.java
746 746
            //==================================================================
747 747
            // Create the current node representation
748 748
            currentNode = new DBSAXNode(connection, qName, localName,
749
                    parentNode, currentDocument.getRootNodeID(), docid,
750
                    currentDocument.getDoctype());
749
                    parentNode, rootNode.getNodeID(), docid,
750
                    doctype);
751 751
            // Use a local variable to store the element node id
752 752
            // If this element is a start point of subtree(section), it will be
753 753
            // stored

Also available in: Unified diff