- From: Grosso, Paul <pgrosso@ptc.com>
- Date: Wed, 31 Jan 2007 12:33:06 -0500
- To: <www-xml-xinclude-comments@w3.org>
- Cc: "Erik Wilde" <dret@berkeley.edu>
[Forwarding to the xinclude comments list--paul] -----Original Message----- From: Erik Wilde Sent: Saturday, 2007 January 27 21:07 Subject: "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 Wednesday, 31 January 2007 17:35:05 UTC