Lists Home |
Date Index |
And that is one demonstration of the limits of XML as
a 'self-describing' format. In the long haul, schematization
in some form is required. Given the other benefits, there are
numerous 'advantages of XML' documents that should be ammended
to reflect this fact.
From: Derek Denny-Brown [mailto:firstname.lastname@example.org]
the only viable option is (2). And indeed, if you use the
XmlValidatingReader and have a DTD/XSD which identifies the content as
mixed, you will get back SignificantWhitespace, rather than just Whitespace.