axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "St-Germain, Sylvain" <Sylvain.StGerm...@cognos.com>
Subject namespace prefixing question...
Date Mon, 29 Apr 2002 15:05:53 GMT
Hi all, 

I am a bit confused, until recently (early April, end of March) Axis was
serializing types without "namespace-prefixing" the child nodes of a
type-qualified node.  

For example the following chunk was valid: 

<objects xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="ns1:baseClass[1]">
    <item xsi:type="ns1:folder">
        <name xsi:nil="true"/>
        <version xsi:nil="true"/>
    </item>
</objects>

The "name" and "version" elements were not namespace qualified, this has now
been changed in Axis, the same chunk is not carried over as:

<objects xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="ns1:baseClass[1]">
    <item xsi:type="ns1:folder">
        <ns1:name xsi:nil="true"/>
        <ns1:version xsi:nil="true"/>
    </item>
</objects>
 
...where the child of item are now prefixed.   Is the old one still valid in
SOAP term? Should everything be namespace qualified?  Anybody can tell me
where the rule is defined?  Any information much appreciated.

Thanks.
--
Sylvain 

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

Mime
View raw message