Order of #PCDATA in dtd - relevant? or XP bug?
Toby Speight
tms at ansa.co.uk
Wed Sep 23 11:14:55 BST 1998
Glenn> Glenn R. Kronschnabl <URL:mailto:grk at arlut.utexas.edu>
0> In article <36087406.C60F8AFE at 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?
--
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list