LPX-00108: parameter-entity parenthetical cannot be split up

LPX-00108: parameter-entity parenthetical cannot be split up

Cause: Validity Constraint 3.2.1 failed: Parameter-entity replacement text must be properly nested with parenthesized groups. For interoperability, if a parameter-entity reference appears in a choice, seq, or Mixed construct, its replacement text should not be empty, and neither the first nor last non-blank character of the replacement text should be a connector (| or ,). *Example: lamp;lt;lamp;nbsp;?xml version= 1.0 ?lamp;gt; lamp;lt;lamp;nbsp; DOCTYPE foo ( lamp;lt;lamp;nbsp; ELEMENT greeting (#PCDATA)lamp;gt; lamp;lt;lamp;nbsp; ENTITY % e (#PCDATA| lamp;gt; lamp;lt;lamp;nbsp; ELEMENT foo %e; greeting)lamp;gt; (lamp;gt; lamp;lt;lamp;nbsp;greetinglamp;gt;Hello lamp;lt;lamp;nbsp; or greetinglamp;gt; *Explanation: The parenthetical content of the e entity may not be split up into sections: both open and close parentheses must be in the same declaration.

Action: Correct the DTD.

No comments:

Post a Comment