[
Lists Home |
Date Index |
Thread Index
]
From: "Micah Dubinko" <MDubinko@cardiff.com>
> Question: why is this currently a WF error, as opposed to a validity error?
>
> Are there any known cases of processing that *depends* on this being
> a WF error (and would thus be surprised if it someday became allowed)?
An unresolved entity reference says the physical structure of the document is
incomplete, just as much as if a start-tag were missing. There is certainly a level
below WF that is useful, for manipulating text+markup rather than infosets,
however.
That is the difference between an entity referenced for inclusion (i.e. using
&xxx;) and an entity referenced just as a link (i.e. using ENTITY attributes,
xlink:href, etc). An entity reference for inclusion is a non-optional part of
a document: it is a basic integrity mechanism.
Cheers
Rick Jelliffe
|