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

> 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).

Michael Kay
Saxonica

Received on Friday, 23 March 2012 12:48:23 UTC