Project

Profile

Help

Bug #2330

closed

Spurious validation error if an IDREF element is nilled

Added by Michael Kay over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Schema conformance
Sprint/Milestone:
Start date:
2015-03-19
Due date:
% Done:

100%

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

Description

If an element of type xs:IDREF is marked with xsi:nil="true", a spurious validation error occurs on the basis that there is no matching ID in the document.

According to the spec, the "actual value" of such an element is absent, so no entry should be made in the ID/IDREFS table, so no validation error occurs.

Test case added to QT3: fn-idref-32. Patched in the 9.6 and 9.7 branches.

Actions #1

Updated by O'Neil Delpratt over 7 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 9.6.0.5

Bug fix applied in the Saxon 9.6.0.5 maintenance release.

Actions #2

Updated by O'Neil Delpratt over 6 years ago

  • Sprint/Milestone set to 9.6.0.5
  • Applies to branch 9.6 added
  • Fix Committed on Branch 9.6 added
  • Fixed in Maintenance Release 9.6.0.5 added

Please register to edit this issue

Also available in: Atom PDF