W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2002

W3C xml.xsd schema

From: zze-MARCHEGAY Michael stagiaire FTRD/DTL/LAN <michael.marchegay@rd.francetelecom.com>
Date: Fri, 26 Apr 2002 17:01:28 +0200
Message-ID: <0489A7888F080B4BA73B53F7E145F29A1B0AB6@LANMHS20.rd.francetelecom.fr>
To: <xmlschema-dev@w3.org>

I'm a newbie at XML Schema and I don't understand all the stuff about namespaces.

In the schema joined to this mail (a simplified version of http://www.w3.org/2001/xml.xsd),
are the attributes contained by specialAttrs referencing the one that are defined
in the same schema ?

If it is the case, why isn't there an xmlns:xml="http://www.w3.org/XML/1998/namespace" 
attribute for the schema ?

<?xml version='1.0'?>
<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">

 <xs:attribute name="lang" type="xs:language"/>

 <xs:attribute name="space" default="preserve">
   <xs:restriction base="xs:NCName">
    <xs:enumeration value="default"/>
    <xs:enumeration value="preserve"/>

 <xs:attribute name="base" type="xs:anyURI"/>

 <xs:attributeGroup name="specialAttrs">
  <xs:attribute ref="xml:base"/>
  <xs:attribute ref="xml:lang"/>
  <xs:attribute ref="xml:space"/>



MichaŽl Marchegay, Stagiaire France Telecom R&D du 11/02/2002 au 26/07/2002
Sous la responsabilitť d'Olivier Dubuisson
DTL/TAL - 22307 Lannion Cedex - France
Received on Friday, 26 April 2002 16:35:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:56 UTC