Jez Higgins

Freelance software grandad
software created
extended or repaired


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

Hire me
Contact

Older posts are available in the archive or through tags.

Feed

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 Mastodon
Applications, Libraries, Code
Talks & Presentations

Hire me
Contact

Older posts are available in the archive or through tags.

Feed