axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fernando Cesar Silva" <fsi...@synchro.com.br>
Subject AXIOM Issue 28
Date Fri, 04 Feb 2011 18:30:47 GMT
Hi,

 

There is an issue about Axiom, AXIOM-28, that is assigned for Andreas
Veithen.

I saw that this bug will be fixed just on Axiom 1.2.12. Is that correct?

I’m experiencing some problems when I try to use the method,
“AXIOMUtil.stringToOM(SomeString)”, to convert a XML content to a OMElement,
the method “stringToOM” removes some namespaces.

For example:

 

<outerTag xmlns=" <http://someNamespace> http://someNamespace"> 
    <innerTag xmlns=" <http://someNamespace> http://someNamespace"> 
        <node1>Hello</node1> 
        <node2>Hello</node2> 
    </innerTag> 
</outerTag>

 

After to execute the method “stringToOM”, the result is:

 

<outerTag xmlns=" <http://someNamespace> http://someNamespace"> 
    <innerTag> 
        <node1>Hello</node1> 
        <node2>Hello</node2> 
    </innerTag> 
</outerTag>

 

The namespace is removed from the “innerTag”, and I need a namespace on both
tags.

I would like to know if there is any workaround for this problem.

 

Thanks!

 

 <mailto:fsilva@synchro.com.br> Fernando Cesar da Silva | developer | Phone:
+55 19 3794 1608 x.1674

 <http://www.synchro.com.br/> Synchro Solução Fiscal – 17 anos | SPED | NFe
| CTe | MCe

 


Mime
View raw message