
13 Jul
2007
13 Jul
'07
3:04 p.m.
The third isn't valid - the xml declaration cannot contain comments - and whether they represent the same data is a matter of interpretation. If your document type says that article_info can only contain elements, then yes. But you have no document type declaration, so the processor doesn't actually know it, and must preserve the character data. The character data here is just whitespace, but it differs between the three documents.
Sebastian Redl _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
http://www.w3.org/TR/REC-xml/#sec-prolog-dtd Am I misinterpreting this section? It looks like it allows comments in the header