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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to