Project

General

Profile

« Previous | Next » 

Revision 2627

Added by Jing Tao over 18 years ago

fixe bug which currentDoc maybe null.

View differences:

DBSAXHandler.java
387 387
        }
388 388

  
389 389
        // Create the current node representation
390
        currentNode = new DBSAXNode(connection, qName, localName, parentNode,
391
                currentDocument.getRootNodeID(), docid, currentDocument
392
                        .getDoctype());
390
        currentNode = new DBSAXNode(connection, qName, localName,
391
                parentNode, rootNode.getNodeID(), docid, doctype);
393 392

  
394 393
        // Add all of the namespaces
395 394
        String prefix;

Also available in: Unified diff