You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2017/07/11 19:43:00 UTC
[jira] [Commented] (XERCESC-2096) getElementsByTagName returning
null
[ https://issues.apache.org/jira/browse/XERCESC-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16082842#comment-16082842 ]
Scott Cantor commented on XERCESC-2096:
---------------------------------------
Provide a sample program and XML demonstrating this and I'll take a closer look, but the chances of this not being a bug in your code are low.
> getElementsByTagName returning null
> -----------------------------------
>
> Key: XERCESC-2096
> URL: https://issues.apache.org/jira/browse/XERCESC-2096
> Project: Xerces-C++
> Issue Type: Bug
> Components: DOM
> Affects Versions: 3.1.1
> Environment: HP non stop
> Reporter: sivabalan mani
> Priority: Blocker
>
> Hi,
> I'm running a sample dom parser to print a xml by reading each node, element and child, the iteration failed when it reached 100th element
> <root>
> <test1 data =1>
> <a>aa</a>
> <b>bb</b>
> <c>cc</c>
> <d>dd</d>
> <e>ee</e>
> </test1>
> 98 times similar test nodes
> <test100 data=100>
> <a>aa</a>
> <b>bb</b> // when reading this tag using the getElementsByTagName the abstarctdom parser returns a NULL.
> <c>cc</c>
> <d>dd</d>
> <e>ee</e>
> </test100>
> </root>
> If this is not the right group please route it to appropriate group, This looks like a bug to me with abstractdom class, because the the code works when we have only 99 elements
> Thanks
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org