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

Rich Scheuerle updated WSCOMMONS-159:
-------------------------------------

    Attachment: patch.txt

Here is the patch containing the change to OMSourcedElementImpl and some new 
validating tests.

I will commit this change after I run the axis2 tests

> OMSourcedElementImpl serialize() violates OMNode.serialize() 
> -------------------------------------------------------------
>
>                 Key: WSCOMMONS-159
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-159
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>            Reporter: Rich Scheuerle
>         Assigned To: Rich Scheuerle
>         Attachments: patch.txt
>
>
> The OMNode serialize method indicates that the OM is cached.
>       /**
>        * Serializes the node with caching.
>        * 
>        * @param xmlWriter
>        * @throws XMLStreamException
>        */
>       public void serialize(XMLStreamWriter xmlWriter) throws 
> XMLStreamException;
> But OMSourcedElementImpl consumes the message.   This results in errors when 
> an OM tree contains a mixture of normal nodes and OMSourcedElements.  
> The solution is to change OMSourcedElement to respect the OMNode "serialize" 
> contracts.
> I am working on a patch containing the corrected code and validation tests.

-- 
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