Non-Validating XML Parsers: Requirements

John Cowan cowan at locke.ccil.org
Tue Aug 4 20:47:13 BST 1998


David Brownell wrote:

>         - Validating Parsers
> 
>         - Nonvalidating Parsers that read external definitions
> 
>         - Nonvalidating Parsers that don't read those definitions
> 
> Point being that as section 5.2 makes clear, some WF errors will
> not be reported by the third category of parser, but must be
> reported by the other two.

I think, however, that NVPs may read some external entities (the
DTD external subset, say) but not others (like the content of
external general entities).
 
> That'd be "SHALL NOT" ... but I think that a parser which
> has read the external DTD entities MUST report as a WF error
> such problems.   See the XML specification in section 5.2, which
> is explicit that this is a WF error AND that it's not consistently
> reported.

No, it means "MAY fail to" or "MAY or may not".
 
> > 7.  An NVP MAY NOT signal an error if a reference is made to an
> > unparsed entity, if the entity was declared in some external entity.
> 
> As above -- this is a "MUST" if the parser reads external entities.
> and a "MUST NOT" elsewhere.

Unless it reads some e.e.s but not others.
 
-- 
John Cowan	http://www.ccil.org/~cowan		cowan at ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

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