For about five minutes in 2004, a "Last Call" draft of XInclude
indicated that the namespace URI *was* http://www.w3.org/2003/XInclude
http://www.w3.org/TR/2004/CR-xinclude-20040413/#status
Xerces shipped a version of their parser that (only, IIRC) honoured the
"2003" URI, but they pulled that soon after:
http://xerces.apache.org/xerces2-j/faq-xinclude.html#faq-10
I wouldn't be surprised to find that some XInclude processors honour
either namespace, in the interest of Postel's law.
AC
Larry Garfield wrote:
> On Fri, 8 Aug 2008 10:55:55 +0200, "Mauritz Jeanson" <> wrote:
>>> -----Original Message-----
>>> From: Larry Garfield
>>>
>>> Element include in namespace
>>> 'http://www.w3.org/2003/XInclude' encountered in
>>> part, but no template matches.
>>
>>
>> The correct XInclude namespace URI is http://www.w3.org/2001/XInclude.
>>
>> Mauritz
>
> That's fascinating because I've been using 2003 for years, and it didn't work unless I did so. Still, I tried 2001 as well on several lines and it didn't make a difference. Same error.
>
> (The namespace is defined on the xi:include elements directly.)
>
> --Larry Garfield