Unable to get a transformer instance
------------------------------------
Key: MOJO-775
URL: http://jira.codehaus.org/browse/MOJO-775
Project: Mojo
Issue Type: Bug
Components: docbook
Reporter: Carlos Sanchez
in revision 4009 of the plugin running "mvn docbook:transform -e" I get
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'docbook'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Unnamed - org.acegisecurity:acegi-security-doc:jar:1.1-SNAPSHOT
[INFO] task-segment: [docbook:transform]
[INFO]
----------------------------------------------------------------------------
[INFO] [docbook:transform]
[INFO] Loading olink database generation stylesheet
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to get a transformer instance from source
http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl
Illegal value: $language used for NMTOKEN attribute: lang
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.RuntimeException: Unable to get a transformer instance from source
http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl
at
org.codehaus.mojo.docbook.OLinkDBUpdater.updateOLinkDatabase(OLinkDBUpdater.java:150)
at
org.codehaus.mojo.docbook.OLinkDBUpdater.update(OLinkDBUpdater.java:105)
at
org.codehaus.mojo.docbook.TransformMojo.execute(TransformMojo.java:147)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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:
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Ille
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:683)
at
org.codehaus.mojo.docbook.OLinkDBUpdater.updateOLinkDatabase(OLinkDBUpdater.java:146)
... 20 more
Caused by: javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Illegal value: $language used for
NMTOKEN attribute: lang
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:807)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:666)
... 21 more
Caused by: javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Illegal value: $language used for
NMTOKEN attribute: lang
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:803)
... 22 more
Caused by: javax.xml.transform.TransformerException: Illegal value: $language
used for NMTOKEN attribute: lang
at
org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java:899)
at
org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java:927)
at
org.apache.xalan.processor.XSLTAttributeDef.handleError(XSLTAttributeDef.java:1657)
at
org.apache.xalan.processor.XSLTAttributeDef.processNMTOKEN(XSLTAttributeDef.java:798)
at
org.apache.xalan.processor.XSLTAttributeDef.processValue(XSLTAttributeDef.java:1407)
at
org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLTAttributeDef.java:1600)
at
org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:342)
at
org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(XSLTElementProcessor.java:267)
at
org.apache.xalan.processor.ProcessorTemplateElem.startElement(ProcessorTemplateElem.java:77)
at
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:600)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at
org.apache.xalan.processor.ProcessorInclude.parse(ProcessorInclude.java:267)
at
org.apache.xalan.processor.ProcessorInclude.startElement(ProcessorInclude.java:146)
at
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:600)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:795)
... 22 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Tue May 01 13:59:19 PDT 2007
[INFO] Final Memory: 6M/10M
[INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email