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 "sivabalan mani (JIRA)" <xe...@xml.apache.org> on 2017/06/02 04:46:04 UTC

[jira] [Created] (XERCESC-2096) getElementsByTagName returning null

sivabalan mani created XERCESC-2096:
---------------------------------------

             Summary: getElementsByTagName returning null
                 Key: XERCESC-2096
                 URL: https://issues.apache.org/jira/browse/XERCESC-2096
             Project: Xerces-C++
          Issue Type: Bug
    Affects Versions: 3.1.1
         Environment: HP non stop
            Reporter: sivabalan mani


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.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org