Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: Whitespace normalization for union types >Thread Next - Re: newbie question: on attributes, facets, retrieving schema components newbie question: on attributes, facets, retrieving schema componentsTo: xmlschema-dev@--.--- Date: 6/1/2005 2:30:00 PM Hello, My first problem surrounds understanding the term "facet" [Fundamental facet, Non-fundamental, Constraining, etc]. My other problem is to understand attributes, versus the concept of a facet. How theses two identities affects each others? The specs says: "A facet is a single defining aspect of a ·value space·. Generally speaking, each facet characterizes a ·value space· along independent axes or dimensions." [Section 2.4, Facets. http://www.w3.org/TR/xmlschema-2/#facets] On facets, attributes and "ref" or "name" usage: Most likely the specifications forbids: <complexType> ... <!-- not a facet --> <attribute ref="foo:bar" /> ... </complexType> In return this might validate: <complexType> ... <!-- a facet --> <attribute name="bar" use="required" /> ... </complexType> Regards, Etienne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From K.Buchcik@4... Thu Jun 02 10:55:07 2005 Received: from lisa.w3.org | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
