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

Re: using schemaLocation to point multiple same namespaceschem


Re:  using schemaLocation to point multiple same namespaceschem
Dare Obasanjo wrote:

> 
>I can't find any where in the W3C XML Schema recommendation where this
>is disallowed
>
It's allowed but...

> but I can understand why a schema validator would want to
>disallow that to reduce implementation complexity. Given that
>xsi:schemaLocation is considered to be a hint, implementations are given
>a lot of leeway in how they treat its contents if at all. 
>
>The Microsoft W3C XML Schema implementations pick the first schema they
>see and associate that with the namespace then ignores the other
>specified locations. 
>

The |xsi:schemaLocation also accepts pairs of URIs for authors that wish 
to provide references to Schema documents|. In each pair of URIs, the 
first is used as a namespace URI and the second as a location for the 
schema document. This is one of the three requierments at [1].

The sister attribute, |xsi:noNamespaceSchemaLocation, accepts only one 
URI as a hint to where the schema document may be located.|

So, this implementation is incorrect [2]?


XML Schema Part 1: Structures

4.3.2 How schema definitions are located on the Web
[12] http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#schema-loc

4.1 Layer 1: Summary of the Schema-validity Assessment Core
[2] http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#layer1

Manos


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.