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

Philippe Mouawad reopened WSCOMMONS-327:
----------------------------------------


Hello again:
I submitted the patch on AXIS2.
As the https://issues.apache.org/jira/browse/AXIS2-3760 issue is a duplicate of 
this one, can you ensure my patch is taken into account ?

Philippe
www.ubik-ingenierie.com

> Namespace High verbosity combined with XMLBeans
> -----------------------------------------------
>
>                 Key: WSCOMMONS-327
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-327
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>         Environment: All
>            Reporter: Philippe Mouawad
>            Assignee: Andreas Veithen
>         Attachments: NamespaceBug.zip
>
>
> Serializing an XMLBeans generated Document with:
>               org.apache.axiom.om.impl.builder.StAXOMBuilder builder = new 
> org.apache.axiom.om.impl.builder.StAXOMBuilder(
>                               OMAbstractFactory.getOMFactory(),
>                               new 
> org.apache.axis2.util.StreamWrapper(document.newXMLStreamReader(xmlOptions)));
>               org.apache.axiom.om.OMElement documentElement = builder
>                               .getDocumentElement();
>                
> ((org.apache.axiom.om.impl.OMNodeEx)documentElement).setParent(null);
>               documentElement.serialize(System.out, new OMOutputFormat());
> Generated stream contains namespace redeclaration :
> <getLocatedProducts 
> xmlns="http://v1.product.ws.store.kingfisher.com";><param0><callType 
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</callType><familyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</familyCode><moduleCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</moduleCode><subFamilyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</subFamilyCode></param0><param0><callType
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</callType><familyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</familyCode><moduleCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</moduleCode><subFamilyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</subFamilyCode></param0><param0><callType
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</callType><familyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</familyCode><moduleCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</moduleCode><subFamilyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</subFamilyCode></param0><param0><callType
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</callType><familyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</familyCode><moduleCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</moduleCode><subFamilyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</subFamilyCode></param0><param0><callType
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</callType><familyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</familyCode><moduleCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</moduleCode><subFamilyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</subFamilyCode></param0><param0><callType
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</callType><familyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</familyCode><moduleCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</moduleCode><subFamilyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</subFamilyCode></param0><param0><callType
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</callType><familyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</familyCode><moduleCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</moduleCode><subFamilyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</subFamilyCode></param0><param0><callType
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</callType><familyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</familyCode><moduleCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</moduleCode><subFamilyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</subFamilyCode></param0><param0><callType
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</callType><familyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</familyCode><moduleCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</moduleCode><subFamilyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</subFamilyCode></param0><param0><callType
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</callType><familyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</familyCode><moduleCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</moduleCode><subFamilyCode
>  
> xmlns="http://data.v1.product.ws.store.kingfisher.com/xsd";>1</subFamilyCode></param0></getLocatedProducts>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to