Bug #4250
closedfn:idref() does not match element nodes in linked tree
100%
Description
If the linked tree model is used for schema-validated data including elements (not attributes) of type xs:IDREF, the fn:idref()
function fails to locate these elements.
QT3 tests in the fn-idref test set are failing when run with the option -tree:linked
Updated by Michael Kay almost 5 years ago
Also failing in 9.8. It seems surprising that running QT3 with -tree:linked -lang:XP31
is on the standard release checklist, but -tree:linked -lang:XQ31
isn't; and the relevant tests are all XQuery-only.
Updated by Michael Kay almost 5 years ago
With the linked tree we are also failing to recognize IDREF attributes in the edge case where the type of the attribute is a union including both IDREF and non-IDREF values; the spec says that in this case fn:idref() matches both IDREF and non-IDREF items in the typed value, provided that there is at least one IDREF value present. See test cases fn-idref-33 and fn-idref-34; W3C bug 28238.
Updated by Michael Kay almost 5 years ago
- Status changed from New to Resolved
- Fix Committed on Branch 9.9, trunk added
Patch committed for 9.9 and trunk.
Release checklist updated to include these extra tests.
Updated by O'Neil Delpratt over 4 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.9.1.5 added
Bug fix applied in the Saxon 9.9.1.5 maintenance release.
Please register to edit this issue