XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] Need to import the XML schema namespace

It says "the same as one of the following", not "the same as exactly one of
the following". I agree there's a minor ambiguity, but my view is that if
it's the same as two of the following, then it's inevitably the same as one
of them.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 
 

> -----Original Message-----
> From: Jeff Greif [mailto:jeff.greif@gmail.com] On Behalf Of Jeff Greif
> Sent: 06 May 2010 14:29
> To: Michael Kay
> Cc: 'Jeff Greif'; xml-dev@lists.xml.org
> Subject: Re: [xml-dev] Need to import the XML schema namespace
> 
> So since a namespace subject to 4.2 must satisfy exactly one 
> of 4.2.[1-4], the QName's namespace cannot both be the XML 
> Schema namespace and be specified in an <import>; therefore 
> <import> of the XML Schema namespace is not allowed.
> 
> Is this the intended resolution of the question?
> 
> Jeff
> 
> 
> 
> On 5/6/2010 2:10 AM, Michael Kay wrote:
> > 
> > Like many omissions in XSD 1.0, this one is tidied up in 
> XSD 1.1: see
> > 
> > http://www.w3.org/TR/xmlschema11-1/#src-resolve (clause 4.2.3)
> > 
> > You'll see that this clause is missing from XSD 1.0:
> > 
> > http://www.w3.org/TR/xmlschema-1/#src-resolve
> > 
> > which is a known bug.
> > 
> > Regards,
> > 
> > Michael Kay
> > http://www.saxonica.com/
> > http://twitter.com/michaelhkay
> > 
> >> -----Original Message-----
> >> From: Jeff Greif [mailto:jeff.greif@gmail.com] On Behalf Of Jeff 
> >> Greif
> >> Sent: 06 May 2010 04:48
> >> To: xml-dev@lists.xml.org
> >> Subject: [xml-dev] Need to import the XML schema namespace
> >>
> >> Most XML Schemas in the wild reference some of the types in the 
> >> http://www.w3.org/2001/XMLSchema namespace, but they usually do so 
> >> without explicitly importing it, so it apparently unnecessary in 
> >> practice, if not normatively.
> >>
> >> I can't find any reference in the XML Schema 1.0 spec that 
> says it is 
> >> either illegal or unnecessary to import this namespace, 
> for example, 
> >> using xs:import.  Similarly, I can't find any further 
> >> interoperability guidelines on this subject in the 
> WSI-Basic Profile 
> >> 1.0.
> >>
> >> Does anyone have a reference to a definitive statement of whether 
> >> this import is required, optional or forbidden in XML Schemas that 
> >> reference the data types of this namespace?
> >>
> >> Jeff
> >>
> >>
> >> ______________________________________________________________
> >> _________
> >>
> >> XML-DEV is a publicly archived, unmoderated list hosted by 
> OASIS to 
> >> support XML implementation and development. To minimize 
> spam in the 
> >> archives, you must subscribe before posting.
> >>
> >> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> >> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> >> subscribe: xml-dev-subscribe@lists.xml.org List archive: 
> >> http://lists.xml.org/archives/xml-dev/
> >> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
> >>
> > 
> > 
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS