[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: PSVI formalization
From: "Simon St.Laurent" <simonstl@s...> > The more or less complete difficulty of > representing the PSVI directly in XML suggests that there are some > genuine efficiency issues to consider - whatever direction you may > choose to follow them. I suspect that almost all that is needed to represent the PSVI modestly is something like <a b="c">zzzz</a> becomes <a psvi:type="something" psvi:validation-attempted="full" psvi-valid="true" > <psvi:attribute name="b" psvi:type="someothertype" >c</psvi:attribute >zzzz</a> In other words, the problem for a PSVI-in-XML is that attributes are atomic. Rather than doing fancy naming tricks, it would be easier to allow structured attributes, as part of XML 2.0, with the semantic that in the XML infoset, those elements are attributes, just as a namespace attribute in a document is not an attribute in the namespace and an encoding PI is not a PI in the infoset and an xslt:attribute element generates an attribute in its output. Cheer Rick Jelliffe
|
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
|