[Home] [By Thread] [By Date] [Recent Entries]
>> The replacement text of a parameter entity reference in a DeclSep >> must match the production extSubsetDecl. >So the comment in erratum E14 is wrong: the document below is not >well-formed as it violates the same constraint. > with 001.ent: > <!ELEMENT doc EMPTY> > <!ENTITY % e "<!--"> > %e; --> Um, yes, you are right. DeclSep was introduced in the second edition, and I hadn't noticed that it was used in the extSubsetDecl production. This doesn't really solve the problem, since it doesn't cover this: <!ENTITY % e "> <!--"> <!ELEMENT doc EMPTY %e; --> which appears to be merely invalid. -- Richard
|

Cart



