You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2009/02/26 08:54:00 UTC

[jira] Updated: (SMXCOMP-464) avoid adding xmlns for each element when using prefixes

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

Freeman Fang updated SMXCOMP-464:
---------------------------------

    Fix Version/s:     (was: 3.2.4)

> avoid adding xmlns for each element when using prefixes
> -------------------------------------------------------
>
>                 Key: SMXCOMP-464
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-464
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: servicemix-cxf-bc-2009.01
>
>
> when the incoming message is
> {code}
> <soapenv:Body>
>                 <p:priceRQ xmlns:p="http://fusesource.com/pricinglab">
>                         <p:ticker>test</p:ticker>
>                         <p:date>2008-07-29</p:date>
>                 </p:priceRQ>
>         </soapenv:Body> 
> {code}
> then after cxf bc consumer transform, it become 
> {code}
> <soapenv:Body>
> <p:priceRQ xmlns:p="http://price.com/">
> 	<p:ticker xmlns:p="http://price.com/">test</p:ticker>
> 	<p:date xmlns:p="http://price.com/">2008-07-29</p:date>
> </p:priceRQ>
> </soapenv:Body>
> {code}
> the xmlns added for each element, though it's still valid but it enlarge the message size, we should avoid it. turn reparing flag to false can archieve it

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