Re: Order of #PCDATA in dtd - relevant? or XP bug?

Toby Speight (tms@ansa.co.uk)
23 Sep 1998 10:17:43 +0100


Glenn> Glenn R. Kronschnabl <URL:mailto:grk@arlut.utexas.edu>

0> In article <36087406.C60F8AFE@arlut.utexas.edu>, Glenn wrote:

Glenn> <!-- the following line works in both jade and XP
Glenn> <!ENTITY % inline "#PCDATA|emphasis"> -->
Glenn>
Glenn> <!-- the following line works in jade but NOT in XP -->
Glenn> <!ENTITY % inline "emphasis|#PCDATA">

The grammar in the spec only permits the first of these. The two
cases appear equivalent, and there's no obvious reason why the latter
isn't permitted (but I suspect it makes life easier for parsers if
they know immediately that it's a mixed content model).

BTW, did you really expect Jade to spot an XML constraint when you
didn't use the -wxml argument?

--