Project

Profile

Help

Bug #2515

closed

-1 value for both line and position values in schema errors

Added by O'Neil Delpratt over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Schema-Aware processing
Sprint/Milestone:
-
Start date:
2015-12-01
Due date:
% Done:

100%

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

Description

Reported by user:

Error’s both line and position have now “-1” values instead of their real values.

Attached LineAndPosition.zip file has this test case. The correct values where reported in 9.6

Actions #1

Updated by Yitzhak Khabinsky over 8 years ago

My observation is that both line and column are missing, i.e. not intercepted, for the error events produced by the XSD 1.1 asserts. That's why artificial "-1" values are produced.

Actions #2

Updated by O'Neil Delpratt over 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Bug fixed and committed to subversion available for the next maintenance release. Location stack has been added to the ValidationStack available for assertions when reporting errors.

Actions #3

Updated by O'Neil Delpratt over 8 years ago

  • Applies to branch 9.7 added
  • Fix Committed on Branch 9.7 added
Actions #4

Updated by O'Neil Delpratt over 8 years ago

  • Fixed in Maintenance Release 9.7.0.2 added

Bug fix applied in the Saxon 9.7.0.2 maintenance release

Actions #5

Updated by O'Neil Delpratt over 8 years ago

  • Status changed from Resolved to Closed

Please register to edit this issue

Also available in: Atom PDF