[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: assigning semantics to XML, Re: Re: URIs, concre

  • To: "W. E. Perry" <wperry@f...>
  • Subject: Re: assigning semantics to XML, Re: Re: URIs, concrete (was Re: Un-ask the question)
  • From: jborden@a...
  • Date: Mon, 29 Jul 2002 19:58:18 +0000
  • Cc: XML DEV <xml-dev@l...>

xml schema attribute depending on

To clarify,

> 
> One may assign a different range of interpretations to a given namespace 
> qualified element with an attribute depending on whether the attribute is:
> 
> a) not qualified (no prefix)
> b) qualified with the namespace name of the element
> c) qualified with any other individual namespace name
> 
> This does not mean that one is _required_ to assign _a different_ interpretation 
> to each of the above cases, rather it means that one _is not required_ to assign 
> _the same_ interpretation to each of the above cases. The distinction is 
> important.
> 

The above assumes the attribute has a constant value. Obviously if one changes the value of an attribute, then one _might_ have a different range of interpretations for each value.

Consider, however, the semantics assigned by XML Schema datatypes. Assuming the following

<foo:bar baz="10" />
<foo:bar baz="010" />

and given the type:

element foo:bar {
 attribute baz{xsd:integer}
}

This constrains the range of interpretations given both the element with baz="10" and baz="010" to be the same (I am not constraining the range of interpretations, rather saying that both must have the same range.)

Jonathan

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2013 All Rights Reserved.