Are you sure that Xindice is doing this with the DOCTYPE and not something else in your application? We've never really claimed that Xindice handled DTDs at all, what support we do have is simply a side effect of using Xerces as a parser. Once the document is parsed though, the DTD should be gone and definitely shouldn't be preserved inline in the document unless this is a really weird bug.

On Monday, April 8, 2002, at 02:34 PM, Sixten Otto wrote:

At 04:21 PM 4/8/02 -0500, Steven Noels wrote:
For some thing or another, comments included in externally defined
parameter entities are reported in unobvious locations...

Interesting. I went back and looked at the result document again, and it seems that this is also true in my case. The DOCTYPE element is being replaced, not with the entire DTD, but with comments that seem to be extracted from the DTD. (I'm not sure if they all come from parameter entities, as in Steven's case -- I don't have the DocBook DTD to hand -- but they are clearly coming from that set of files.)


Sixten


Kimbro Staken
Java and XML Software, Consulting and Writing http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org



Reply via email to