Loading ...
Sorry, an error occurred while loading the content.

Seeking help with dita-ot 1.5.4 build issue

Expand Messages
  • Dan Tran
    Hi I have a PDF customization template that I have been using for the last 3 years to encapsulate from changes in dita-ot. Things are working great up to
    Message 1 of 5 , Dec 31, 2011
    View Source
    • 0 Attachment
      Hi

      I have a PDF customization template that I have been using for the
      last 3 years to encapsulate from changes in dita-ot. Things are
      working great up to dita-ot 1.5.3.

      With 1.5.4, i ran into the below output

      [topicpull] Processing
      C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Dashboard.xml
      to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Dashboard.xml.pull
      [topicpull] Processing
      C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Node_Information.xml
      to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Node_Information.xml.pull
      [topicpull] Processing
      C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\viewing-options.xml
      to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\viewing-options.xml.pull
      [move] Moving 77 files to
      C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp

      preprocess:

      dita-preprocess:

      map2pdf2:
      [pipeline] Failed to parse copyrights.xml: null
      [pipeline] Error on line 23 column 582
      [pipeline] SXXP0003: Error reported by XML parser: Element type
      "topicref" must be followed by either
      [pipeline] attribute specifications, ">" or "/>".
      [pipeline] org.xml.sax.SAXParseException: Element type "topicref"
      must be followed by either attribute specifications, ">" or "/>".

      transform.topic2pdf.init:

      publish.map.pdf.init:

      copyCoreArtwork:

      transform.topic2fo.init:
      [dita-version] org.xml.sax.SAXParseException: Premature end of file.
      [dita-version] at
      org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
      Source)
      [dita-version] at
      org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
      [dita-version] at
      org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      [dita-version] at
      org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

      It seems map2pdf2 is the root cause, but I could not make any sense
      out of this since my copyrights.xml dita file does have any referecne
      to 'topicref'....

      My suspect here is my dita source no longer compatible with ditaot
      1.5.4. any suggestion to help me trouble shoot this issue are greatly
      appreciated.

      Thanks

      -Dan
    • dantran
      I am able to use my template to build 1.5.4 s samples/taskbook using the same build process. So I guess I am right about something to do with my dita source
      Message 2 of 5 , Dec 31, 2011
      View Source
      • 0 Attachment
        I am able to use my template to build 1.5.4's samples/taskbook using the same build process. So I guess I am right about something to do with my dita source files not being compatible with dita-ot 1.5.4.

        Now it is a matter of finding out the trouble area.

        Any suggestion is greatly appreciated.

        Note I own the template but not very much about dita spec itself


        -D

        --- In dita-users@yahoogroups.com, Dan Tran <dantran@...> wrote:
        >
        > Hi
        >
        > I have a PDF customization template that I have been using for the
        > last 3 years to encapsulate from changes in dita-ot. Things are
        > working great up to dita-ot 1.5.3.
        >
        > With 1.5.4, i ran into the below output
        >
        > [topicpull] Processing
        > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Dashboard.xml
        > to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Dashboard.xml.pull
        > [topicpull] Processing
        > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Node_Information.xml
        > to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Node_Information.xml.pull
        > [topicpull] Processing
        > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\viewing-options.xml
        > to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\viewing-options.xml.pull
        > [move] Moving 77 files to
        > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp
        >
        > preprocess:
        >
        > dita-preprocess:
        >
        > map2pdf2:
        > [pipeline] Failed to parse copyrights.xml: null
        > [pipeline] Error on line 23 column 582
        > [pipeline] SXXP0003: Error reported by XML parser: Element type
        > "topicref" must be followed by either
        > [pipeline] attribute specifications, ">" or "/>".
        > [pipeline] org.xml.sax.SAXParseException: Element type "topicref"
        > must be followed by either attribute specifications, ">" or "/>".
        >
        > transform.topic2pdf.init:
        >
        > publish.map.pdf.init:
        >
        > copyCoreArtwork:
        >
        > transform.topic2fo.init:
        > [dita-version] org.xml.sax.SAXParseException: Premature end of file.
        > [dita-version] at
        > org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
        > Source)
        > [dita-version] at
        > org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
        > [dita-version] at
        > org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        > [dita-version] at
        > org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        >
        > It seems map2pdf2 is the root cause, but I could not make any sense
        > out of this since my copyrights.xml dita file does have any referecne
        > to 'topicref'....
        >
        > My suspect here is my dita source no longer compatible with ditaot
        > 1.5.4. any suggestion to help me trouble shoot this issue are greatly
        > appreciated.
        >
        > Thanks
        >
        > -Dan
        >
      • dantran
        On the second thought, my fail build log shows some suspicious waring at gen-list-without-flagging: main: [INFO] Executed tasks [INFO] [INFO] ---
        Message 3 of 5 , Dec 31, 2011
        View Source
        • 0 Attachment
          On the second thought, my fail build log shows some suspicious waring at gen-list-without-flagging:


          main:
          [INFO] Executed tasks
          [INFO]
          [INFO] --- maven-resources-plugin:2.5:copy-resources (make-doc-date) @ mc-docs ---
          [debug] execute contextualize
          [INFO] Using 'UTF-8' encoding to copy filtered resources.
          [INFO] Copying 2 resources
          [INFO]
          [INFO] --- dita-maven-plugin:1.0-beta-2:run (create-pdf) @ mc-docs ---
          Buildfile: C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\.external-resources\DITA-OT1.5.4\build.xml

          init:

          dita2pdf2.init:

          start-process:

          init-logger:

          init-URIResolver:

          output-version:
          [echo] Version: DITA Open Toolkit 1.5.4

          use-init.envhhcdir:

          use-init.hhcdir:

          use-init:

          check-arg:
          [echo] *****************************************************************
          [echo] * basedir = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs
          [echo] * dita.dir = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs/.external-resources/DITA-OT1.5.4
          [echo] * input = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs/src/samples/taskbook.ditamap
          [echo] * transtype = pdf2
          [echo] * tempdir = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp
          [echo] * outputdir = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\out
          [echo] * extname = .xml
          [echo] * clean.temp = yes
          [echo] * xslt.parser = SAXON
          [echo] *****************************************************************
          [echo] #Ant properties
          [echo] #Sat Dec 31 14:23:24 PST 2011
          [echo] args.css.file.temp=${args.css}
          [echo] args.css.real=${args.css}
          [echo] args.grammar.cache=yes
          [echo] args.input=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs/src/samples/taskbook.ditamap
          [echo] args.log=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\target\\dita\\log
          [echo] args.logdir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\target\\dita\\out
          [echo] args.message.file=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\resource\\messages.xml
          [echo] args.odt.img.embed=yes
          [echo] args.odt.include.rellinks=none
          [echo] args.xml.systemid.set=yes
          [echo] dita.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs/.external-resources/DITA-OT1.5.4
          [echo] dita.empty=
          [echo] dita.ext=.xml
          [echo] dita.extname=xml
          [echo] dita.input.filename=taskbook.ditamap
          [echo] dita.map.filename.root=taskbook
          [echo] dita.plugin.com.sophos.tocjs.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\tocjs
          [echo] dita.plugin.org.dita.base.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
          [echo] dita.plugin.org.dita.docbook.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
          [echo] dita.plugin.org.dita.eclipsecontent.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
          [echo] dita.plugin.org.dita.eclipsehelp.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
          [echo] dita.plugin.org.dita.htmlhelp.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
          [echo] dita.plugin.org.dita.javahelp.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
          [echo] dita.plugin.org.dita.legacypdf.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\legacypdf
          [echo] dita.plugin.org.dita.odt.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
          [echo] dita.plugin.org.dita.pdf.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\plugins\\org.dita.pdf
          [echo] dita.plugin.org.dita.pdf2.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\fo
          [echo] dita.plugin.org.dita.specialization.dita11.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\dita11
          [echo] dita.plugin.org.dita.specialization.dita132.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\dita132
          [echo] dita.plugin.org.dita.specialization.eclipsemap.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\eclipsemap
          [echo] dita.plugin.org.dita.specialization.h2d.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\h2d
          [echo] dita.plugin.org.dita.troff.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
          [echo] dita.plugin.org.dita.wordrtf.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
          [echo] dita.plugin.org.dita.xhtml.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
          [echo] dita.preprocess.reloadstylesheet=false
          [echo] dita.resource.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\resource
          [echo] dita.script.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\xsl
          [echo] dita.temp.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\target\\dita\\temp
          [echo] dita.topic.filename.root=taskbook.ditamap
          [echo] dita.xhtml.reloadstylesheet=false
          [echo] preprocess.copy-image.skip=true
          [echo] *****************************************************************
          [echo] * Using Xerces
          [echo] *****************************************************************

          output-deprecated-msg:

          output-css-warn-message:

          start-preprocess:

          gen-list-flag-check:

          gen-list-without-flagging:
          [gen-list] GenMapAndTopicListModule.execute(): Starting...
          [gen-list] Failed to read supported DITA topic extensions from configuration, using defaults.
          [gen-list] Failed to read supported DITA map extensions from configuration, using defaults.
          [gen-list] Failed to read supported image extensions from configuration, using defaults.
          [gen-list] Failed to read supported HTML extensions from configuration, using defaults.
          [gen-list] Failed to read supported resource file extensions from configuration, using defaults.
          [gen-list] Failed to read print transtypes from configuration, using defaults.
          [gen-list] Using Xerces grammar pool for DTD and schema caching.
          [gen-list] Processing C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\src\samples\taskbook.ditamap
          [gen-list] Processing C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\src\samples\taskbook\notices.dita
          [gen-list] Processing C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\src\samples\taskbook\maintaining.dita
          [gen-list] Processing C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\src\samples\taskbook\drivetrouble.dita


          --- In dita-users@yahoogroups.com, "dantran" <dantran@...> wrote:
          >
          >
          > I am able to use my template to build 1.5.4's samples/taskbook using the same build process. So I guess I am right about something to do with my dita source files not being compatible with dita-ot 1.5.4.
          >
          > Now it is a matter of finding out the trouble area.
          >
          > Any suggestion is greatly appreciated.
          >
          > Note I own the template but not very much about dita spec itself
          >
          >
          > -D
          >
          > --- In dita-users@yahoogroups.com, Dan Tran <dantran@> wrote:
          > >
          > > Hi
          > >
          > > I have a PDF customization template that I have been using for the
          > > last 3 years to encapsulate from changes in dita-ot. Things are
          > > working great up to dita-ot 1.5.3.
          > >
          > > With 1.5.4, i ran into the below output
          > >
          > > [topicpull] Processing
          > > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Dashboard.xml
          > > to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Dashboard.xml.pull
          > > [topicpull] Processing
          > > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Node_Information.xml
          > > to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Node_Information.xml.pull
          > > [topicpull] Processing
          > > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\viewing-options.xml
          > > to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\viewing-options.xml.pull
          > > [move] Moving 77 files to
          > > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp
          > >
          > > preprocess:
          > >
          > > dita-preprocess:
          > >
          > > map2pdf2:
          > > [pipeline] Failed to parse copyrights.xml: null
          > > [pipeline] Error on line 23 column 582
          > > [pipeline] SXXP0003: Error reported by XML parser: Element type
          > > "topicref" must be followed by either
          > > [pipeline] attribute specifications, ">" or "/>".
          > > [pipeline] org.xml.sax.SAXParseException: Element type "topicref"
          > > must be followed by either attribute specifications, ">" or "/>".
          > >
          > > transform.topic2pdf.init:
          > >
          > > publish.map.pdf.init:
          > >
          > > copyCoreArtwork:
          > >
          > > transform.topic2fo.init:
          > > [dita-version] org.xml.sax.SAXParseException: Premature end of file.
          > > [dita-version] at
          > > org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
          > > Source)
          > > [dita-version] at
          > > org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
          > > [dita-version] at
          > > org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
          > > [dita-version] at
          > > org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
          > >
          > > It seems map2pdf2 is the root cause, but I could not make any sense
          > > out of this since my copyrights.xml dita file does have any referecne
          > > to 'topicref'....
          > >
          > > My suspect here is my dita source no longer compatible with ditaot
          > > 1.5.4. any suggestion to help me trouble shoot this issue are greatly
          > > appreciated.
          > >
          > > Thanks
          > >
          > > -Dan
          > >
          >
        • dantran
          After further trouble shooting, i have a found the root cause where dita-ot ant build expect lib/configuration.properties at the build directory instead of
          Message 4 of 5 , Dec 31, 2011
          View Source
          • 0 Attachment
            After further trouble shooting, i have a found the root cause where dita-ot ant build expect lib/configuration.properties at the build directory instead of ${dita.dir}/lib/configuration.properties

            So for any one trying to migrate to 1.5.4, you need to create copy ${dita.dir}/lib/configuration.properties to your current/build/dir/lib/configuration.properties.

            I will file a bug against dita-ot to be fix in the next release

            -Dan

            --- In dita-users@yahoogroups.com, "dantran" <dantran@...> wrote:
            >
            >
            > On the second thought, my fail build log shows some suspicious waring at gen-list-without-flagging:
            >
            >
            > main:
            > [INFO] Executed tasks
            > [INFO]
            > [INFO] --- maven-resources-plugin:2.5:copy-resources (make-doc-date) @ mc-docs ---
            > [debug] execute contextualize
            > [INFO] Using 'UTF-8' encoding to copy filtered resources.
            > [INFO] Copying 2 resources
            > [INFO]
            > [INFO] --- dita-maven-plugin:1.0-beta-2:run (create-pdf) @ mc-docs ---
            > Buildfile: C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\.external-resources\DITA-OT1.5.4\build.xml
            >
            > init:
            >
            > dita2pdf2.init:
            >
            > start-process:
            >
            > init-logger:
            >
            > init-URIResolver:
            >
            > output-version:
            > [echo] Version: DITA Open Toolkit 1.5.4
            >
            > use-init.envhhcdir:
            >
            > use-init.hhcdir:
            >
            > use-init:
            >
            > check-arg:
            > [echo] *****************************************************************
            > [echo] * basedir = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs
            > [echo] * dita.dir = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs/.external-resources/DITA-OT1.5.4
            > [echo] * input = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs/src/samples/taskbook.ditamap
            > [echo] * transtype = pdf2
            > [echo] * tempdir = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp
            > [echo] * outputdir = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\out
            > [echo] * extname = .xml
            > [echo] * clean.temp = yes
            > [echo] * xslt.parser = SAXON
            > [echo] *****************************************************************
            > [echo] #Ant properties
            > [echo] #Sat Dec 31 14:23:24 PST 2011
            > [echo] args.css.file.temp=${args.css}
            > [echo] args.css.real=${args.css}
            > [echo] args.grammar.cache=yes
            > [echo] args.input=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs/src/samples/taskbook.ditamap
            > [echo] args.log=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\target\\dita\\log
            > [echo] args.logdir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\target\\dita\\out
            > [echo] args.message.file=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\resource\\messages.xml
            > [echo] args.odt.img.embed=yes
            > [echo] args.odt.include.rellinks=none
            > [echo] args.xml.systemid.set=yes
            > [echo] dita.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs/.external-resources/DITA-OT1.5.4
            > [echo] dita.empty=
            > [echo] dita.ext=.xml
            > [echo] dita.extname=xml
            > [echo] dita.input.filename=taskbook.ditamap
            > [echo] dita.map.filename.root=taskbook
            > [echo] dita.plugin.com.sophos.tocjs.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\tocjs
            > [echo] dita.plugin.org.dita.base.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
            > [echo] dita.plugin.org.dita.docbook.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
            > [echo] dita.plugin.org.dita.eclipsecontent.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
            > [echo] dita.plugin.org.dita.eclipsehelp.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
            > [echo] dita.plugin.org.dita.htmlhelp.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
            > [echo] dita.plugin.org.dita.javahelp.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
            > [echo] dita.plugin.org.dita.legacypdf.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\legacypdf
            > [echo] dita.plugin.org.dita.odt.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
            > [echo] dita.plugin.org.dita.pdf.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\plugins\\org.dita.pdf
            > [echo] dita.plugin.org.dita.pdf2.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\fo
            > [echo] dita.plugin.org.dita.specialization.dita11.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\dita11
            > [echo] dita.plugin.org.dita.specialization.dita132.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\dita132
            > [echo] dita.plugin.org.dita.specialization.eclipsemap.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\eclipsemap
            > [echo] dita.plugin.org.dita.specialization.h2d.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\h2d
            > [echo] dita.plugin.org.dita.troff.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
            > [echo] dita.plugin.org.dita.wordrtf.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
            > [echo] dita.plugin.org.dita.xhtml.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
            > [echo] dita.preprocess.reloadstylesheet=false
            > [echo] dita.resource.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\resource
            > [echo] dita.script.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\xsl
            > [echo] dita.temp.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\target\\dita\\temp
            > [echo] dita.topic.filename.root=taskbook.ditamap
            > [echo] dita.xhtml.reloadstylesheet=false
            > [echo] preprocess.copy-image.skip=true
            > [echo] *****************************************************************
            > [echo] * Using Xerces
            > [echo] *****************************************************************
            >
            > output-deprecated-msg:
            >
            > output-css-warn-message:
            >
            > start-preprocess:
            >
            > gen-list-flag-check:
            >
            > gen-list-without-flagging:
            > [gen-list] GenMapAndTopicListModule.execute(): Starting...
            > [gen-list] Failed to read supported DITA topic extensions from configuration, using defaults.
            > [gen-list] Failed to read supported DITA map extensions from configuration, using defaults.
            > [gen-list] Failed to read supported image extensions from configuration, using defaults.
            > [gen-list] Failed to read supported HTML extensions from configuration, using defaults.
            > [gen-list] Failed to read supported resource file extensions from configuration, using defaults.
            > [gen-list] Failed to read print transtypes from configuration, using defaults.
            > [gen-list] Using Xerces grammar pool for DTD and schema caching.
            > [gen-list] Processing C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\src\samples\taskbook.ditamap
            > [gen-list] Processing C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\src\samples\taskbook\notices.dita
            > [gen-list] Processing C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\src\samples\taskbook\maintaining.dita
            > [gen-list] Processing C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\src\samples\taskbook\drivetrouble.dita
            >
            >
            > --- In dita-users@yahoogroups.com, "dantran" <dantran@> wrote:
            > >
            > >
            > > I am able to use my template to build 1.5.4's samples/taskbook using the same build process. So I guess I am right about something to do with my dita source files not being compatible with dita-ot 1.5.4.
            > >
            > > Now it is a matter of finding out the trouble area.
            > >
            > > Any suggestion is greatly appreciated.
            > >
            > > Note I own the template but not very much about dita spec itself
            > >
            > >
            > > -D
            > >
            > > --- In dita-users@yahoogroups.com, Dan Tran <dantran@> wrote:
            > > >
            > > > Hi
            > > >
            > > > I have a PDF customization template that I have been using for the
            > > > last 3 years to encapsulate from changes in dita-ot. Things are
            > > > working great up to dita-ot 1.5.3.
            > > >
            > > > With 1.5.4, i ran into the below output
            > > >
            > > > [topicpull] Processing
            > > > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Dashboard.xml
            > > > to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Dashboard.xml.pull
            > > > [topicpull] Processing
            > > > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Node_Information.xml
            > > > to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Node_Information.xml.pull
            > > > [topicpull] Processing
            > > > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\viewing-options.xml
            > > > to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\viewing-options.xml.pull
            > > > [move] Moving 77 files to
            > > > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp
            > > >
            > > > preprocess:
            > > >
            > > > dita-preprocess:
            > > >
            > > > map2pdf2:
            > > > [pipeline] Failed to parse copyrights.xml: null
            > > > [pipeline] Error on line 23 column 582
            > > > [pipeline] SXXP0003: Error reported by XML parser: Element type
            > > > "topicref" must be followed by either
            > > > [pipeline] attribute specifications, ">" or "/>".
            > > > [pipeline] org.xml.sax.SAXParseException: Element type "topicref"
            > > > must be followed by either attribute specifications, ">" or "/>".
            > > >
            > > > transform.topic2pdf.init:
            > > >
            > > > publish.map.pdf.init:
            > > >
            > > > copyCoreArtwork:
            > > >
            > > > transform.topic2fo.init:
            > > > [dita-version] org.xml.sax.SAXParseException: Premature end of file.
            > > > [dita-version] at
            > > > org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
            > > > Source)
            > > > [dita-version] at
            > > > org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
            > > > [dita-version] at
            > > > org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
            > > > [dita-version] at
            > > > org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
            > > >
            > > > It seems map2pdf2 is the root cause, but I could not make any sense
            > > > out of this since my copyrights.xml dita file does have any referecne
            > > > to 'topicref'....
            > > >
            > > > My suspect here is my dita source no longer compatible with ditaot
            > > > 1.5.4. any suggestion to help me trouble shoot this issue are greatly
            > > > appreciated.
            > > >
            > > > Thanks
            > > >
            > > > -Dan
            > > >
            > >
            >
          • dantran
            here is the link to the bug http://sourceforge.net/tracker/?func=detail&aid=3468070&group_id=132728&atid=725074 -D
            Message 5 of 5 , Dec 31, 2011
            View Source
            • 0 Attachment
              here is the link to the bug

              http://sourceforge.net/tracker/?func=detail&aid=3468070&group_id=132728&atid=725074

              -D

              --- In dita-users@yahoogroups.com, "dantran" <dantran@...> wrote:
              >
              >
              > After further trouble shooting, i have a found the root cause where dita-ot ant build expect lib/configuration.properties at the build directory instead of ${dita.dir}/lib/configuration.properties
              >
              > So for any one trying to migrate to 1.5.4, you need to create copy ${dita.dir}/lib/configuration.properties to your current/build/dir/lib/configuration.properties.
              >
              > I will file a bug against dita-ot to be fix in the next release
              >
              > -Dan
              >
              > --- In dita-users@yahoogroups.com, "dantran" <dantran@> wrote:
              > >
              > >
              > > On the second thought, my fail build log shows some suspicious waring at gen-list-without-flagging:
              > >
              > >
              > > main:
              > > [INFO] Executed tasks
              > > [INFO]
              > > [INFO] --- maven-resources-plugin:2.5:copy-resources (make-doc-date) @ mc-docs ---
              > > [debug] execute contextualize
              > > [INFO] Using 'UTF-8' encoding to copy filtered resources.
              > > [INFO] Copying 2 resources
              > > [INFO]
              > > [INFO] --- dita-maven-plugin:1.0-beta-2:run (create-pdf) @ mc-docs ---
              > > Buildfile: C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\.external-resources\DITA-OT1.5.4\build.xml
              > >
              > > init:
              > >
              > > dita2pdf2.init:
              > >
              > > start-process:
              > >
              > > init-logger:
              > >
              > > init-URIResolver:
              > >
              > > output-version:
              > > [echo] Version: DITA Open Toolkit 1.5.4
              > >
              > > use-init.envhhcdir:
              > >
              > > use-init.hhcdir:
              > >
              > > use-init:
              > >
              > > check-arg:
              > > [echo] *****************************************************************
              > > [echo] * basedir = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs
              > > [echo] * dita.dir = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs/.external-resources/DITA-OT1.5.4
              > > [echo] * input = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs/src/samples/taskbook.ditamap
              > > [echo] * transtype = pdf2
              > > [echo] * tempdir = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp
              > > [echo] * outputdir = C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\out
              > > [echo] * extname = .xml
              > > [echo] * clean.temp = yes
              > > [echo] * xslt.parser = SAXON
              > > [echo] *****************************************************************
              > > [echo] #Ant properties
              > > [echo] #Sat Dec 31 14:23:24 PST 2011
              > > [echo] args.css.file.temp=${args.css}
              > > [echo] args.css.real=${args.css}
              > > [echo] args.grammar.cache=yes
              > > [echo] args.input=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs/src/samples/taskbook.ditamap
              > > [echo] args.log=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\target\\dita\\log
              > > [echo] args.logdir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\target\\dita\\out
              > > [echo] args.message.file=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\resource\\messages.xml
              > > [echo] args.odt.img.embed=yes
              > > [echo] args.odt.include.rellinks=none
              > > [echo] args.xml.systemid.set=yes
              > > [echo] dita.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs/.external-resources/DITA-OT1.5.4
              > > [echo] dita.empty=
              > > [echo] dita.ext=.xml
              > > [echo] dita.extname=xml
              > > [echo] dita.input.filename=taskbook.ditamap
              > > [echo] dita.map.filename.root=taskbook
              > > [echo] dita.plugin.com.sophos.tocjs.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\tocjs
              > > [echo] dita.plugin.org.dita.base.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
              > > [echo] dita.plugin.org.dita.docbook.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
              > > [echo] dita.plugin.org.dita.eclipsecontent.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
              > > [echo] dita.plugin.org.dita.eclipsehelp.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
              > > [echo] dita.plugin.org.dita.htmlhelp.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
              > > [echo] dita.plugin.org.dita.javahelp.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
              > > [echo] dita.plugin.org.dita.legacypdf.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\legacypdf
              > > [echo] dita.plugin.org.dita.odt.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
              > > [echo] dita.plugin.org.dita.pdf.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\plugins\\org.dita.pdf
              > > [echo] dita.plugin.org.dita.pdf2.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\fo
              > > [echo] dita.plugin.org.dita.specialization.dita11.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\dita11
              > > [echo] dita.plugin.org.dita.specialization.dita132.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\dita132
              > > [echo] dita.plugin.org.dita.specialization.eclipsemap.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\eclipsemap
              > > [echo] dita.plugin.org.dita.specialization.h2d.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\demo\\h2d
              > > [echo] dita.plugin.org.dita.troff.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
              > > [echo] dita.plugin.org.dita.wordrtf.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
              > > [echo] dita.plugin.org.dita.xhtml.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4
              > > [echo] dita.preprocess.reloadstylesheet=false
              > > [echo] dita.resource.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\resource
              > > [echo] dita.script.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\.external-resources\\DITA-OT1.5.4\\xsl
              > > [echo] dita.temp.dir=C\:\\Users\\dan.tran\\dev\\ll\\mc\\shared\\mc-docs\\target\\dita\\temp
              > > [echo] dita.topic.filename.root=taskbook.ditamap
              > > [echo] dita.xhtml.reloadstylesheet=false
              > > [echo] preprocess.copy-image.skip=true
              > > [echo] *****************************************************************
              > > [echo] * Using Xerces
              > > [echo] *****************************************************************
              > >
              > > output-deprecated-msg:
              > >
              > > output-css-warn-message:
              > >
              > > start-preprocess:
              > >
              > > gen-list-flag-check:
              > >
              > > gen-list-without-flagging:
              > > [gen-list] GenMapAndTopicListModule.execute(): Starting...
              > > [gen-list] Failed to read supported DITA topic extensions from configuration, using defaults.
              > > [gen-list] Failed to read supported DITA map extensions from configuration, using defaults.
              > > [gen-list] Failed to read supported image extensions from configuration, using defaults.
              > > [gen-list] Failed to read supported HTML extensions from configuration, using defaults.
              > > [gen-list] Failed to read supported resource file extensions from configuration, using defaults.
              > > [gen-list] Failed to read print transtypes from configuration, using defaults.
              > > [gen-list] Using Xerces grammar pool for DTD and schema caching.
              > > [gen-list] Processing C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\src\samples\taskbook.ditamap
              > > [gen-list] Processing C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\src\samples\taskbook\notices.dita
              > > [gen-list] Processing C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\src\samples\taskbook\maintaining.dita
              > > [gen-list] Processing C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\src\samples\taskbook\drivetrouble.dita
              > >
              > >
              > > --- In dita-users@yahoogroups.com, "dantran" <dantran@> wrote:
              > > >
              > > >
              > > > I am able to use my template to build 1.5.4's samples/taskbook using the same build process. So I guess I am right about something to do with my dita source files not being compatible with dita-ot 1.5.4.
              > > >
              > > > Now it is a matter of finding out the trouble area.
              > > >
              > > > Any suggestion is greatly appreciated.
              > > >
              > > > Note I own the template but not very much about dita spec itself
              > > >
              > > >
              > > > -D
              > > >
              > > > --- In dita-users@yahoogroups.com, Dan Tran <dantran@> wrote:
              > > > >
              > > > > Hi
              > > > >
              > > > > I have a PDF customization template that I have been using for the
              > > > > last 3 years to encapsulate from changes in dita-ot. Things are
              > > > > working great up to dita-ot 1.5.3.
              > > > >
              > > > > With 1.5.4, i ran into the below output
              > > > >
              > > > > [topicpull] Processing
              > > > > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Dashboard.xml
              > > > > to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Dashboard.xml.pull
              > > > > [topicpull] Processing
              > > > > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Node_Information.xml
              > > > > to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\tasks\t_Viewing_Node_Information.xml.pull
              > > > > [topicpull] Processing
              > > > > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\viewing-options.xml
              > > > > to C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp\viewing-options.xml.pull
              > > > > [move] Moving 77 files to
              > > > > C:\Users\dan.tran\dev\ll\mc\shared\mc-docs\target\dita\temp
              > > > >
              > > > > preprocess:
              > > > >
              > > > > dita-preprocess:
              > > > >
              > > > > map2pdf2:
              > > > > [pipeline] Failed to parse copyrights.xml: null
              > > > > [pipeline] Error on line 23 column 582
              > > > > [pipeline] SXXP0003: Error reported by XML parser: Element type
              > > > > "topicref" must be followed by either
              > > > > [pipeline] attribute specifications, ">" or "/>".
              > > > > [pipeline] org.xml.sax.SAXParseException: Element type "topicref"
              > > > > must be followed by either attribute specifications, ">" or "/>".
              > > > >
              > > > > transform.topic2pdf.init:
              > > > >
              > > > > publish.map.pdf.init:
              > > > >
              > > > > copyCoreArtwork:
              > > > >
              > > > > transform.topic2fo.init:
              > > > > [dita-version] org.xml.sax.SAXParseException: Premature end of file.
              > > > > [dita-version] at
              > > > > org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
              > > > > Source)
              > > > > [dita-version] at
              > > > > org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
              > > > > [dita-version] at
              > > > > org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
              > > > > [dita-version] at
              > > > > org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
              > > > >
              > > > > It seems map2pdf2 is the root cause, but I could not make any sense
              > > > > out of this since my copyrights.xml dita file does have any referecne
              > > > > to 'topicref'....
              > > > >
              > > > > My suspect here is my dita source no longer compatible with ditaot
              > > > > 1.5.4. any suggestion to help me trouble shoot this issue are greatly
              > > > > appreciated.
              > > > >
              > > > > Thanks
              > > > >
              > > > > -Dan
              > > > >
              > > >
              > >
              >
            Your message has been successfully submitted and would be delivered to recipients shortly.