This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Working with XInclude / xml:base / libxml v2.4.24 andabove


On Wed, Feb 12, 2003 at 06:43:40PM +0000, Kevin.Ruscoe@ubsw.com wrote:
> Hi
> 
> I have just come across the same issue as a few other people,
> having upgraded to libxml v2.4.24.  Apparently, this introduced
> support for xml:base, yet this is not supported by the
> DocBook XML DTD v4.2.  So, I now get lots of errors of the form:
> 
> "No declaration for attribute base of element foo"
> 
> The following links have some of the discussion:
> 
> http://mail.gnome.org/archives/xml/2002-September/msg00131.html
> http://mail.gnome.org/archives/xml/2002-September/msg00132.html
> 
> From the minutes at:
> 
> http://lists.oasis-open.org/archives/docbook-tc/200211/msg00012.html
> 
> and some of the accompanying discussion, it sounds as though the
> plan is to add support for xml:base in a future release of the DTD.
> 
> (NB I already use xmllint --postvalid; this seems to be a separate issue.)
> 
> In the meantime, some options are:
> a) Stop using XInclude.
> b) Do not upgrade past libxml v2.4.23.
> c) I gather that if all the source files are in the same directory,
> then there is a workaround.  Not sure about this aspect.
> 
> However, none of these options is very attractive.
> 
> Is there a better workaround?  We make extremely heavy use of XInclude,
> so this is a significant issue.

A workaround is available in this message:

http://lists.oasis-open.org/archives/docbook/200211/msg00040.html


Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]