Altova Mailing List Archives

Re: Conformance Test question

From: Rick Jelliffe <ricko@-------.---.-->
To: xml-dev@-----.---.---
Date: 8/14/2001 11:07:00 PM
From: "Gary Stephenson" <garys@i...>
> <!ENTITY % ent1 "">
> <!ENTITY ent2 "text2">
> <!ENTITY % ent3 "<!-- <!DOCTYPE <!ELEMENT <? '''&#34;&ent2; %ent1;">
> <!ENTITY % ent4 '""&#x27;&#39;"'>
> Is it because (as Rob Lugt has opined in prior discussions) that there is in
> fact no parameter-entity reference - thus there is no actual "replacement
> text"?

Yes. A parameter entity is text. Markup is only parsed when a reference
is replaced. When the entity is being read, the parser is interested in "
not < or &.    

  <!ENTITY % x "&nothing;" >
where there is no declaration for nothing is not an error until  x is actually referenced.
Rick Jelliffe


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.