Re: IncludeXMLConsumer with RedundantNamespacesFilter does not output comments

2009-03-05 Thread Thorsten Scherler
On Wed, 2009-03-04 at 17:52 +0100, Andreas Hartmann wrote: Thorsten Scherler schrieb: On Fri, 2009-02-27 at 14:26 +0100, Andreas Hartmann wrote: StringXMLizable.toSAX() sets only the content handler of the SAX parser. Maybe it makes sense to set the lexical handler, if possible?

Re: IncludeXMLConsumer with RedundantNamespacesFilter does not output comments

2009-03-04 Thread Andreas Hartmann
Thorsten Scherler schrieb: On Fri, 2009-02-27 at 14:26 +0100, Andreas Hartmann wrote: StringXMLizable.toSAX() sets only the content handler of the SAX parser. Maybe it makes sense to set the lexical handler, if possible? public void toSAX(ContentHandler contentHandler) throws

Re: IncludeXMLConsumer with RedundantNamespacesFilter does not output comments

2009-03-02 Thread Thorsten Scherler
On Fri, 2009-02-27 at 14:26 +0100, Andreas Hartmann wrote: StringXMLizable.toSAX() sets only the content handler of the SAX parser. Maybe it makes sense to set the lexical handler, if possible? public void toSAX(ContentHandler contentHandler) throws SAXException { final

IncludeXMLConsumer with RedundantNamespacesFilter does not output comments

2009-02-27 Thread Thorsten Scherler
Hi all, I encountered a very weird problem that happened suddenly. I am using the dispatcherTransformer [1] and in the method structurerProcessingEnd() I am doing: ... StringXMLizable xml = new StringXMLizable(out.toString()); xml.toSAX(new IncludeXMLConsumer(super.xmlConsumer)); ... I as

Re: IncludeXMLConsumer with RedundantNamespacesFilter does not output comments

2009-02-27 Thread Thorsten Scherler
On Fri, 2009-02-27 at 10:09 +0100, Thorsten Scherler wrote: Hi all, I encountered a very weird problem that happened suddenly. ... You can test it by doing ... I opened an issue https://issues.apache.org/jira/browse/COCOON-2253 which contains a test class and instructions to use them.

Re: IncludeXMLConsumer with RedundantNamespacesFilter does not output comments

2009-02-27 Thread Andreas Hartmann
Hi Thorsten, Thorsten Scherler schrieb: On Fri, 2009-02-27 at 10:09 +0100, Thorsten Scherler wrote: Hi all, I encountered a very weird problem that happened suddenly. ... You can test it by doing ... I opened an issue https://issues.apache.org/jira/browse/COCOON-2253 which contains a test

Re: IncludeXMLConsumer with RedundantNamespacesFilter does not output comments

2009-02-27 Thread Andreas Hartmann
Andreas Hartmann schrieb: Hi Thorsten, Thorsten Scherler schrieb: On Fri, 2009-02-27 at 10:09 +0100, Thorsten Scherler wrote: Hi all, I encountered a very weird problem that happened suddenly. ... You can test it by doing ... I opened an issue

Re: IncludeXMLConsumer with RedundantNamespacesFilter does not output comments

2009-02-27 Thread Andreas Hartmann
Andreas Hartmann schrieb: Hi Thorsten, Thorsten Scherler schrieb: On Fri, 2009-02-27 at 10:09 +0100, Thorsten Scherler wrote: Hi all, I encountered a very weird problem that happened suddenly. ... You can test it by doing ... I opened an issue

Re: IncludeXMLConsumer with RedundantNamespacesFilter does not output comments

2009-02-27 Thread Thorsten Scherler
On Fri, 2009-02-27 at 14:18 +0100, Andreas Hartmann wrote: Hi Thorsten, Thorsten Scherler schrieb: On Fri, 2009-02-27 at 10:09 +0100, Thorsten Scherler wrote: Hi all, I encountered a very weird problem that happened suddenly. ... You can test it by doing ... I opened an