I
indo3
Hello
Is it right that a XML document is only wellformed if all
entity references can be resolved in the document? this would
mean that Xerces needs to retrieve external DTD files
to get entity definitions. I always thought
that to check on wellformedness, no external files would
be needed. And IF the document is wellformed and you
retrieve a DOM tree, then Xerces has replaced already all
entities with the "replacing text" or how it is called.
Is Xerces required to do this during the wellformedness-checking as
requirement of the XML 1.0 specification or can this
feature be turned off so that the entities are somehow
encoded in the text nodes of the DOM tree? And if this is
possible, are there any specs which define such an encoding?
I have the expression "unparsed entity" in mind, and this should
need to be represented in a DOM tree somehow (maybe I confused
some terms now..).
THANKS
Is it right that a XML document is only wellformed if all
entity references can be resolved in the document? this would
mean that Xerces needs to retrieve external DTD files
to get entity definitions. I always thought
that to check on wellformedness, no external files would
be needed. And IF the document is wellformed and you
retrieve a DOM tree, then Xerces has replaced already all
entities with the "replacing text" or how it is called.
Is Xerces required to do this during the wellformedness-checking as
requirement of the XML 1.0 specification or can this
feature be turned off so that the entities are somehow
encoded in the text nodes of the DOM tree? And if this is
possible, are there any specs which define such an encoding?
I have the expression "unparsed entity" in mind, and this should
need to be represented in a DOM tree somehow (maybe I confused
some terms now..).
THANKS