<!--Text exception groups: 2 errors.-->
<!doctype gdoc [
<!element gdoc     o  o (body,y)  -(b) +(a|x) >
<!element body     o  o (chap,y?) -(y)        >
<!element chap     o  o (b,y?)    -(y)        >
<!element (a|b|y)  o  o (#PCDATA)             >
] >
<gdoc><body>
<chap><a/A data<x/X data/more A data/<b>B text</b>
<x>x text</x><y>Y text</y>
