Do you have Xerces configured to use XInclude processing? If not, it won't recognize the xincludes and will just process it normally.

I use a program called xincluder which I run before I do my stylesheets. Don't know if that is an option for you or not.

Dave

Larry Garfield wrote:
Well, that's fascinating but doesn't seem to be the root cause here. I tried changing the XInclude namespace to 2001, and the error is exactly the same. It seems to just be skipping the inclusion step entirely.

On Friday 08 August 2008 10:15:47 am Adam Constabaris wrote:
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" <[EMAIL PROTECTED]>
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




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to