Two more points for cleanup in existing draft

Norbert Mikula nmikula at edu.uni-klu.ac.at
Fri Mar 21 14:44:08 GMT 1997


> The bit about parameter entity references is important, as it makes
> clear that the following is valid XML (as it is SGML):
> 
> <!doctype foo [
> <!element foo o o any>
> <!entity % yy '&#37;zz'>
> <!entity % zz '<!entity g "f">'>
> %yy;
> ]>
> a &g; b
> 
> [nsgml says:
> (FOO
> -a f b
> )FOO
> C
> ]

I ran it with NXP. I had to make a few changes :

1.) <!element foo o o any> ---> <!element foo any>
(The ERB hasn't decided yet on this subject, or has it ?)

2.) I had to change the position of yy and zz
(I wasn't thinking about this problem of refering to 
an entity that was not yet declared. Now I need to check
carefully when NXP resolves (is supposed to resolve) entity references)

3.) <!entity % yy '&#37;zz'> --> <!entity % yy '&#37;zz;'>
(Note the semicolon after zz !)

After these changes I got the same results.

FYI: I tested with latest release. It has not been published yet.


Best regards,
Norbert H. Mikula

=====================================================
= SGML, DSSSL, Intra- & Internet, AI, Java 
=====================================================
= mailto:nmikula at edu.uni-klu.ac.at 
= http://www.edu.uni-klu.ac.at/~nmikula
=====================================================


xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa at ic.ac.uk)




More information about the Xml-dev mailing list