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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Schema at XML namespace URI to change

[ Lists Home | Date Index | Thread Index ]
  • From: ht@cogsci.ed.ac.uk (Henry S. Thompson)
  • To: XML Developers List <xml-dev@xml.org>
  • Date: Sun, 22 Oct 2000 13:06:57 +0100

In accord with a decision of the XML Schema Working Group, I have just
changed the XML Schema document at
http://www.w3.org/XML/1998/namespace.xsd to one using the current XML
Schema syntax, that is, I have changed it from

<schema xmlns="http://www.w3.org/1999/XMLSchema" ...

to

<schema xmlns="http://www.w3.org/2000/10/XMLSchema" ...

A version using the old syntax has been placed at
http://www.w3.org/2000/04/xml.xsd, for importing by schema documents
still using the http://www.w3.org/1999/XMLSchema namespace and
corresponding syntax.

The schema document http://www.w3.org/1999/part2.xsd (<include>d by
http://www.w3.org/1999/XMLSchema.xsd) has accordingly been edited to
read

<import namespace="http://www.w3.org/XML/1998/namespace"
        schemaLocation="http://www.w3.org/2000/04/xml.xsd">

Bottom line:  if you're still working with XML Schema documents using
the http://www.w3.org/1999/XMLSchema namespace, _and_ you <import> the 
XML namespace (http://www.w3.org/XML/1998/namespace) directly, you
should change your <import> statements to read as above.  If you do
not use the XML namespace directly, but only indirectly via the schema 
for schemas at http://www.w3.org/1999/XMLSchema.xsd, you don't need to 
do anything.

This is part of a retrospective cleanup of location of schema
documents for well-known namespaces, trying to apply the following
policy:

  There will always be an up-to-date schema document at the namespace
  URI, which will change when XML Schema changes
  (e.g. http://www.w3.org/XML/1998/namespace);

  There will always be an _unchanging_ schema document at dated URL
  under www.w3.org (e.g. http://www.w3.org/2000/04/xml.xsd,
  http://www.w3.org/2000/10/xml.xsd)

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/




 

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

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