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

Prod. 46 and empty content of pEntities refered to

From: Norbert H. MIKULA <e_nmiku@utila.ifi.uni-klu.ac.at>
Date: Wed, 23 Apr 1997 21:59:00 +0200
Message-ID: <335E6A04.26B3@utila.ifi.uni-klu.ac.at>
To: w3c-sgml-wg@w3.org
I was just playing around with T. Allen's "DuckBook".

I came across one thing that causes me some
headache (took a long time to find a solution for it).
(And I still don't like it, and it is not really general)

Prod 46 contains the section : "(%AttDef+)+"

What does this mean for pEntities of the form

<!ENTITY pe "">

?

I believe, that it is not legal XML (according to the spec) do have
something
like the pe above (However, many people may wish to use it, I guess).

It will definitely be a pain for people that use LL type parsers
generators,
like me.

It is getting worse if you have consecutive references to
empty pEntities in the Attlist (via AttDef).
(I could manage, so that NXP can deal with one empty PERef, 
as of today)

-- 
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 Wednesday, 23 April 1997 15:57:46 EDT

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