Are you sure that Xindice is doing this with the DOCTYPE and not something else in your application?
All I need to reproduce is the base Xindice install. Now, this may in fact be a bug in code that you guys didn't write, but there's not an application involved. All I'm doing is:
1. Creating a document with a DOCTYPE like the one in my earlier message.
2. Using the Xindice command-line tools (xindice ad) to add to the repository.
3. Using the Xindice command-line tools (xindice rd) to extract from the repository.
4. Observing that my DOCTYPE declaration has been replaced by ~100k of comments from the DocBook DTD files.
I'm happy to provide the full "before" and "after" documents, if they'd be helpful.
Sixten
