serialize_subtree fails serializing namespaces in special occassions when
libxml2 is used as the parser
-------------------------------------------------------------------------------------------------------
Key: AXIS2C-1307
URL: https://issues.apache.org/jira/browse/AXIS2C-1307
Project: Axis2-C
Issue Type: Bug
Components: xml/om
Environment: Linux + windows
Reporter: Dimuthu Gamage
Assignee: Dimuthu Gamage
Falils in serializing loginOp in the following xml
<v:Envelope
xmlns:i="http://www.w3.org/1999/XMLSchema-instance"
xmlns:d="http://www.w3.org/1999/XMLSchema"
xmlns:c="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:v="http://schemas.xmlsoap.org/soap/envelope/">
<v:Header />
<v:Body>
<n0:loginOp id="o0" c:root="1"
xmlns:n0="http://ws.apache.org/axis2/php/math">
<username i:type="d:string">wfg</username>
<password i:type="d:string">Ert</password>
</n0:loginOp>
</v:Body>
</v:Envelope>
It gives
<n0:loginOp c:root="1" id="o0" xmlns:n0="http://ws.apache.org/axis2/php/math"
xmlns:c="http://schemas.xmlsoap.org/soap/encoding/">
<username i:type="d:string"
xmlns:i="http://www.w3.org/1999/XMLSchema-instance">wfg</username>
<password i:type="d:string">Ert</password>
</n0:loginOp>
Note that 'password' element i:type attribute doesn't have a namespace
declared..
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]