[
Lists Home |
Date Index |
Thread Index
]
[Simon St.Laurent]
> On Thu, 2002-05-09 at 15:08, Rick Jelliffe wrote:
> > 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.
>
> Wow. Now that's a remarkably complicating (though admittedly brilliant)
> proposal. Uh.... I think I'd prefer a binary format to that. MOE can
> cope with such things easily, but I'm not sure XML itself can.
Try ASN.1.
Cheers,
Tom P
|