OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] PSVI formalization

[ Lists Home | Date Index | Thread Index ]

From: "Simon St.Laurent" <simonstl@simonstl.com>
 
> 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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS