Re: Include xs:documentation in xs:assert examples

Original Message From: "C. M. Sperberg-McQueen"
>> 1.  ... could we include  xs:annotation elements in the xs:assert 
>> examples, e.g. do:...
>> I think this would be a good opportunity to show what looks like a  good 
>> best practice for defining xs:asserts.
>
> ...Feel free to open an issue on it
> in Bugzilla, for tracking;

Thanks Michael.  Submitted as 
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6911

>> 2. What's the prospect of having an <xs:doc> element defined which  is a 
>> short from of <xs:annotation><xs:documentation>?!  ...
>
> Slim, I fear.  Once we start fiddling with the XML transfer syntax,
> there is no obvious boundary to the process.  And the fact that
> an xs:doc element will be rejected by an XSD 1.0 processor ...

In this case an XSD 1.0 processor would blow-up on encountering the 
xs:assert.  But I take your point, any didn't really expect any traction on 
this.  Just wishful thinking on my part!

Thanks,

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using XML C++
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ for more info

Received on Friday, 15 May 2009 08:42:13 UTC