You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "manoj pushpakumara (JIRA)" <ji...@apache.org> on 2007/12/11 10:35:43 UTC
[jira] Created: (AXIS2C-827) axiom_node_get_next_sibling is not
working correctly
axiom_node_get_next_sibling is not working correctly
-----------------------------------------------------
Key: AXIS2C-827
URL: https://issues.apache.org/jira/browse/AXIS2C-827
Project: Axis2-C
Issue Type: Bug
Components: xml/om
Reporter: manoj pushpakumara
Fix For: Current (Nightly)
I have tried to get the next sibling from the first child. But when I call axiom_node_get_next_sibiling it gave the same value as first child. And also when I call the second time the same method it gave the next sibling.
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Resolved: (AXIS2C-827) axiom_node_get_next_sibling is not
working correctly
Posted by "Senaka Fernando (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Senaka Fernando resolved AXIS2C-827.
------------------------------------
Resolution: Invalid
Assignee: Senaka Fernando
Hi Manoj,
I see this is a libxml2 issue. The axiom_node_get_next_sibling method is working perfectly well. The scenario is that libxml2 adds an additional node when you have whitespace between two nodes. Whereas Guththila doesn't do it. Therefore, I have raised another issue against this. I'm resolving this issue as this doesn't seem to be the real cause.
Regards,
Senaka
> axiom_node_get_next_sibling is not working correctly
> -----------------------------------------------------
>
> Key: AXIS2C-827
> URL: https://issues.apache.org/jira/browse/AXIS2C-827
> Project: Axis2-C
> Issue Type: Bug
> Components: xml/om
> Affects Versions: Current (Nightly)
> Reporter: Manoj Pushpakumara
> Assignee: Senaka Fernando
> Attachments: test.xml
>
>
> I have tried to get the next sibling from the first child. But when I call axiom_node_get_next_sibiling it gave the same value as first child. And also when I call the second time the same method it gave the next sibling.
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Updated: (AXIS2C-827) axiom_node_get_next_sibling is not
working correctly
Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Samisa Abeysinghe updated AXIS2C-827:
-------------------------------------
Fix Version/s: (was: Current (Nightly))
Affects Version/s: Current (Nightly)
> axiom_node_get_next_sibling is not working correctly
> -----------------------------------------------------
>
> Key: AXIS2C-827
> URL: https://issues.apache.org/jira/browse/AXIS2C-827
> Project: Axis2-C
> Issue Type: Bug
> Components: xml/om
> Affects Versions: Current (Nightly)
> Reporter: manoj pushpakumara
>
> I have tried to get the next sibling from the first child. But when I call axiom_node_get_next_sibiling it gave the same value as first child. And also when I call the second time the same method it gave the next sibling.
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Updated: (AXIS2C-827) axiom_node_get_next_sibling is not
working correctly
Posted by "Manoj Pushpakumara (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manoj Pushpakumara updated AXIS2C-827:
--------------------------------------
Attachment: test.xml
Dear dinesh
Underlying parser is DOM parser and I've attached the xml payload with this.
> axiom_node_get_next_sibling is not working correctly
> -----------------------------------------------------
>
> Key: AXIS2C-827
> URL: https://issues.apache.org/jira/browse/AXIS2C-827
> Project: Axis2-C
> Issue Type: Bug
> Components: xml/om
> Affects Versions: Current (Nightly)
> Reporter: Manoj Pushpakumara
> Attachments: test.xml
>
>
> I have tried to get the next sibling from the first child. But when I call axiom_node_get_next_sibiling it gave the same value as first child. And also when I call the second time the same method it gave the next sibling.
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Commented: (AXIS2C-827) axiom_node_get_next_sibling is not
working correctly
Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561082#action_12561082 ]
Dinesh Premalal commented on AXIS2C-827:
----------------------------------------
Manoj,
Could you please attach the xml payload that you trying to parse? What is your underlying parser?
> axiom_node_get_next_sibling is not working correctly
> -----------------------------------------------------
>
> Key: AXIS2C-827
> URL: https://issues.apache.org/jira/browse/AXIS2C-827
> Project: Axis2-C
> Issue Type: Bug
> Components: xml/om
> Affects Versions: Current (Nightly)
> Reporter: Manoj Pushpakumara
>
> I have tried to get the next sibling from the first child. But when I call axiom_node_get_next_sibiling it gave the same value as first child. And also when I call the second time the same method it gave the next sibling.
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org