>I get the same results you do from our XML parser. What do you think >the standard predicts? Well, the standard says: >XML allows parameter entity references in a variety of places within >the DTD. Parameter-entity references are always expanded immediately ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >upon being recognized, and the DTD must match the relevant rules of >the grammar after all parameter-entity references have been >expanded. In addition, parameter entities referred to in specific >contexts are required to satisfy certain constraints in their >replacement text; for example, a parameter entity referred to within >the internal DTD subset must match the rule for markupdecl. This seems to imply that in: <!DOCTYPE foo [ <!ENTITY % pe "'"> <!ENTITY % pe2 '&pe;&pe;' > ]> pe2 would be expanded to '''', which is illegal. I should note that neither NXP nor lark can handle my example.Received on Friday, 23 May 1997 09:59:24 EDT
This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:04:35 EDT