Re: [docbook-apps] Problem with XInclude

2008-08-10 Thread David Carver
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, t

Re: [docbook-apps] Problem with XInclude

2008-08-10 Thread Larry Garfield
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 minut

Re: [docbook-apps] Problem with XInclude

2008-08-08 Thread Adam Constabaris
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 tha

Re: [docbook-apps] Problem with XInclude

2008-08-08 Thread David Carver
While not directly related to your issue, there are a couple of ANT tasks that can be used to process XIncludes, before sending the combined file onto the next step. http://people.freebsd.org/~znerd/xinclude-task/http://people.freebsd.org/~znerd/xinclude-task/ http://www.vogella.de/articles/Do

Re: [docbook-apps] Problem with XInclude

2008-08-08 Thread Michiel Hendriks
On Fri, Aug 08, 2008 at 09:53:50AM -0500, Larry Garfield wrote: > 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:in

RE: [docbook-apps] Problem with XInclude

2008-08-08 Thread Larry Garfield
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 U

RE: [docbook-apps] Problem with XInclude

2008-08-08 Thread Mauritz Jeanson
> -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 ---

Re: [docbook-apps] Problem with XInclude

2008-08-08 Thread Dave Pawson
Larry Garfield wrote: So after solving my last embarrassing problem, I've another that will probably be just as embarrassing. My source files contain a large number of XInclude statements for organization. Again, the last time I was working on this project they were all functional. However,

Re: DOCBOOK-APPS: Problem with XInclude

2002-11-20 Thread Daniel Veillard
On Wed, Nov 20, 2002 at 12:09:18PM +0100, Sebastian Bergmann wrote: > Daniel Veillard wrote: > > Well there is something strange there. > > I don't have the time to dig into this right now, all I can say is that > it works fine in a small text.xml file, but now in my project. > > If i do >

Re: DOCBOOK-APPS: Problem with XInclude

2002-11-20 Thread Daniel Veillard
On Wed, Nov 20, 2002 at 12:31:32PM +0100, Sebastian Bergmann wrote: > Daniel Veillard wrote: > > If you want to help me, quickly log a bug on Gnome bugzilla for libxml2 > > about it, taht way whatever happens I won't forget it ! > > http://bugzilla.gnome.org/show_bug.cgi?id=99082 Excellent, I

Re: DOCBOOK-APPS: Problem with XInclude

2002-11-20 Thread Sebastian Bergmann
Daniel Veillard wrote: > If you want to help me, quickly log a bug on Gnome bugzilla for libxml2 > about it, taht way whatever happens I won't forget it ! http://bugzilla.gnome.org/show_bug.cgi?id=99082 -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTrack

Re: DOCBOOK-APPS: Problem with XInclude

2002-11-20 Thread Sebastian Bergmann
Daniel Veillard wrote: > Well there is something strange there. I don't have the time to dig into this right now, all I can say is that it works fine in a small text.xml file, but now in my project. If i do http://www.w3.org/2001/XInclude";> instead of declaring the name

Re: DOCBOOK-APPS: Problem with XInclude

2002-11-20 Thread Daniel Veillard
On Wed, Nov 20, 2002 at 11:48:53AM +0100, Sebastian Bergmann wrote: > Daniel Veillard wrote: > > * the value of the encoding attribute if one exists > > My bad, I expected the encoding to be inherited from the document to > which fragments are included. Hum, I checked my code quickly, it se

Re: DOCBOOK-APPS: Problem with XInclude

2002-11-20 Thread Sebastian Bergmann
Daniel Veillard wrote: > * the value of the encoding attribute if one exists My bad, I expected the encoding to be inherited from the document to which fragments are included. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you?

Re: DOCBOOK-APPS: Problem with XInclude

2002-11-20 Thread Daniel Veillard
On Wed, Nov 20, 2002 at 11:35:05AM +0100, Sebastian Bergmann wrote: > Bob Stayton wrote: > > Or you could switch to xsltproc with the --xinclude option, > > which handles xincludes natively as it processes the stylesheet. > > This might be the final reason to switch to xsltproc. However, it give

Re: DOCBOOK-APPS: Problem with XInclude

2002-11-20 Thread Daniel Veillard
On Wed, Nov 20, 2002 at 11:21:40AM +0100, Sebastian Bergmann wrote: > Sebastian Bergmann wrote: > > Thanks, that works. > > Or so I thought at first. > > In the XInclude'd files I have, for instance, german umlauts which now In what encoding ??? > get displayed incorrectly in the output

Re: DOCBOOK-APPS: Problem with XInclude

2002-11-20 Thread Sebastian Bergmann
Bob Stayton wrote: > Or you could switch to xsltproc with the --xinclude option, > which handles xincludes natively as it processes the stylesheet. This might be the final reason to switch to xsltproc. However, it gives me "Namespace prefix xi is not defined" warnings, although I have

Re: DOCBOOK-APPS: Problem with XInclude

2002-11-20 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > Thanks, that works. Or so I thought at first. In the XInclude'd files I have, for instance, german umlauts which now get displayed incorrectly in the output HTML. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/

Re: DOCBOOK-APPS: Problem with XInclude

2002-11-20 Thread Sebastian Bergmann
Richard Barrington wrote: > You cantry the xincluder plugin from http://xincluder.sourceforge.net/ Thanks, that works. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

Re: DOCBOOK-APPS: Problem with XInclude

2002-11-20 Thread Bob Stayton
On Wed, Nov 20, 2002 at 09:25:43PM +1200, Richard Barrington wrote: > > I just tried to use XInclude in my DocBook/XML marked up book to > > include listings from external files into sections, > > but all I get out of > > > > > > > > is > > > > > > > > in the output and > > > >No

Re: DOCBOOK-APPS: Problem with XInclude

2002-11-20 Thread Richard Barrington
> I just tried to use XInclude in my DocBook/XML marked up book to > include listings from external files into sections, > but all I get out of > > > > is > > > > in the output and > >No template matches xi:include in programlisting. > > as a warning from Saxon 6.5.2. > >-- > S