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