document-order-expected.txt revision 5f90462bbf4efb0ac7bb65a852d5559d0ab30f0b
1PASS ancestor::* (context = attr1) 2PASS ancestor::* (context = GCHILD11) 3PASS ancestor::node() (context = attr1) 4PASS ancestor::node() (context = GCHILD11) 5PASS preceding::node() (context = attr4) 6PASS preceding::node() (context = CHILD2) 7PASS preceding::node() (context = GCHILD12) 8PASS following::node() (context = attr1) 9PASS following::node() (context = CHILD1) 10PASS following::node() (context = GCHILD11) 11PASS following::node() (context = CHILD2) 12PASS //CHILD | //@attr1 13PASS //CHILD | //@attr1 | //*[@name='GCHILD12'] | //@attr31 14PASS (//CHILD | //@attr1 | //*[@name='GCHILD12'] | //@attr31)[3] 15PASS (//CHILD | //@attr1 | //*[@name='GCHILD12'] | //@attr31)[position() = last()] 16PASS //CHILD[2]/GCHILD | //CHILD[1]/GCHILD 17PASS doc.evaluate("string(//*[@name='GCHILD12'] | //CHILD | //@attr1 | //@attr31)", doc, null, XPathResult.STRING_TYPE, null).stringValue is "TEXT1" 18PASS descendant::node() (context = attr1) 19PASS child::node() (context = attr1) 20PASS parent::node() (context = attr1) 21PASS following-sibling::node() (context = attr1) 22PASS preceding-sibling::node() (context = attr4) 23PASS attribute::node() (context = attr1) 24PASS self::node() (context = attr1) 25PASS self::* (context = attr1) 26PASS descendant-or-self::node() (context = attr1) 27PASS ancestor-or-self::node() (context = attr1) 28PASS successfullyParsed is true 29 30TEST COMPLETE 31 32