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

Re: URIs and information typing

  • From: Eric van der Vlist <vdv@d...>
  • To: Jonathan Borden <jborden@m...>
  • Date: Thu, 08 Mar 2001 05:24:31 +0100

Re: URIs and information typing
Jonathan Borden wrote:
> 
> right, so: "xsd:unsignedInt" is just shorthand for
> http://www.w3.org/2000/10/XMLSchema#unsignedInt -- which is references a
> location in the XML Schema schema <simpleType id="unsignedInt">... ?

If I am not mistaken, the association is done though the id attribute
that has been added to the simpleType element in order to make sure that
the fragment id "http://www.w3.org/2000/10/XMLSchema#unsignedInt" points
to the corresponding element of the schema.

This is working fine with schemas having a stable location that is
pointed by this namespace and which element names are duplicated by
their ids,  such as http://www.w3.org/2000/10/XMLSchema, however, the
fragment identifier "http://example.com/ns/example#mytype" would not
point to the definition of "myns:mytype" if the schema location was
anything else than "http://example.com/ns/example" or if the id of the
simpleType element wouldn't match its id.

I wonder, though, if it's "safe" to use a URI to identify a datatype
when there is no guarantee of any kind that this URI hasn't another
"meaning" and if it is legitimate for a specification to affect a
meaning like this using the namespace URI that hasn't been defined for
this purpose.

I could have decided to use "http://example.com/ns/example#mytype" to
identity anything else before defining the W3C XML Schema in which case
there would be names collision...

Eric

> -Jonathan
> 
-- 
See you in Austin (Knowledge Technologies 2001)
              http://www.gca.org/attend/2001_conferences/kt_2001/mon.htm
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
------------------------------------------------------------------------

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.