Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-402

InvalidCharInLiteral when building getting started guide under multibyte language environment

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 0.2
    • Fix Version/s: 0.2
    • Component/s: docs
    • Labels:
      None

      Description

      Got following error on building getting started guide under $LANG=ja_JP.utf8 that have multibyte characters.


      [ERROR] Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.2.0:generate (default-generate) on project getting-started-en: XSLT problem: error rendering [org.xml.sax.SAXParseException; systemId: file:/home/igarashitmh/workspace/JBoss/soa/switchyard/release/docs/gettingstarted/src/main/docbook/en-US/Getting_Started.xml; lineNumber: 4; columnNumber: 18; InvalidCharInLiteral] on Getting_Started.xml -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.2.0:generate (default-generate) on project getting-started-en: XSLT problem
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
      Caused by: org.apache.maven.plugin.MojoExecutionException: XSLT problem
      at org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.execute(AbstractDocBookMojo.java:415)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      ... 19 more
      Caused by: org.jboss.jdocbook.xslt.XSLTException: error rendering [org.xml.sax.SAXParseException; systemId: file:/home/igarashitmh/workspace/JBoss/soa/switchyard/release/docs/gettingstarted/src/main/docbook/en-US/Getting_Started.xml; lineNumber: 4; columnNumber: 18; InvalidCharInLiteral] on Getting_Started.xml
      at org.jboss.jdocbook.render.impl.BasicRenderer.performRendering(BasicRenderer.java:178)
      at org.jboss.jdocbook.render.impl.BasicRenderer.render(BasicRenderer.java:159)
      at org.jboss.jdocbook.render.impl.BasicRenderer.render(BasicRenderer.java:100)
      at org.jboss.maven.plugins.jdocbook.GenerationMojo.process(GenerationMojo.java:112)
      at org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.doExecute(AbstractDocBookMojo.java:383)
      at org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.execute(AbstractDocBookMojo.java:411)
      ... 21 more
      Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; systemId: file:/home/igarashitmh/workspace/JBoss/soa/switchyard/release/docs/gettingstarted/src/main/docbook/en-US/Getting_Started.xml; lineNumber: 4; columnNumber: 18; InvalidCharInLiteral
      at com.icl.saxon.om.Builder.build(Builder.java:273)
      at com.icl.saxon.Controller.transform(Controller.java:936)
      at org.jboss.jdocbook.render.impl.BasicRenderer.performRendering(BasicRenderer.java:175)
      ... 26 more
      Caused by: org.xml.sax.SAXParseException; systemId: file:/home/igarashitmh/workspace/JBoss/soa/switchyard/release/docs/gettingstarted/src/main/docbook/en-US/Getting_Started.xml; lineNumber: 4; columnNumber: 18; InvalidCharInLiteral
      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
      at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
      at org.apache.xerces.impl.XMLDTDScannerImpl.scanEntityValue(Unknown Source)
      at org.apache.xerces.impl.XMLDTDScannerImpl.scanEntityDecl(Unknown Source)
      at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown Source)
      at org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDInternalSubset(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.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.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at com.icl.saxon.om.Builder.build(Builder.java:265)
      ... 28 more

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                igarashitm tomohisa igarashi
                Reporter:
                igarashitm tomohisa igarashi
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: