Murray Altheim wrote:

> The more I think about this it seems the serializer is at fault, and
> I've for my own project written my own XML serializer because I had
> so many problems with Xerces' one, which is probably why I've not
> run into this problem (and I use DocBook). I'll bet the Apache XML
> serializer is passing on the comments it finds in the DTD into the
> writer used.
> 
> What you could do is subclass the 
> org.apache.xml.serialize.XmlSerializer
> and kill its ability to write comments. Or report this bug to the
> Xerces 2 team, which have been pretty responsive in the past when
> told about these things.

Thanks for the analysis, Mr Grease Monkey ;-)

Makes sense to me.

Bug posted, we'll see what happens...

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7878

</Steven>

Reply via email to