W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > March 1997

Re: Two more points for cleanup in existing draft

From: Norbert Mikula <nmikula@edu.uni-klu.ac.at>
Date: Fri, 21 Mar 1997 15:25:14 +0100 (MET)
To: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
Cc: w3c-sgml-wg@w3.org, xml-dev@ic.ac.uk
Message-Id: <Pine.OSF.3.93.970321151727.29271B-100000@edusrv.edu.uni-klu.ac.at>
> 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@edu.uni-klu.ac.at 
= http://www.edu.uni-klu.ac.at/~nmikula
=====================================================
Received on Friday, 21 March 1997 09:31:26 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:04:16 EDT