Re: Schemas and Other Crucial XML Questions

Chris Olds (colds@nwlink.com)
Mon, 10 Aug 1998 14:14:49 -0700


Tyler Baker wrote:
>
>BTW, on a side-note I am having a problem understanding whether the
external
>subset or the internal subset should be parsed first. I would assume that
the
>external subset should go first, but in this case it would make using
INCLUDE and
>IGNORE sections to be pretty useless. This is something that is not
clarified as
>far as I can tell in the 1.0 spec so if someone could clarify how this
should be
>handled by a parser, then I would greatly appreciate it.

The XML Recommendation says (in the last paragraph of section 2.8)

"If both the external and internal subsets are used, the internal subset is
considered to occur before the external subset. This has the effect that
entity and attribute-list declarations in the internal subset take
precedence over those in the external subset."

Tim Bray's comment on this can be found at:
http://www.xml.com/axml/notes/IntSubFirst.html

/cco