- From: Eddie Robertsson <eddie@allette.com.au>
- Date: Thu, 07 Feb 2002 09:14:22 +1100
- To: Jeni Tennison <jeni@jenitennison.com>
- CC: Rolf Russell <rolf@powermarket.com>, "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
> I'm pretty sure that schema processors should dereference any entities > prior to validation, since they're working on the infoset rather than > the physical document. Well, that depends on whether the schema processor have DTD validation turned on or not. If YES then all entities should be resolved BUT in this case you also need to specify the complete XML document as a DTD grammar otherwise it won't pass DTD validation. Note that this could just be a very loose DTD syntax using ANY for all elements but it's still a bit tedious. If the schema validator doesn't have DTD validation turned on it's up to the processor to resolve external entities which means that some processors will resolve them and some won't. Last time I tested this XML Spy did resolve them while MSXML4 didn't so there could be problems using this approach. I've had a discussion with Henry about this but I can't seem to find the email in the archives. Cheers, /Eddie
Received on Wednesday, 6 February 2002 17:04:39 UTC