Project

Profile

Help

Bug #4214

closed

Incorrect error message from XSD validation when an element in the content model is absent

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Diagnostics
Sprint/Milestone:
-
Start date:
2019-05-07
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

Reported here:

https://saxonica.plan.io/boards/3/topics/7497

If an X element is followed by a Y element, and there is no legal transition from X to Y in the content model, and there is exactly one possible element W such that the sequence (X, W, Y) would be valid, and there is more than one legal successor for X, then the error message produced is

FORG0001: In content of element <A>: The content model does not allow element <Q{}Y> to appear immediately after element <Q{X}>. It must be preceded by <Q{}R>.

where R is not the name W, but is one of the legal successor elements of X, chosen at random.

Actions #1

Updated by Michael Kay almost 5 years ago

  • Description updated (diff)
Actions #2

Updated by Michael Kay almost 5 years ago

  • Status changed from New to Resolved
  • Fix Committed on Branch 9.9, trunk added
Actions #3

Updated by O'Neil Delpratt almost 5 years ago

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

Bug fix applied to the Saxon 9.9.1.3 maintenance release

Please register to edit this issue

Also available in: Atom PDF