Project

Profile

Help

Bug #4214

Updated by Michael Kay almost 5 years ago

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>`: <A>: The content model does not allow element 
   `<Q{}Y>` <Q{}Y> to appear immediately after element `<Q{X}>`. <Q{X}>. It must be preceded by 
   `<Q{}R>`.** <Q{}R>.**  

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

Back