[boostbook] adding 'nonet' option to xsltproc

Hi Everyone, I've been trying my best, but I can't seem to find a way of telling xsltproc to not get the stylesheets from the internet (http://docbook.sourceforge.net/release/xsl/current/) by passing it the 'nonet' option. Is there a way to do this easily, or is there a different reason why I can't generate documentation using boostbook? Attached are my configuration files (user-config.jam), the Jamfile, and inlined are the errors below. I'm generating documentation on Windows XP using xsltproc version: Using libxml 20614CVS2195, libxslt 10111CVS955 and libexslt 809CVS955 xsltproc was compiled against libxml 20614, libxslt 10111 and libexslt 809 libxslt 10111 was compiled against libxml 20614 libexslt 809 was compiled against libxml 20614 Errors encountered (Boost.SVN trunk rev 40657): ...found 18 targets... ...updating 1 target... xslt-xsltproc-dir html\standalone_HTML.manifest warning: failed to load external entity "http://docbook.sourceforge.net/release/ xsl/current/html/chunk.xsl" compilation error: file file:///C%3A/Documents%20and%20Settings/Friendster/My%20 Documents/Sources/boost/tools/boostbook/xsl/html.xsl line 15 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/h tml/chunk.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/ xsl/current/html/math.xsl" compilation error: file file:///C%3A/Documents%20and%20Settings/Friendster/My%20 Documents/Sources/boost/tools/boostbook/xsl/html.xsl line 17 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/h tml/math.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/ xsl/current/html/chunk-common.xsl" compilation error: file file:///C%3A/Documents%20and%20Settings/Friendster/My%20 Documents/Sources/boost/tools/boostbook/xsl/chunk-common.xsl line 14 element imp ort xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/h tml/chunk-common.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/ xsl/current/lib/lib.xsl" compilation error: file file:///C%3A/Documents%20and%20Settings/Friendster/My%20 Documents/Sources/boost/tools/boostbook/xsl/relative-href.xsl line 12 element im port xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/l ib/lib.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/ xsl/current/html/formal.xsl" compilation error: file file:///C%3A/Documents%20and%20Settings/Friendster/My%20 Documents/Sources/boost/tools/boostbook/xsl/docbook-layout.xsl line 16 element i mport xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/h tml/formal.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/ xsl/current/lib/lib.xsl" compilation error: file file:///C%3A/Documents%20and%20Settings/Friendster/My%20 Documents/Sources/boost/tools/boostbook/xsl/relative-href.xsl line 12 element im port xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/l ib/lib.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/ xsl/current/html/admon.xsl" compilation error: file file:///C%3A/Documents%20and%20Settings/Friendster/My%20 Documents/Sources/boost/tools/boostbook/xsl/admon.xsl line 12 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/h tml/admon.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/ xsl/current/lib/lib.xsl" compilation error: file file:///C%3A/Documents%20and%20Settings/Friendster/My%20 Documents/Sources/boost/tools/boostbook/xsl/relative-href.xsl line 12 element im port xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/l ib/lib.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/ xsl/current/html/xref.xsl" compilation error: file file:///C%3A/Documents%20and%20Settings/Friendster/My%20 Documents/Sources/boost/tools/boostbook/xsl/xref.xsl line 16 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/h tml/xref.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/ xsl/current/lib/lib.xsl" compilation error: file file:///C%3A/Documents%20and%20Settings/Friendster/My%20 Documents/Sources/boost/tools/boostbook/xsl/relative-href.xsl line 12 element im port xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/l ib/lib.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/ xsl/current/html/callout.xsl" compilation error: file file:///C%3A/Documents%20and%20Settings/Friendster/My%20 Documents/Sources/boost/tools/boostbook/xsl/callout.xsl line 12 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/h tml/callout.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/ xsl/current/lib/lib.xsl" compilation error: file file:///C%3A/Documents%20and%20Settings/Friendster/My%20 Documents/Sources/boost/tools/boostbook/xsl/relative-href.xsl line 12 element im port xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/l ib/lib.xsl set XML_CATALOG_FILES=..\..\..\..\bin/boostbook_catalog.xml "xsltproc" --stringparam boost.image.alt "Boost.Overload" --stringparam boost.i mage.src "images/dispatcher.png" --stringparam chunk.first.sections "1" --string param chunk.section.depth "2" --stringparam generate.section.toc.level "3" --str ingparam manifest "standalone_HTML.manifest" --stringparam nav.layout "none" --x include -o "html/" "C:\Documents and Settings\Friendster\My Documents\Sources\bo ost\tools\boostbook\xsl\html.xsl" "bin\msvc-8.0\debug\threading-multi\overload.d ocbook" ...failed xslt-xsltproc-dir html\standalone_HTML.manifest... ...failed updating 1 target... -- Dean Michael C. Berris Software Engineer, Friendster, Inc. [http://cplusplus-soup.blogspot.com/] [mikhailberis@gmail.com] [+63 928 7291459] [+1 408 4049523]

Dean Michael Berris wrote:
Hi Everyone,
I've been trying my best, but I can't seem to find a way of telling xsltproc to not get the stylesheets from the internet (http://docbook.sourceforge.net/release/xsl/current/) by passing it the 'nonet' option. Is there a way to do this easily, or is there a different reason why I can't generate documentation using boostbook?
The canonical way to solve this is by having the appropriate stylesheets locally installed, and then registered in your XML Catalog, so a request to docbook.sf.net gets redirected to a local substitute. Depending on your platform that may be handled automatically when installing the appropriate xsl-docbook package. Regards, Stefan -- ...ich hab' noch einen Koffer in Berlin...
participants (2)
-
Dean Michael Berris
-
Stefan Seefeld