[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] version numbers and infosets
The alert reader will have noticed an inconsistency, or at least a tension, between my last two articles. In one I suggested that a given document should have a single infoset. In the other I suggested - in line with the current XML 1.0 spec - that an XML 1.0 parser would accept XML 1.1 documents that were well-formed XML 1.0 apart from the version number. But of course an XML 1.0-only parser cannot generate the correct infoset for all such documents, because of the changed whitespace rules. And it may generate an infoset for a document that doesn't have one if XML 1.1 is not a superset of 1.0 (eg if it makes unnormalized unicode a well-formedness error). This might be taken as an argument for requiring 1.0 parsers to reject 1.1 documents. -- Richard
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|