Actions
Bug #4214
closedIncorrect error message from XSD validation when an element in the content model is absent
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.
Please register to edit this issue
Actions