[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(Minor?) bugs



Hi!

1. In org.ozoneDB.xml.xpath.XalanXPathProcessor, the statement
"import org.xml.sax.SAXException"
is missing.

2. In org.ozoneDB.core.DbRemote.DbLocalClient.copyObject
(DbLocalClient.java:93),
change
"if (updateLinks)" to "if (updateLinks && in != null)"

3. Whenever I tried to append an XML subtree or a document to an
existing document
with org.ozoneDB.xml.util.XMLContainer.storeSAX(Node),
the following error message appeared:

java.lang.RuntimeException: given node must be of type
Node.DOCUMENT_NODE
        at
org.ozoneDB.xml.util.XMLContainerHelperImpl_Proxy.putChunk(XMLContainerHelperImpl_Proxy.java:222)
        at
org.ozoneDB.xml.util.XMLContainer.processChunk(XMLContainer.java:269)
        at
org.ozoneDB.xml.util.SAXChunkProducer.checkChunk(SAXChunkProducer.java,
Compiled Code)
        at
org.ozoneDB.xml.util.SAXChunkProducer.endDocument(SAXChunkProducer.java:573)
        at
org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1184)
        at
org.apache.xerces.framework.XMLParser.callEndDocument(XMLParser.java:1887)
        at
org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch(XMLDocumentScanner.java:1536)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
        at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1208)

Is this a bug in the new XML code?


Michael Keuchen