[Home] [By Thread] [By Date] [Recent Entries]

  • From: Marcus Carr <mrc@a...>
  • To: xml-dev@l...
  • Date: Wed, 10 Jan 2001 08:50:30 +1100


Norman Walsh wrote:

> XML Schemas provide no mechanism for declaring general entities. (This
> isn't an oversight on the part of the XML Schema WG, it's a consequence
> of how schema validation is defined. Briefly, schema validation is performed
> on the information set constructed by parsing the document. But the parser
> needs to know about entity declarations *while it's parsing* so schema's
> just occur "too late" in the process to practically declare entities.)

This implies that if I need to use general entities, I have to preprocess my
document against a DTD - is that correct? I was unaware that schema processing
took place at a different point than DTD processing - does this impact on
anything else? Sorry if this has been covered - I was reclining, secure in the
misconception that aside from the obvious benefits of schemas, the two were
roughly equivalent.


--
Regards,

Marcus Carr                      email:  mrc@a...
___________________________________________________________________
Allette Systems (Australia)      www:    http://www.allette.com.au
___________________________________________________________________
"Everything should be made as simple as possible, but not simpler."
       - Einstein



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member