Axiom having problem when serializing name spaces with null nameSpaceUri
------------------------------------------------------------------------
Key: WSCOMMONS-144
URL: https://issues.apache.org/jira/browse/WSCOMMONS-144
Project: WS-Commons
Issue Type: Bug
Components: AXIOM
Reporter: Deepal Jayasinghe
Priority: Blocker
As I can see its a problem in OMSerializerUtil , changing serializeStartpart
method will solve the issue.
if (writePrefixList != null) {
for (int i=0; i<writePrefixList.size(); i++) {
String prefix = (String) writePrefixList.get(i);
String namespace = (String) writeNSList.get(i);
if (prefix != null) {
if(namespace==null){
writer.writeNamespace(prefix, "");
} else{
writer.writeNamespace(prefix, namespace);
}
} else {
writer.writeDefaultNamespace(namespace);
}
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://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]