#1297 chunktoc.xsl missing namespace declarations

output: HTML
closed-fixed
XSL (1066)
5
2014-01-20
2013-04-24
legalize
No

When formatting docbook documentation in boost, you get the following error:

> D:\Code\boost\svn-boost-trunk\libs\test\doc>b2 standalone
> ...found 39 targets...
> ...updating 1 target...
> xslt-xsltproc-dir.windows html\standalone_HTML.manifest
> XPath error : Undefined namespace prefix

If you add these namespace declarations to chunktoc.xsl, then the error goes away:

--- a/docbook-xsl-1.77.1/html/chunktoc.xsl
+++ b/docbook-xsl/1.77.1/html/chunktoc.xsl
@@ -1,5 +1,7 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ xmlns:db="http://docbook.org/ns/docbook"
+ xmlns:ng="http://docbook.org/docbook-ng"
version="1.0"
exclude-result-prefixes="doc">

Discussion

  • legalize

    legalize - 2013-04-24
     
  • legalize

    legalize - 2013-04-24
    • milestone: --> output: HTML
     
  • Thomas Schraitle

    Thanks for the report. I've fixed it in revision#9750.

     
  • Robert Stayton

    Robert Stayton - 2013-08-29
    • status: open --> pending-fixed
    • assigned_to: Thomas Schraitle
     
  • Robert Stayton

    Robert Stayton - 2014-01-20
    • Status: pending-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks