
Peter Whaite <boost@whaite.ca> wrote:
Vladimir Prus <ghost@cs.msu.su> wrote:
../tools/build/v2/doc/src/install.xml:11: error: xmlParseEntityRef: expecting ';'
url="http://sourceforge.net/project/showfiles.php?group_id=7586&package_i
Well, that's unquoted '&' character in XML source. Fixed now, thanks for the report!
Thanks -- that fixes the first error. Now I'm left with the second, xsl:element : no namespace bound to prefix xi.
I found some time to dig into this a little deeper. Turns out its due to these not being loaded
warning: failed to load external entity "src/hash.xml" XInclude: could not load src/hash.xml, and no fallback was found warning: failed to load external entity "src/static_assert.xml" XInclude: could not load src/static_assert.xml, and no fallback was found warning: failed to load external entity "src/type_traits.xml" XInclude: could not load src/type_traits.xml, and no fallback was found
and thats because <xi:include href="hash.xml"/> in src/boost.xml causes xsltproc to search for "./src/hash.xml", and not "./hash.xml", in the directories specified by --path on the command line. Including "../hash.xml" fixes it. The following patch to boost.xml works for me, but I dont really know enough about the boost docbook to know if its the right approach. % cvs diff boost.xml Index: boost.xml =================================================================== RCS file: /cvsroot/boost/boost/doc/src/boost.xml,v retrieving revision 1.15 diff -u -r1.15 boost.xml --- boost.xml 17 Apr 2005 10:43:53 -0000 1.15 +++ boost.xml 10 Jun 2005 18:09:45 -0000 @@ -302,7 +302,7 @@ </libraryinfo> </library> - <xi:include href="hash.xml"/> + <xi:include href="../hash.xml"/> <library name="Graph" dirname="graph" html-only="1"> <libraryinfo> @@ -650,7 +650,7 @@ </libraryinfo> </library> - <xi:include href="static_assert.xml"/> + <xi:include href="../static_assert.xml"/> <xi:include href="../../libs/algorithm/string/doc/string_algo.xml"/> @@ -705,7 +705,7 @@ </libraryinfo> </library> - <xi:include href="type_traits.xml"/> + <xi:include href="../type_traits.xml"/> <library name="uBLAS" dirname="numeric/ublas" html-only="1"> <libraryinfo>