jduranmaster / docbkx-tools

Automatically exported from code.google.com/p/docbkx-tools
0 stars 0 forks source link

generate-manpages broken with the namespaced stylesheets #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It seems that the namespaced docbook stylesheets are broken for the manpage
generation.

Version: 2.0.9-SNAPSHOT from trunk

How to reproduce?

mvn -Pdocbkx.multipleFormats generate-sources

What is the expected output? 

Build Successful

What do you see instead?

[INFO] [docbkx:generate-manpages {execution: default}]
[INFO] Processing sample2.xml
Error at xsl:strip-space on line 120 of
jar:file:/C:/Documents%20and%20Settings/Mimil/.m2/repository/com/agilejava/docbk
x/docbkx-maven-plugin/2.0.9-SNAPSHOT/docbkx-maven-plugin-2.0.9-SNAPSHOT.jar!/MET
A-INF/docbkx/manpages/other.xsl:
  Element name d:manvolnumdb:abstract is not a valid QName
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to build Transformer from jar:file:/C:/Documents and
Settings/Mimil/.m2/repository/com/agilejava/docbkx/docbkx-maven-plugin/2.0.9-SNA
PSHOT/docbkx-maven-plugin-2.0.9-SNAPSHOT.jar!/META-INF/docbkx/manpages/docbook.x
sl
Failed to compile stylesheet. 1 error detected.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
com.agilejava.docbkx.maven.TransformerBuilder$TransformerBuilderException:
Failed to build Transformer from jar:file:/C:/Documents and
Settings/Mimil/.m2/repository/com/agilejava/docbkx/docbkx-maven-plugin/2.0.9-SNA
PSHOT/docbkx-maven-plugin-2.0.9-SNAPSHOT.jar!/META-INF/docbkx/manpages/docbook.x
sl
    at
com.agilejava.docbkx.maven.AbstractTransformerMojo$DefaultTransformerBuilder.cre
ateTransformer(AbstractTransformerMojo.java:637)
    at
com.agilejava.docbkx.maven.AbstractTransformerMojo$DefaultTransformerBuilder.bui
ld(AbstractTransformerMojo.java:582)
    at
com.agilejava.docbkx.maven.CachingTransformerBuilder.build(CachingTransformerBui
lder.java:34)
    at
com.agilejava.docbkx.maven.AbstractTransformerMojo.execute(AbstractTransformerMo
jo.java:223)
    at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.ja
va:451)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycl
eExecutor.java:558)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(Def
aultLifecycleExecutor.java:499)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycle
Executor.java:478)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:330)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultL
ifecycleExecutor.java:291)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExec
utor.java:142)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: javax.xml.transform.TransformerConfigurationException: Failed to
compile stylesheet. 1 error detected.
    at com.icl.saxon.PreparedStyleSheet.prepare(PreparedStyleSheet.java:136)
    at
com.icl.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:12
7)
    at
com.icl.saxon.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:
79)
    at
com.agilejava.docbkx.maven.AbstractTransformerMojo$DefaultTransformerBuilder.cre
ateTransformer(AbstractTransformerMojo.java:607)
    ... 21 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Fri Jan 30 20:58:24 CET 2009
[INFO] Final Memory: 14M/32M
[INFO] ------------------------------------------------------------------------

Please use labels and text to provide additional information.

Original issue reported on code.google.com by MimilO...@gmail.com on 30 Jan 2009 at 8:02

GoogleCodeExporter commented 8 years ago

Original comment by MimilO...@gmail.com on 8 Nov 2009 at 9:50