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] what is the difference between "xs" and "xsd" for XML sch

[ Lists Home | Date Index | Thread Index ]

Namespace prefixes make no difference, it's the namespace URI that counts.
So long as the URI is

http://www.w3.org/2001/XMLSchema

you can use any namespace prefix you like. As far as I can tell, "xs" and
"xsd" are equally popular. Perhaps "xsd" is used more in the Microsoft
community and "xs" in the rest of the world.

When I first came across this I thought that perhaps the convention was to
associate "xs" with the namespace quoted above, and "xsd" with
http://www.w3.org/2001/XMLSchema-datatypes. But this theory turned out to be
wrong. The XMLSchema-datatypes namespace is rarely used and is best avoided
because there are technical problems with it: it was supposed to be a
synonym of the XMLSchema namespace, but it turns out that it isn't an exact
synonym.

Michael Kay 

> -----Original Message-----
> From: Howard Dong [mailto:hdong@cogentsystems.com] 
> Sent: 12 February 2005 22:49
> To: xml-dev@lists.xml.org
> Subject: [xml-dev] what is the difference between "xs" and 
> "xsd" for XML schema?
> 
> when reading XML Schema Part 1: strcucture and XML Schema 
> Part 2: Datatypes Second Edition, I did not figure out the 
> difference between using "xs" and "xsd",
> thanks for your help.
> 
> --howard
> 
> 
> 
> --------------------------------
> Howard Dong
> Cogent Systems.
> Phone: (626)799-8090 ext 516
> Fax:  (626 )799 8996
> --------------------------------
> 
> 
> 
> -----------------------------------------------------------------
> 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://www.oasis-open.org/mlmanage/index.php>
> 
> 






 

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

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