W3C home > Mailing lists > Public > xml-dist-app@w3.org > March 2001

redeclaring xmlns:xsi

From: <Ext-Shaun.OHagan@nokia.com>
Date: Thu, 8 Mar 2001 12:06:41 +0200
Message-ID: <FFD4860870E0D2119F8C0008C7894980066362B2@caeis01nok.europe.nokia.com>
To: xml-dist-app@w3.org
Hello,

I've just joined this list and hope that this question is suitable.

My question relates to the declaration of
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" in multiple points in
an XML document.  Consider one of our SOAP messages bellow.
Our SOAP engine is an XML processor.  In order to support different formats
of SOAP we apply XSL via Oracle XSLT to transform the XML.  Considering the
declaration of the
<attributelistns:AttributeList> element we have noticed is that the
resultant XML redefines the xsi namespace.  This appears to be benign but is
it storing up problems for the future ?

Thanks

Regards,

Shaun O'Hagan

<SOAP-ENV:Envelope
          xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
          xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
          xmlns:xsd="http://www.w3.org/1999/XMLSchema"
          xmlns:ais="urn:application-interface-service#version-1.0"
          SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
>
	<SOAP-ENV:Header>
		<t:UserAuthorisationToken
xmlns:t="urn:application-interface-token">?</t:UserAuthorisationToken>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<m:GetDataObjectResponse
xmlns:m="urn:application-interface-service">
		<ApplicationTransactionIdentity
xsi:type="xsd:string">MAPINFO2000060686400998877665544332212</ApplicationTra
nsactionIdentity>
		<DataSpace xsi:type="xsd:string">Subscriber</DataSpace>
		<DataObject xsi:type="xsd:string">Name</DataObject>
		<attriblistns:AttributeList 
	
xmlns:attriblistns="urn:application-interface-service#AttributeListSpace"
	
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
			xsi:type="attriblistns:AttributeList"
		>		
			<Title xsi:type="xsd:string">Mr</Title>
			<FirstName xsi:type="xsd:string">Shaun</FirstName>
			<MiddleName xsi:type="xsd:string">?</MiddleName>
			<LastName xsi:type="xsd:string">OHagan</LastName>

		</attriblistns:AttributeList>
		</m:GetDataObjectResponse>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Received on Thursday, 8 March 2001 05:06:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:58 GMT