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 2008/12/07 16:05:44 UTC

[jira] Resolved: (WSCOMMONS-237) Can't retrieve children from OMDocument

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

Andreas Veithen resolved WSCOMMONS-237.
---------------------------------------

    Resolution: Fixed
      Assignee: Andreas Veithen

> Can't retrieve children from OMDocument
> ---------------------------------------
>
>                 Key: WSCOMMONS-237
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-237
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>            Reporter: Saliya Ekanayake
>            Assignee: Andreas Veithen
>            Priority: Minor
>
> <!-- A comment -->
> <doc><e>element text here</e></doc>
> I've created a OMDocument given the above XML and the iterator I get when called getChildren() method contains only the comment. So I get the comment as the first child and when I call the nextOMSibling() method of it I get null. The same issue comes when I try to get children out of the following XML
> <?xml-stylesheet href="doc.xsl"
>    type="text/xsl"   ?>
> <doc>Hello, world!</doc>
> <?pi-without-data?>
> All I can get is the top most PI. I'm using the SNAPSHOT version of Axiom

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