You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2007/01/08 12:41:27 UTC

[jira] Resolved: (WSCOMMONS-144) Axiom having problem when serializing name spaces with null nameSpaceUri

     [ https://issues.apache.org/jira/browse/WSCOMMONS-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe resolved WSCOMMONS-144.
-----------------------------------------

    Resolution: Fixed

fixed in the current SVN

> 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org