"validation" of xi:fallback in xinclude

hello.

i am currently implementing xinclude, and i ran across the following
issue: in paragraph 2 of section 3.2, it says very clearly: "It is a
fatal error for an xi:fallback  element to appear in a document
anywhere other than as the direct child of the xi:include. It is a
fatal error for the xi:fallback element to contain any elements from
the XInclude namespace other than xi:include."

to me, this is a pretty clear statement, so i implemented it like
that. when running the test cases, however, i failed one and was
wondering what was happening. the test data led to the mail archive
and then i found that later in section 3.2 there there is the new
text: "The content of xi:fallback elements are ignored unless a
resource error occurs while processing the surrounding xi:include
element. In particular, apparent fatal errors caused by the presence,
absence, or content of elements and attributes inside the xi:fallback
element must not be reported in xi:fallback elements that are ignored."

i think that the wording of this section is rather
unfortunate. statements should be combined to not contradict each
other, right now paragraph 2 contradicts paragraph 4.

kind regards,

erik wilde   tel:+1-510-6432253 - fax:+1-510-6425814
       dret@berkeley.edu  -  http://dret.net/netdret
       UC Berkeley - School of Information (iSchool)

Received on Monday, 29 January 2007 10:03:58 UTC