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 "Sanka Samaranayake (JIRA)" <ji...@apache.org> on 2007/04/02 19:53:32 UTC

[jira] Resolved: (WSCOMMONS-178) Policy.serialize(XMLStreamWriter writer) has a bug in serializing.

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

Sanka Samaranayake resolved WSCOMMONS-178.
------------------------------------------

    Resolution: Fixed


Applied the patch with minor adjustments. (Committed revision 524854.)

Thanks Saminda

--Sanka

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