[tei-council] XInclude namespace in chapters

Martin Holmes mholmes at uvic.ca
Wed Apr 17 08:38:06 EDT 2013


There is a cunning thing in p5odds.odd that allows you to fake up 
XInclude in tei:x examples -- take a look -- but it's a bit hacky. I 
think it would be best to use CDATA for this particular scenario.

Cheers,
Martin

On 13-04-17 12:23 AM, Syd Bauman wrote:
> No reason -- we should change them all to 2001, IMHO.
>
> But it does raise the question: what namespace would we use if we
> wanted to show XInclude in an <egXML>? (Can't use
> http://www.w3.org/2001/XInclude, of course, lest a processor muck up
> the example by trying to process the <include> element.)
>
> Currently we don't seem to have any elements with local name
> 'include' or 'fallback' inside an <teix:egXML>.
>
>> I've been struggling for a while this evening to figure out why I
>> couldn't validate the chapter source files; Oxygen was complaining
>> that the XInclude element wasn't allowed in e.g. <specGrp>, but I
>> have Oxygen set up to do XIncludes before trying to validate. Finally
>> I realized that all the XInclude elements in the chapters have this
>> namespace:
>>
>> http://www.w3.org/2003/XInclude
>>
>> whereas the actual XInclude namespace is this:
>>
>> http://www.w3.org/2001/XInclude
>>
>> (2001, not 2003).
>>
>> The 2003 namespace placeholder says:
>>
>> "This document describes the namespace
>> http://www.w3.org/2003/XInclude. This namespace name is deprecated
>> and must not be used. Please use http://www.w3.org/2001/XInclude
>> instead. "
>>
>> Any reason why I shouldn't change this? It'll make it possible for us
>> to validate chapter fragments automatically.


More information about the tei-council mailing list