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: XSLT: Template priority

Latest commits sort xsl:templates by priority, which is jolly super really. One last little bit to do on that

It is an error if this leaves more than one matching template rule. An XSLT processor may signal the error; if it does not signal the error, it must recover by choosing, from amongst the matching template rules that are left, the one that occurs last in the stylesheet.
Not quite sure which tack to take yet. Signalling an error would be easier, but slower at stylesheet runtime. Doing the one that occurs last will be slightly more work, but more useful and slightly quicker when running the stylesheet. I'll see how the mood takes me, but Saxon, MS-XSLT and Xalan all recover. Saxon issues are warning too, so it's taking the runtime hit too.


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