Project

Profile

Help

Bug #1472

closed

Saxon says "cannot compare" (schema-aware mode) for an XPath expression

Added by Jakub Maly over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Schema-Aware processing
Sprint/Milestone:
-
Start date:
2012-04-07
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

I translated a schematron schema into an XSLT stylesheet. When I run it against an XML document with XSD schema attached, it gives the error "XPTY0004: Cannot compare".

The problem seems to be the expression "qualification/@open eq true()", but that seems right to me, since @open is defined in the schema to be a xs:boolean.


Files

TournamentsSchedule.xml (1.05 KB) TournamentsSchedule.xml Jakub Maly, 2012-04-07 17:45
TournamentsSchedule.xsd (1.48 KB) TournamentsSchedule.xsd Jakub Maly, 2012-04-07 17:45
TournamentsScheduleSA.xslt (9.43 KB) TournamentsScheduleSA.xslt Jakub Maly, 2012-04-07 17:45

Please register to edit this issue

Also available in: Atom PDF