Is there an example XML document that uses every feature of XML for testing?
Does anyone know where I can get a canonical XML document that uses every feature of the XML 1.0 specifica开发者_JS百科tion that aren't mutually exclusive?
Not including various encoding flavors.
If I can get a single document encoded in UTF-8 that would be fine.
It is not possible for one single document to use every feature: for example if a document uses UTF-16 encoding then it cannot also use UTF-8 encoding.
The W3C XML 1.0 Conformance Test Suite can be downloaded from http://www.w3.org/XML/Test/
精彩评论