W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2001

Re: How to handle a DTD entity reference in XML-Schema

From: Eddie Robertsson <eddie@allette.com.au>
Date: Wed, 21 Nov 2001 09:30:34 +1100
Message-ID: <3BFAD98A.98A8996A@allette.com.au>
To: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
CC: Jeni Tennison <jeni@jenitennison.com>, Erwin Staalsmid <Erwin.Staalsmid@OVSoftware.com>, "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
> I thought you were headed in a different direction -- it is open to a
> conformant non-validating XML processor to simply _not include_ the
> external general entity referenced by '&street;'.  It would be
> possibly, although unhelpful, to use such a processor as the first
> stage of a schema processor.

That's more or less what I expected. Internal general entitites are always
resolved while external entities may or may not be resolved.
I guess the only way to know will be to test different schema processors and see
how they handle this.

> As for MSXML4 -- I agree with you, that's the wrong strategy, but the
> REC just says what schema validation is, not when you should perform
> it.

Yes, this is really too bad because as soon as you have a DTD present (internal
or external) MSXML4 will completely disregard schema validation.

Thanks for the clarification
/Eddie
Received on Tuesday, 20 November 2001 17:24:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:35 GMT