W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2012

Re: If attribute default present, 'use' must be optional

From: Pete Cordell <petexmldev@codalogic.com>
Date: Fri, 23 Mar 2012 14:01:27 -0000
Message-ID: <7CEEA31F93C04601BA3172173FA33D57@codalogic>
To: "Michael Kay" <mike@saxonica.com>
Cc: <xmlschema-dev@w3.org>
Original Message From: "Michael Kay" >
>> Do you mean that XSD only specifies semantics for parsing XML documents, 
>> not
>> actually generating them?
>>
>>
> Sure. Schemas are used for all kinds of things like data binding and 
> syntax-directed editing that aren't defined in the XSD spec; the only 
> application of an XML schema that's defined in the spec is instance 
> "validation" (which of course includes annotation/augmentation of the 
> instance as well as verification).

Hum.  Can't help thinking that defaultness and cardinalitiness are fairly 
orthogonal concepts.  Are pattern facets prevented if enumeration facets are 
present?

I guess one persons paternalness is another persons meddlesomeness.

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using C++ XML
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info
Received on Friday, 23 March 2012 14:00:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 23 March 2012 14:00:03 GMT