W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > January 2007

"validation" of xi:fallback in xinclude

From: Erik Wilde <dret@berkeley.edu>
Date: Sun, 28 Jan 2007 03:06:40 +0000
Message-ID: <45BC1328.1010600@berkeley.edu>
To: public-xml-core-wg@w3.org




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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:35 GMT