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 "Andreas Veithen (JIRA)" <ji...@apache.org> on 2009/03/16 09:28:50 UTC

[jira] Created: (WSCOMMONS-453) OMSourcedElement is always expanded when getXMLStreamReader is used on one of its ancestors

OMSourcedElement is always expanded when getXMLStreamReader is used on one of its ancestors
-------------------------------------------------------------------------------------------

                 Key: WSCOMMONS-453
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-453
             Project: WS-Commons
          Issue Type: Bug
          Components: AXIOM
    Affects Versions: Axiom 1.2.8
            Reporter: Andreas Veithen
            Assignee: Andreas Veithen
            Priority: Minor
             Fix For: Axiom 1.2.9


Scenario: getXMLStreamReader is called on an OMElement that has an OMSourcedElement as one of its descendents.

Result: After the XMLStreamReader has been consumed, the OMSourcedElement is expanded, even if it is backed by a data source that supports non destructive reads.

When encountering an OMSourcedElement, StAXOMWrapper should insert the events from the XMLStreamReader produced by the OMDataSource instead of generating the events by traversing the OMSourcedElement (which results in its expansion). This is currently not implemented.


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


[jira] Updated: (WSCOMMONS-453) OMSourcedElement is always expanded when getXMLStreamReader is used on one of its ancestors

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated WSCOMMONS-453:
--------------------------------------

    Fix Version/s:     (was: Axiom 1.2.9)
                   Axiom 1.2.10

> OMSourcedElement is always expanded when getXMLStreamReader is used on one of its ancestors
> -------------------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-453
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-453
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>    Affects Versions: Axiom 1.2.8
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: Axiom 1.2.10
>
>
> Scenario: getXMLStreamReader is called on an OMElement that has an OMSourcedElement as one of its descendents.
> Result: After the XMLStreamReader has been consumed, the OMSourcedElement is expanded, even if it is backed by a data source that supports non destructive reads.
> When encountering an OMSourcedElement, StAXOMWrapper should insert the events from the XMLStreamReader produced by the OMDataSource instead of generating the events by traversing the OMSourcedElement (which results in its expansion). This is currently not implemented.

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