Project

Profile

Help

Bug #6056

closed

Bad validation message for list-valued type

Added by Michael Kay 11 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Diagnostics
Sprint/Milestone:
-
Start date:
2023-05-31
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

If an attribute with value "31,32,33" is validated against a list type with itemType="xs:integer", the error message says "expected a digit, found 44".

44 is the ASCII code for a comma.

Actions #1

Updated by Michael Kay 11 months ago

  • Description updated (diff)
Actions #2

Updated by Michael Kay 11 months ago

  • Status changed from New to Resolved
  • Applies to branch 12, trunk added
  • Fix Committed on Branch 12, trunk added
  • Platforms .NET, Java added

Fixed on the 12.x and main branches only; ran ad-hoc test.

Note, the error is in string-to-integer conversion, it has nothing to do with it being a list type.

Actions #3

Updated by O'Neil Delpratt 10 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 12.3 added

Bug fix applied in the Saxon 12.3 maintenance release.

Please register to edit this issue

Also available in: Atom PDF