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

"Pete Cordell" <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Message-ID <7CEEA31F93C04601BA3172173FA33D57@codalogic>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.