At 04:07 PM 4/9/02 +0000, Murray Altheim wrote:
Now, the prolog is not considered part of the document instance,
which is what most people call a "document." It declares information
necessary to process the instance, but its content is not part of
the instance.

Here's something I guess I should clarify for myself, so I know whether my expectations are unreasonable from the get-go. If the prolog (and thus the DOCTYPE declaration) is not considered part of the instance, does that make it valid behavior for the parse-and-save to strip it out when I add the document to the Xindice repository?


That is, is this one big bug (DOCTYPE replaced by the comments), or a bug and a misunderstanding (incorrectly inserts comments, but correctly removes DOCTYPE)? If I were to rebuild Xindice with a custom subclass of XmlSerializer, as you suggest, would I still find that the prolog goes away?

(Yeah, that's probably a pretty rank newbie question. :-(   )

Sixten



Reply via email to