Jez Higgins

Freelance software generalist
software created
extended or repaired


Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About

Wednesday 14 June 2006 Arabica: XPath Evaluation bug

For the document
  <doc>
    <p>
      <ftr>footer 1</ftr>
    </p>
    <p>
      <ftr>footer 2</ftr>
    </p>
  </doc>
XPathExpectedArabica behaviour
//ftrSelect both ftr elementsCorrect
//ftr[1]Select both ftr elementsWrong - selects nothing
//ftr[2]Select nothingCorrect - but for the wrong reasons
XPath ExpressionExpectedArabica behaviour
(//ftr)[1]Select first ftr elementCorrect
(//ftr)[2]Select second ftr elementCorrect

Tagged code, arabica, xml, and c++


Jez Higgins

Freelance software generalist
software created
extended or repaired

Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About