[Bug 5393] CVS: fn-doc-available-4 and xml:id errors

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5393





------- Comment #6 from mike@saxonica.com  2008-03-04 10:56 -------
The xml:id spec says:

A violation of the constraints in this specification results in an xml:id
error. Such errors are not fatal, but should be reported by the xml:id
processor. In the interest of interoperability, it is strongly recommended that
xml:id errors not be silently ignored.

The data model spec, for construction of an XDM document from an Infoset or
PSVI says:

If an error is encountered during xml:id processing, an implementation may
raise a dynamic error. 

So doc() may or may not fail if there are xml:id errors: it's
implementation-defined (or -dependent).

Received on Tuesday, 4 March 2008 10:56:26 UTC