OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] using schemaLocation to point multiple same namespace sche

[ Lists Home | Date Index | Thread Index ]
  • To: "Emmanuil Batsis (Manos)" <mbatsis@humanmarkup.org>,<xml-dev@lists.xml.org>
  • Subject: RE: [xml-dev] using schemaLocation to point multiple same namespace schemas
  • From: "Dare Obasanjo" <dareo@microsoft.com>
  • Date: Wed, 4 Sep 2002 16:38:42 -0700
  • Thread-index: AcJUaulN49mMooorTGyTsLvV+BGvmQAAR4nw
  • Thread-topic: [xml-dev] using schemaLocation to point multiple same namespace schemas

 
I read the same part of the W3C XML Schema recommendation that you did.
How exactly is our implementation incorrect given the parts of the REC
you quoted? 

-- 
PITHY WORDS OF WISDOM 
In any contest between power and patience, bet on patience.      

This posting is provided "AS IS" with no warranties, and confers no
rights. 

 
-----Original Message-----
From: Emmanuil Batsis (Manos) [mailto:mbatsis@humanmarkup.org] 
Sent: Wednesday, September 04, 2002 4:23 PM
To: Dare Obasanjo; xml-dev@lists.xml.org

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


-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS