[
Lists Home |
Date Index |
Thread Index
]
- From: Norbert Mikula <nmikula@edu.uni-klu.ac.at>
- To: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
- Date: Fri, 21 Mar 1997 15:25:14 +0100 (MET)
> 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 '%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 '%zz'> --> <!entity % yy '%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
=====================================================
xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@ic.ac.uk)
|