Production  in clause 14.5.5 of the draft standard is clearly wrong;
rast corrects it by appending
, LE. An alternative way to correct it would be to delete the
In production  in clause 14.5.9,
markup data+ should be
markup data* since internal sdata entities need not contain any characters (14.5.11),
markup data cannot be empty (14.5.9, 14.5.12).
The RAST result for the example in Annex B.4 is incorrect.
G03-A1= should be immediately followed by a line
!g03-e1!. (The problem with production  also applies to this example.)
Rast outputs a newline after
#ERROR in order to avoid producing files with partial lines.