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 "Saminda Wishwajith Abeyruwan (JIRA)" <ji...@apache.org> on 2007/03/14 15:13:09 UTC
[jira] Created: (WSCOMMONS-178) Policy.serialize(XMLStreamWriter
writer) has a bug in serializing.
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
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
[jira] Resolved: (WSCOMMONS-178) Policy.serialize(XMLStreamWriter
writer) has a bug in serializing.
Posted by "Sanka Samaranayake (JIRA)" <ji...@apache.org>.
[ 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
[jira] Commented: (WSCOMMONS-178) Policy.serialize(XMLStreamWriter
writer) has a bug in serializing.
Posted by "Saminda Wishwajith Abeyruwan (JIRA)" <ji...@apache.org>.
[ 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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org
[jira] Updated: (WSCOMMONS-178) Policy.serialize(XMLStreamWriter
writer) has a bug in serializing.
Posted by "Saminda Wishwajith Abeyruwan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSCOMMONS-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Saminda Wishwajith Abeyruwan updated WSCOMMONS-178:
---------------------------------------------------
Attachment: diff.txt
> 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