From: Wolfgang M. M. <wol...@us...> - 2004-09-17 10:08:06
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/memtree In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18953/src/org/exist/memtree Modified Files: NodeImpl.java Log Message: Backup did not save XML comments. Changed Serializer.setContentHandler to Serializer.setSAXHandlers, so both, lexical and content handler, can be set. Added setLexicalHandler to EXistResource. Index: NodeImpl.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/memtree/NodeImpl.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** NodeImpl.java 12 Sep 2004 09:25:19 -0000 1.20 --- NodeImpl.java 17 Sep 2004 10:07:23 -0000 1.21 *************** *** 531,535 **** serializer.reset(); serializer.setProperty(Serializer.GENERATE_DOC_EVENTS, "false"); ! serializer.setContentHandler(handler); streamer = DOMStreamerPool.getInstance().borrowDOMStreamer(serializer); streamer.setContentHandler(handler); --- 531,535 ---- serializer.reset(); serializer.setProperty(Serializer.GENERATE_DOC_EVENTS, "false"); ! serializer.setSAXHandlers(handler, null); streamer = DOMStreamerPool.getInstance().borrowDOMStreamer(serializer); streamer.setContentHandler(handler); |