You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Bruno Dumon <br...@outerthought.org> on 2003/04/30 17:30:16 UTC

[PATCH] excalibur xmlutils JaxpParser patch

Hi,

attached you'll find a patch for xmlutil's JaxpParser class. It
addresses a "bug" in Cocoon:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17763

The problem is that a SAX parser produces comment() events for comments
occuring in the (external) DTD. As a result, if these events are
serialized again, there'll be a whole bunch of meaningless comments in
the resulting document. The attached patch will drop these comments
right after parsing.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org

Re: [PATCH] excalibur xmlutils JaxpParser patch

Posted by Bruno Dumon <br...@outerthought.org>.
please ignore for now, we're still discussing this on cocoon-dev.

On Wed, 2003-04-30 at 17:30, Bruno Dumon wrote:
> Hi,
> 
> attached you'll find a patch for xmlutil's JaxpParser class. It
> addresses a "bug" in Cocoon:
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17763
> 
> The problem is that a SAX parser produces comment() events for comments
> occuring in the (external) DTD. As a result, if these events are
> serialized again, there'll be a whole bunch of meaningless comments in
> the resulting document. The attached patch will drop these comments
> right after parsing.
-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org