[ http://issues.apache.org/jira/browse/TUSCANY-491?page=all ]
ant elder updated TUSCANY-491:
------------------------------
Fix Version/s: Cpp-current
> Incorrect namespaces support
> ----------------------------
>
> Key: TUSCANY-491
> URL: http://issues.apache.org/jira/browse/TUSCANY-491
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current
> Reporter: Andrew Borley
> Priority: Minor
> Fix For: Cpp-current
>
>
> A schema defined like the following means that rootElement has the namespace
> "http://www.apache.org/tuscany/interop", but stringData has no namespace.
> <schema xmlns="http://www.w3.org/2001/XMLSchema"
> targetNamespace="http://www.apache.org/tuscany/interop">
> <element name="rootElement">
> <complexType>
> <sequence>
> <element name="stringData" type="string"/>
> </sequence>
> </complexType>
> </element>
> </schema>
> So XML like the following is correct for this schema:
> <tns:rootElement xmlns:tns="http://www.apache.org/tuscany/interop">
> <stringData>Some string data</stringData>
> </tns:RootElement51>
> However, SDO produces XML like the following, with the use of the xmlns
> attribute meaning that stringData inherits the
> "http://www.apache.org/tuscany/interop" namespace from rootElement:
> <rootElement xmlns="http://www.apache.org/tuscany/interop">
> <stringData>Some string data</stringData>
> </rootElement>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]