[
Lists Home |
Date Index |
Thread Index
]
- From: Richard Tobin <richard@cogsci.ed.ac.uk>
- To: Chris Hubick <maillist@chris.hubick.com>, xml-dev@ic.ac.uk
- Date: Tue, 4 Aug 1998 10:52:18 +0100 (BST)
> <!ENTITY % endecls '<!ENTITY'>
> %endecls; % example 'test'>
>
> This is not well formed, right? (please say yes)
It's well-formed but not valid (see production [29]). So
non-validating processors don't have to detect the error. (Of course
a n-v parser that doesn't read the external subset can't detect errors
in it - that's why it isn't a WF constraint - but there are n-v parsers
that do read it.)
My parser (RXP / LT-XML) relies on the fact that since PEs have spaces
inserted around them, they can only start and finish in places where
whitespace would be legal. PEs are pushed and popped during whitespace
processing.
-- Richard
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|