Jez Higgins

Freelance software grandad
software created
extended or repaired


Follow me on Twitter
Applications, Libraries, Code
Talks & Presentations

Hire me
Contact

Older posts are available in the archive or through tags.

Feed

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 grandad
software created
extended or repaired

Follow me on Twitter
Applications, Libraries, Code
Talks & Presentations

Hire me
Contact

Older posts are available in the archive or through tags.

Feed