Uploaded image for project: 'maven-jdocbook-plugin'
  1. maven-jdocbook-plugin
  2. MPJDOCBOOK-55

jdocbook plugin: "today" entity is expanded using default system locale

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.3
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Change default system locale to en_US

      Description

      My default system locale is ru_RU and documentation build for en_US locale is failing with:

      [INFO] [jdocbook:generate

      {execution: default-generate}

      ]
      [INFO] Processing en-US -> pdf
      redirecting output to file [D:\richfaces-root\cdk\trunk\docs\guide\target\docbook\work\log\console-en-US-pdf.log]
      Error on line 4 column 17 of file:/D:/richfaces-root/cdk/trunk/docs/guide/en-US/Component_Development_Kit_Guide.xml:
      Error reported by XML parser: InvalidCharInLiteral
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] XSLT problem

      Embedded error: error rendering [org.xml.sax.SAXParseException: InvalidCharInLiteral] on Component_Development_Kit_Guide.xml

      Investigation shows that problem is caused by "today" standard value injection; in my case that is russian date string and parser cannot handle that correctly.
      One more concern: shouldn't such injections use locale of the document being built or default system ones (as is currently)?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sebersole Steve Ebersole
                  Reporter:
                  nbelaevski Nick Belaevski
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated: