"Jason E. Stewart" <[EMAIL PROTECTED]> writes:

> "Ryan Dewell" <[EMAIL PROTECTED]> writes:
> 
> > I'm using XML::Xerces v1.6 on Solaris 2.6.  I've found that when
> > calling "getChildNodes" on a TEXT_NODE, the array which is returned
> > contains a single, zero length string.  The more appropriate
> > behavior would be to return a zero element array, as text nodes do
> > not have children.

In XML::Xerces-1.7 I'm not able to reproduce this:

  DB<10> x $node_list[5]->getChildNodes->item(0)
0  XML::Xerces::DOM_Text=HASH(0x1060b060)
     empty hash
  DB<11> x $node_list[5]->getChildNodes->item(0)->getChildNodes
  empty array

It appears that the problem has been fixed in Xerces-C.
jas.

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

Reply via email to