On Sat, 2010-11-06 at 15:55 -0400, Gaetan Nadon wrote: > On Fri, 2010-11-05 at 20:27 -0700, Alan Coopersmith wrote: > > > I got: > > runtime error: file /usr/X11R7/share/sgml/X11/xorg.xsl line 254 > > element > > call-template > > The called template 'add-xml-base' was not found. > > This is related to the xml:base attribute which is defined in the W3C > XML Base recommendation http://www.w3.org/TR/xmlbase/. > > The attribute xml:base may be inserted in XML documents to specify a > base URI other > than the base URI of the document or external entity. > > I found on the net a stylesheet that does the same thing as xorg.xsl: > > > http://svn.traduc.org/blame.php?repname=lfs&path=%2Ftrunk%2Fblfs%2Fstylesheets%2Flfs-xsl%2Fdocbook-xsl-snapshot%2Fcommon%2Fstripns.xsl&rev=659&sc=0 > > > Our xorg stylesheet is calling an "add-xml-base" template that does > not exist. In the above stylesheet found on the next, this template is > defined in-line in the file. > > <xsl:template name="add-xml-base"> > <xsl:if test="not(@xml:base)"> > <xsl:variable name="base"> > [...] > > > When I build xorg-docs, I always get this warning: > > WARNING: cannot add @xml:base to node set root element. Relative > paths may not work. > > There must be some differences in the docbook xls software packages or > the the version of the xsltproc that we use. > > If you have run into this, most likely others will. Other packages > such as libSM would use the new version of xorg.xsl as well. Does it > fail the same way?
Just wondering if you had the same problem with other documents. > > In any case, we need more users testing as there are quite a variety > of xsl packages out there. > > Gaetan > > _______________________________________________ > xorg-devel@lists.x.org: X.Org development > Archives: http://lists.x.org/archives/xorg-devel > Info: http://lists.x.org/mailman/listinfo/xorg-devel
signature.asc
Description: This is a digitally signed message part
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel