[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
facets in schema

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 
Received on Thursday, 2 June 2005 02:18:15 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.