Project

Profile

Help

Bug #4250

closed

fn:idref() does not match element nodes in linked tree

Added by Michael Kay almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XPath conformance
Sprint/Milestone:
-
Start date:
2019-07-11
Due date:
% Done:

100%

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

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

Actions #1

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.

Actions #2

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.

Actions #3

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.

Actions #4

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

Also available in: Atom PDF