W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > September 2005

Re: nist-include-40 & nist-include-39

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Wed, 21 Sep 2005 18:33:26 -0400
Message-ID: <4331DFB6.3060205@metalab.unc.edu>
To: Bill Han <bill.han@oracle.com>
CC: Oleg Tkachenko <oleg@tkachenko.com>, Paul Grosso <pgrosso@arbortext.com>, Jonathan Marsh <jmarsh@microsoft.com>, www-xml-xinclude-comments@w3.org

Bill Han wrote:
> This has nothing to do with xi:fallback. I am talking about the content 
> model for xi:include.
> 
> <elem/> is allowed under <xi:include>? Then, how do you interpret 
> <!ELEMENT xi:include (xi:fallback?)> ?
> 
> xi:fallback is okay, b/c the spec says <!ELEMENT xi:fallback ANY>.
> 

The content model is irrelevant. Validity is optional. Nothing in the 
XInclude spec prohibits an xi:include element from containing 
essentially arbitrary well-formed content not in the XInclude namespace. 
There is no error here.


-- 
´╗┐Elliotte Rusty Harold  elharo@metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
Received on Wednesday, 21 September 2005 22:33:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:36 UTC