[ 
https://issues.apache.org/jira/browse/WSCOMMONS-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480784
 ] 

Saminda Wishwajith Abeyruwan commented on WSCOMMONS-178:
--------------------------------------------------------

Neethi project already uses Axiom, would't it safer to use Axiom to serialize 
the policy object instead of using Stax (writers) directly. As Axiom is well 
tested in many environments, would't this solve our problem. 

> Policy.serialize(XMLStreamWriter writer) has a bug in serializing.
> ------------------------------------------------------------------
>
>                 Key: WSCOMMONS-178
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-178
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: Policy
>         Environment: Any
>            Reporter: Saminda Wishwajith Abeyruwan
>            Priority: Blocker
>         Attachments: diff.txt
>
>
> public void serialize(XMLStreamWriter writer) throws XMLStreamException, does 
> not serialize the policy object properly when different Stax implementations 
> are used. I've tried to use Policy with Axis2 in Weblogic environment and it 
> did not serialize the policy object, where as stax-api and wstx-asl serialize 
> it properly. When i dig thorough, this misbehavior due to different 
> implementations of stax. Thus, in order to cope with both environments, I've 
> modified the serialize logic and attached the patch herewith. Please review 
> it and apply it. 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to