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

Re: (Minor?) bugs



Thanks for the patches, Michael.

On Tue, 31 Oct 2000, Michael Keuchen wrote:
> Hi!
> 
> 1. In org.ozoneDB.xml.xpath.XalanXPathProcessor, the statement
> "import org.xml.sax.SAXException"
> is missing.
done.

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

> 
> 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

Currently it's not possible to add nodes to an existing document via SAX. We
simple don't know how to find out if and when the SAX stream ends. That is, if
we store an entire document, then the stream ends when the document node is
closed. If you just add some nodes to an existing document, then after closing
one node another node may start. Therefore we allow storing of entire documents
only (via SAX). Does anybody know how to tackle this one?

Anyway, thanks again for the help, Michael.


Falko
-- 
______________________________________________________________________
Falko Braeutigam                              mailto:falko@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com