|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] newbie question: on attributes, facets, retrieving schema components
From: Etienne Robillard <granted14@yahoo.com>
Date: Wed, 1 Jun 2005 18:29:49 -0400 (EDT) Message-ID: <20050601222949.51654.qmail@web30204.mail.mud.yahoo.com> To: xmlschema-dev@w3.org 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.comReceived on Thursday, 2 June 2005 02:18:15 GMT |
Subscribe in XML format
|






