> I believe the XPath data model (which XSLT also uses) explicitly ignores
> whitespace outside the root element, before or after.
In this case, I have another question, please keep in mind I'm new
to XML so if it's a stupid question, I apologize. Should the parser ignore
everything after the root element? What I mean is if I have a valid XML
file and I have junk after the root element is finished, should it throw a
"Comment expected error" as it does now, or should it just ignore the junk?
I currently have this problem and I'm trying to find the most efficient way
to make the parser stop at the end of the root element even if my buffer
contains erroneous data afterwards.
Matt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]