Re: [Boost-docs] Troubleshooting [xinclude *.xml]

Subject: Re: [Boost-docs] Troubleshooting [xinclude *.xml]
From: Edward Diener (eldiener_at_[hidden])
Date: 2010-10-31 01:54:08


On 10/29/2010 6:45 PM, er wrote:
> I'm trying to add a reference section to a documentation for a library:
>
> /libs/assign/v2/doc
> ...boost_assign_v2.qbk
> .../doxygen/
> ....../html
> ....../xml
> ...Jamfile.v2
>
> To do so, in the qbk file, I have added :
>
> [section Reference]
>
> [xinclude ./doxygen/xml/index.xml]
>
> [endsect]

Just do:

[xinclude ./doxygen/xml/index.xml]

and leave out the section markup. the doxygen xml automatically
generates a reference section.

>
>
> I use Mac OS X 10.64. Could someone please suggest how to go about
> troubleshooting this?
>
> me$ sudo bjam "toolset=darwin"
> Password:
> ...patience...
> ...found 1247 targets...
> ...updating 2 targets...
> xslt-xsltproc
> ../../../../bin.v2/libs/assign/v2/doc/darwin-4.2.1/debug/boost_assign_v2.docbook
>
> runtime error: file /usr/local/trunk/tools/boostbook/xsl/docbook.xsl
> line 393 element attribute
> xsl:attribute: The QName 'xsi:noNamespaceSchemaLocation' has no
> namespace binding in scope in the stylesheet; this is an error, since
> the namespace was not specified by the instruction itself.
> error: file
> ../../../../bin.v2/libs/assign/v2/doc/darwin-4.2.1/debug/boost_assign_v2.xml
>
> xsltRunStylesheet : run failed
>
> XML_CATALOG_FILES="../../../../bin.v2/boostbook_catalog.xml"
> export XML_CATALOG_FILES
> "xsltproc" --stringparam boost.defaults "Boost" --stringparam
> boost.max.id.length "1024" --stringparam chunk.section.depth "2"
> --stringparam html.stylesheet
> "/usr/local/trunk/libs/non_parametric/doc/boostbook.css" --stringparam
> toc.max.depth "4" --stringparam toc.section.depth "4" --xinclude -o
> "../../../../bin.v2/libs/assign/v2/doc/darwin-4.2.1/debug/boost_assign_v2.docbook"
> "/usr/local/trunk/tools/boostbook/xsl/docbook.xsl"
> "../../../../bin.v2/libs/assign/v2/doc/darwin-4.2.1/debug/boost_assign_v2.xml"
>
>
> ...failed xslt-xsltproc
> ../../../../bin.v2/libs/assign/v2/doc/darwin-4.2.1/debug/boost_assign_v2.docbook...
>
> ...skipped <phtml>boost_assign_v2_HTML.manifest for lack of
> <p../../../../bin.v2/libs/assign/v2/doc/darwin-4.2.1/debug>boost_assign_v2.docbook...
>
> ...failed updating 1 target...
> ...skipped 1 target...

You don't show your user-config.jam. Mine is ( under Windows ):

using xsltproc ;
using boostbook
     : "C:/Utilities/Docbook/xsl"
     : "C:/Utilities/Docbook/xml"
     ;
using doxygen ;
using fop : "C:/Utilities/fop-1.0/fop.bat"
           : "C:/Program Files (x86)/Java/jre6"
           ;
using quickbook ;

Hopefully that gives you an idea what might be wrong. Something tells me
your docbook setup may not be correct.


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC