haysclark / as3-xpath

1 stars 0 forks source link

only selects one item when they are identical #7

Closed haysclark closed 10 years ago

haysclark commented 10 years ago

From peterj...@gmail.com on July 18, 2007 17:52:34

Reported by Ivan Erickson ( http://groups.google.com/group/xpath-as3/browse_thread/thread/5d0a4bd7f2f178d6?hl=en-GB )

var tree3:XML = <X attr="test">; xpath = new XPathQuery("//X[@attr='test']/InnerX"); result = xpath.exec(tree3); trace("result.length: "+result.length()); for(i = 0; i < result.length(); i++) trace("result: "+result[i].toXMLString());

The result set is only one item, not two as you would expect. If one "InnerX" node is renamed, it will correctly return length() of two.

Original issue: http://code.google.com/p/xpath-as3/issues/detail?id=7

haysclark commented 10 years ago

From peterj...@gmail.com on July 18, 2007 18:30:00

Should be fixed now

Status: Fixed

haysclark commented 10 years ago

From peterj...@gmail.com on April 14, 2009 00:10:29

Verifying old bug fixes

Status: Verified