W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2003

is namespace prefix's name variable?

From: remko de knikker <remko.deknikker@yale.edu>
Date: Mon, 14 Jul 2003 10:32:30 -0400
To: xmlschema-dev <xmlschema-dev@w3.org>
Message-id: <3F12BEFE.7000009@yale.edu>
If I have a schema that defines

<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://biryani.med.yale.edu:8081/axis/services/GetXSLIM"
targetNamespace="http://biryani.med.yale.edu:8081/axis/services/GetXSLIM"
 >
<tns:element name="method2Request">

is a XML Document valid when a user changes the 'tns' to 'ns1' for 
instance, leaving the rest of the definitions intact?
In other words, is above equal to below??

<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns1="http://biryani.med.yale.edu:8081/axis/services/GetXSLIM"
targetNamespace="http://biryani.med.yale.edu:8081/axis/services/GetXSLIM"
 >
<ns1:element name="method2Request">
Received on Monday, 14 July 2003 10:29:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:39 GMT