MANTIS LEGACY

MANTIS LEGACY BUGS

  • [BUG#27] imagedata fail from root docbook file

    Category: PDF
    TO FIX
    Image data is not included in the output pdf file if <mediaobject> is written directly from root file.

    1. Path must be explicitly written...

    Note:
    Xinclude another subfile works fine !

  • [BUG#26] if condition in freemarker

    Category: FREEMARKER
    TO FIX
    Check that conditions have ==, and not = !

  • [BUG#25] Build failed if output dir does not exist

    Category: PDF
    TO FIX
    [ant4dbk:dbk] [ERROR] Anttask - Error rendering fo file: /_ant4dbk_specification.xml.jdom.preprocessed.fo <Failed to open /dist/spec.pdf>Failed to open /dist/spec.pdf
    [ant4dbk:dbk] at org.apache.fop.tools.anttasks.FOPTaskStarter.renderInputHandler(Fop.java:647)
    [ant4dbk:dbk] at org.apache.fop.tools.anttasks.FOPTaskStarter.render(Fop.java:676)
    [ant4dbk:dbk] at org.apache.fop.tools.anttasks.FOPTaskStarter.run(Fop.java:534)
    [ant4dbk:dbk] at org.apache.fop.tools.anttasks.Fop.execute(Fop.java:366)
    [ant4dbk:dbk] at net.sourceforge.ant4docbook.processors.FoProcessor.processToGivenFormat(FoProcessor.java:126)
    [ant4dbk:dbk] at net.sourceforge.ant4docbook.processors.FoProcessor.process(FoProcessor.java:71)
    [ant4dbk:dbk] at net.sourceforge.ant4docbook.processors.PdfProcessor.process(PdfProcessor.java:98)
    [ant4dbk:dbk] at net.sourceforge.ant4docbook.taskdefs.DocbookTask.execute(DocbookTask.java:422)
    [ant4dbk:dbk] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    [ant4dbk:dbk] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ant4dbk:dbk] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [ant4dbk:dbk] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [ant4dbk:dbk] at java.lang.reflect.Method.invoke(Method.java:606)
    [ant4dbk:dbk] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ant4dbk:dbk] at org.apache.tools.ant.Task.perform(Task.java:348)
    [ant4dbk:dbk] at org.apache.tools.ant.Target.execute(Target.java:435)
    [ant4dbk:dbk] at org.apache.tools.ant.Target.performTasks(Target.java:456)
    [ant4dbk:dbk] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    [ant4dbk:dbk] at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
    [ant4dbk:dbk] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [ant4dbk:dbk] at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    [ant4dbk:dbk] at org.apache.tools.ant.Main.runBuild(Main.java:851)
    [ant4dbk:dbk] at org.apache.tools.ant.Main.startAnt(Main.java:235)
    [ant4dbk:dbk] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    [ant4dbk:dbk] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    [ant4dbk:dbk] Caused by: java.io.FileNotFoundException: /dist/spec.pdf (Aucun fichier ou dossier de ce type)
    [ant4dbk:dbk] at java.io.FileOutputStream.open(Native Method)
    [ant4dbk:dbk] at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
    [ant4dbk:dbk] at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
    [ant4dbk:dbk] at org.apache.fop.tools.anttasks.FOPTaskStarter.renderInputHandler(Fop.java:644)
    [ant4dbk:dbk] ... 24 more
    [ant4dbk:dbk]
    [dbk-fo] /_ant4dbk_specification.xml.jdom.preprocessed.fo -> /dist/spec-eni.pdf
    [ant4dbk:dbk] KEEP FILE : /_ant4dbk_specification.xml.jdom
    [ant4dbk:dbk] KEEP FILE : /_ant4dbk_specification.xml.jdom.preprocessed

    BUILD FAILED
    /build.xml:33: fail to generate /dist/spec.pdf; see /_ant4dbk_specification.xml.jdom.preprocessed

  • [BUG#24] Dist size

    Category: MAVEN
    Fixed in version: V0.7.1
    Check maven dependancies to decrease dist size

  • [BUG#23] STYLESHEET FILE NOT FOUND FOR PATH : properties

    Category: OTHER
    TO FIX
    Trying to generate config files
    (ant4docbook/doc/build.xml: ant conf

    BUILD FAILED
    /media/REPOSITORY/DATAS/MesServices/Sourceforge/ant4docbook.trunk/doc/build.xml:51: STYLESHEET FILE NOT FOUND FOR PATH : properties => ~.ant4docbook/docbook-xsl-1.78.1/properties

  • [BUG#22] *ERROR* FOUserAgent: Invalid property value encountered in column-width="10%%"

    Category: PDF
    Fixed in version: V0.6
    Column pourcent are written twice in output fo file !!!

  • [BUG#21] The string "--" is not permitted within comments

    Category: HTML
    Fixed in version: V0.6
    [dbk] FAIL TO BUILD test.xml (base=)
    [dbk] Error on line 19 of document file:test.xml: The string "--" is not permitted within comments.
    [dbk] FAIL TO PROCESS JDOM : test.xml => test.xml.jdom : org.jdom2.input.JDOMParseException: Error on line 19 of document file
    test.xml: The string "--" is not permitted within comments.

  • [BUG#20] Error while parsing with Xalan

    Category: PDF
    Fixed in version: V0.6
    Error! Le premier argument de la fonction Java non static 'insertCallouts' n'est pas une référence d'objet valide.

    see:
    http://www.developpez.net/forums/d526393/autres-langages/xmlxsl-soap/erreur-compilation-xsl-docbook-avec-xalan/

  • [BUG#19] Epub generation fail on linux

    Category: EPUB
    Fixed in version: V0.6
    $ apt-cache search xlstproc
    xsltproc - XSLT 1.0 command line processor

    $ apt-get install xlstproc

    $ xsltproc --version
    Using libxml 20800, libxslt 10126 and libexslt 815
    xsltproc was compiled against libxml 20800, libxslt 10126 and libexslt 815
    libxslt 10126 was compiled against libxml 20800
    libexslt 815 was compiled against libxml 20800

    $ ant compile
    compile:
    [xsltproc] $ xsltproc --output '.ant4dbk-tmp/epub/' 'docbook-xsl-1.78.1/epub3/chunk.xsl' '_ant4dbk_book.xml.jdom'
    [xsltproc] warning: failed to load external entity "'docbook-xsl-1.78.1/epub3/chunk.xsl'"
    [xsltproc] cannot parse 'docbook-xsl-1.78.1/epub3/chunk.xsl'

    BUILD FAILED

    $ xsltproc --output '.ant4dbk-tmp/epub/' 'docbook-xsl-1.78.1/epub3/chunk.xsl' '_ant4dbk_book.xml.jdom'
    Writing OEBPS/bk01-toc.xhtml for book
    Writing OEBPS/ch01s02.xhtml for section
    Writing OEBPS/ch01.xhtml for chapter
    Writing OEBPS/ch02s02.xhtml for section
    Writing OEBPS/ch02.xhtml for chapter
    Writing OEBPS/index.xhtml for book
    Writing OEBPS/docbook-epub.css for book
    Generating EPUB package files.
    Generating image list ...
    Writing OEBPS/package.opf for book
    Writing OEBPS/../META-INF/container.xml for book
    Writing OEBPS/../mimetype for book
    Generating NCX file ...
    Writing OEBPS/toc.ncx for book

  • [BUG#18] autotoc.xsl style entry

    Category: OTHER
    TO FIX
    Within the generated OEBPS/docbook-epub.css file:

    /* top level entries */
    nav&gt;ol&gt;li&gt;a {
    margin-top: 1em;
    margin-bottom: 1em;
    }

  • [BUG#17] Create a ToC with chapters and first-level sections

    Category: EPUB
    TO FIX
    The ant configuration file allows setting individual properties and including properties from a typical Java .properties file, to pass into the DocBook stylesheet.

    The DocBook standard permits a multi-line configuration for adjusting the Table of Contents:

    http://docbook.sourceforge.net/release/xsl/1.78.1/doc/html/generate.toc.html

    Single-lined properties cannot currently be coerced into multi-line properties.

  • [BUG#16] FileNotFoundException: /path/to/docbookx.dtd

    Category: HTML
    Fixed in version: V0.6
    ant4docbook\test\dtd-test>ant compile
    Buildfile: ant4docbook\test\dtd-test\bu
    ild.xml

    compile:
    [dbk] FAIL TO BUILD ant4docbook\test\dtd-test\book.xml (base=)
    [dbk] ant4docbook\test\docbook-xml-4.5\docbookx.dtd (Le chemin dÆaccÞs spÚcifiÚ est introuvable)
    [dbk] FAIL TO PROCESS JDOM : ant4docbook\test\dtd-test\book.xml => ant4docbook\test\dtd-test\_ant4dbk_book.xml.jdom : java.io.FileNotFoundException: ant4docbook\test\docbook-xml-4.5\docbookx.dtd (Le chemin dÆaccÞs spÚcifiÚ est introuvable)

    BUILD FAILED
    ant4docbook\test\dtd-test\build.xml:11:
    java.io.FileNotFoundException: ant4docbook\test\docbook-xml-4.5\docbookx.dtd (Le chemin dÆaccÞs spÚcifiÚ est introuvab
    le)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:120)
    at java.io.FileInputStream.<init>(FileInputStream.java:79)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
    .java:70)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
    nection.java:161)
    at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
    urce)
    at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
    at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source
    )
    at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Sourc
    e)
    at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(
    Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
    known 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 Sour
    ce)
    at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
    at org.jdom.input.SAXBuilder.build(SAXBuilder.java:847)
    at org.jdom.input.SAXBuilder.build(SAXBuilder.java:826)
    at net.sourceforge.ant4docbook.processors.JDomProcessor.process(JDomProc
    essor.java:146)
    at net.sourceforge.ant4docbook.processors.JDomProcessor.processJDom(JDom
    Processor.java:89)
    at net.sourceforge.ant4docbook.processors.JDomProcessor.processJDom(JDom
    Processor.java:70)
    at net.sourceforge.ant4docbook.taskdefs.DocbookTask.execute(DocbookTask.
    java:432)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
    a:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:390)
    at org.apache.tools.ant.Target.performTasks(Target.java:411)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
    cutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    at org.apache.tools.ant.Main.runBuild(Main.java:809)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

    Total time: 0 seconds

  • [BUG#15] Missing DocBook styles in *.docx

    Category: OTHER
    TO FIX
    The *.docx file is processed fine and MS Word opens it without any problems.
    But all text is bounded to the "Standard"-Word-style. All DocBook-Formatting is lost!

    The packaged "word/styles.xml" has no DocBook-style-definitions.

    On the other hand the DocBook-roundtrip-xsls provide style definitions with its template document in another format (WordprocessingML).

    Maybe it would be possible to transfer the WordprocessingML-styles to the docx-word/styles.xml. Or to offer an equal template document for the docx processing.

  • [BUG#14] process warnings regarding logging

    Category: DIST
    TO FIX
    The DocBook *.xml file is processed to *.docx, but I get some warnings regarding the logging (log4j).
    I'm not sure, if all of these INFO lines are supposed to appear during the ant processing.

  • [BUG#13] Transformation of xi:included files is not strictly using UTF-8

    Category: HTML
    TO FIX
    Using the example Files and changing the titles to include some Unicode characters, the transformation leads to unwanted characters in html, epub and pdf-Output.
    ö -> ??
    Ö -> ?ñ
    This is only the case in included files; the including file (xinclude-article.xml) and the entity example work fine.

  • [BUG#12] xinclude fail with freemarker logical && operation

    Category: FREEMARKER
    Fixed in version: V0.5
    [#if cond1 && cond2]
    ...

    [dbk] org.jdom.input.JDOMParseException: Error on line 23: The entity name must immediately follow the '&' in the entity reference.
    [dbk] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:504)
    [dbk] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:888)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolveXIncludeElement(JDOMXIncluder.java:484)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolveNonXIncludeElement(JDOMXIncluder.java:594)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:341)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:277)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:153)
    [dbk] at net.sourceforge.ant4docbook.processors.JDomProcessor.process(JDomProcessor.java:127)
    [dbk] at net.sourceforge.ant4docbook.processors.JDomProcessor.processJDom(JDomProcessor.java:74)
    [dbk] at net.sourceforge.ant4docbook.processors.JDomProcessor.processJDom(JDomProcessor.java:56)
    [dbk] at net.sourceforge.ant4docbook.taskdefs.DocbookTask.execute(DocbookTask.java:452)
    [dbk] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [dbk] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [dbk] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [dbk] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [dbk] at java.lang.reflect.Method.invoke(Method.java:601)
    [dbk] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [dbk] at org.apache.tools.ant.Task.perform(Task.java:348)
    [dbk] at org.apache.tools.ant.Target.execute(Target.java:392)
    [dbk] at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [dbk] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [dbk] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    [dbk] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [dbk] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [dbk] at org.apache.tools.ant.Main.runBuild(Main.java:811)
    [dbk] at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [dbk] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    [dbk] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    [dbk] Caused by: org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 25; The entity name must immediately follow the '&' in the entity reference.
    [dbk] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    [dbk] at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    [dbk] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [dbk] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [dbk] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    [dbk] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    [dbk] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    [dbk] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
    [dbk] ... 27 more
    [dbk] Caused by: org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 25; The entity name must immediately follow the '&' in the entity reference.
    [dbk] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    [dbk] at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    [dbk] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [dbk] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [dbk] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    [dbk] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    [dbk] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    [dbk] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
    [dbk] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:888)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolveXIncludeElement(JDOMXIncluder.java:484)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolveNonXIncludeElement(JDOMXIncluder.java:594)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:341)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:277)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:153)
    [dbk] at net.sourceforge.ant4docbook.processors.JDomProcessor.process(JDomProcessor.java:127)
    [dbk] at net.sourceforge.ant4docbook.processors.JDomProcessor.processJDom(JDomProcessor.java:74)
    [dbk] at net.sourceforge.ant4docbook.processors.JDomProcessor.processJDom(JDomProcessor.java:56)
    [dbk] at net.sourceforge.ant4docbook.taskdefs.DocbookTask.execute(DocbookTask.java:452)
    [dbk] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [dbk] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [dbk] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [dbk] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [dbk] at java.lang.reflect.Method.invoke(Method.java:601)
    [dbk] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [dbk] at org.apache.tools.ant.Task.perform(Task.java:348)
    [dbk] at org.apache.tools.ant.Target.execute(Target.java:392)
    [dbk] at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [dbk] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [dbk] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    [dbk] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [dbk] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [dbk] at org.apache.tools.ant.Main.runBuild(Main.java:811)
    [dbk] at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [dbk] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    [dbk] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    [dbk] Caused by: org.xml.sax.SAXParseException; lineNumber: 23; columnNumber: 25; The entity name must immediately follow the '&' in the entity reference.
    [dbk] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    [dbk] at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    [dbk] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    [dbk] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [dbk] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [dbk] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    [dbk] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    [dbk] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    [dbk] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:489)
    [dbk] at org.jdom.input.SAXBuilder.build(SAXBuilder.java:888)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolveXIncludeElement(JDOMXIncluder.java:484)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolveNonXIncludeElement(JDOMXIncluder.java:594)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:341)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:277)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:153)
    [dbk] at net.sourceforge.ant4docbook.processors.JDomProcessor.process(JDomProcessor.java:127)
    [dbk] at net.sourceforge.ant4docbook.processors.JDomProcessor.processJDom(JDomProcessor.java:74)
    [dbk] at net.sourceforge.ant4docbook.processors.JDomProcessor.processJDom(JDomProcessor.java:56)
    [dbk] at net.sourceforge.ant4docbook.taskdefs.DocbookTask.execute(DocbookTask.java:452)
    [dbk] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [dbk] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [dbk] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [dbk] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [dbk] at java.lang.reflect.Method.invoke(Method.java:601)
    [dbk] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [dbk] at org.apache.tools.ant.Task.perform(Task.java:348)
    [dbk] at org.apache.tools.ant.Target.execute(Target.java:392)
    [dbk] at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [dbk] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [dbk] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    [dbk] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [dbk] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [dbk] at org.apache.tools.ant.Main.runBuild(Main.java:811)
    [dbk] at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [dbk] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    [dbk] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    [dbk] FAIL TO BUILD /home/ben/OpenSource/ant4docbook/tests/resources/dbk/xinclude-article.xml (base=file:/home/ben/OpenSource/ant4docbook/tests/resources/dbk/xinclude-article.xml)
    [dbk] Unresolvable URL xinclude-section1.xml
    [dbk] FAIL TO PROCESS JDOM : /home/ben/OpenSource/ant4docbook/tests/resources/dbk/xinclude-article.xml => /home/ben/OpenSource/ant4docbook/tests/resources/dbk/_ant4dbk_xinclude-article.xml.jdom : com.elharo.xml.xinclude.UnavailableResourceException: Unresolvable URL xinclude-section1.xml

    BUILD FAILED
    /home/ben/OpenSource/ant4docbook/tests/build.xml:50: com.elharo.xml.xinclude.UnavailableResourceException: Unresolvable URL xinclude-section1.xml
    at com.elharo.xml.xinclude.JDOMXIncluder.resolveXIncludeElement(JDOMXIncluder.java:547)
    at com.elharo.xml.xinclude.JDOMXIncluder.resolveNonXIncludeElement(JDOMXIncluder.java:594)
    at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:341)
    at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:277)
    at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:153)
    at net.sourceforge.ant4docbook.processors.JDomProcessor.process(JDomProcessor.java:127)
    at net.sourceforge.ant4docbook.processors.JDomProcessor.processJDom(JDomProcessor.java:74)
    at net.sourceforge.ant4docbook.processors.JDomProcessor.processJDom(JDomProcessor.java:56)
    at net.sourceforge.ant4docbook.taskdefs.DocbookTask.execute(DocbookTask.java:452)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    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:601)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:392)
    at org.apache.tools.ant.Target.performTasks(Target.java:413)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    at org.apache.tools.ant.Main.runBuild(Main.java:811)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

  • [BUG#11] XInclude fails when using DOCTYPE in included xml files

    Category: OTHER
    TO FIX
    Exception "A DocType is not allowed except at the document level" is thrown when e.g. a book x-includes a separate standalone document that has its own DOCTYPE (in order to be a valid DocBook document).

  • [BUG#10] Freemarker resources merges with freemarker classes

    Category: JAR
    TO FIX
    In final jar, ant4docbook resources (freemarker ones) are merged with freemarker, because both of them use the same name directory

  • [BUG#9] Invalid byte 2 of 3-byte UTF-8 sequence

    Category: FREEMARKER
    TO FIX
    Bad encoding while using freemarker preprocessing (UTF8) on windows desktop (windows-1252 ?).

  • [BUG#8] Random maven package (META-INF)

    Category: MAVEN
    Fixed in version: V0.6
    jar with dependancies have random META-INF/services, depending on jar/unjar order.
    It should use ant4docbook ressources at the end, to avoid problems.

  • [BUG#7] Duplicated IDs

    Category: PDF
    TO FIX
    Error while writing same ids : <section id="duplicated-id">

    TODO : detect it

  • [BUG#6] Release fix for "The file format is not supported. No ImagePreloader found for images/stop.jpg (See position 1:43164)"

    Category: PDF
    Fixed in version: V0.4
    It looks like you already have this issue fixed in another ticket. When is this going to be released? I am running into this issue trying to use this and cant go any further. Thanks.

  • [BUG#5] Image not available. Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported

    Category: PDF
    Fixed in version: V0.4
    Error :
    [dbk] Grave: Image not available. URI: file:myfile.jpg. Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for file:myfile.jpg (See position 13:354)

    Docbook file :
    <mediaobject>
    <imageobject>
    <imagedata align="center" fileref="myfile.jpg" format="JPG" />
    </imageobject>
    </mediaobject>

  • [BUG#4] Xslt processing failed with default JRE (thanks to Susanne Wunsch)

    Category: HTML
    Fixed in version: V0.2
    The Docbook Stylsheets are known to have problems with the Default JRE
    because it compiles them using XSLTC. I recommend specifically using
    the Xalan processor and not the default JRE processor.
    (http://www.eclipse.org/forums/index.php?t=msg&goto=226775&)

    So, use another processor
    - xalan : http://www.vogella.de/articles/DocBook/article.html#start_convert
    - or saxon

  • [BUG#3] fo processing failure, due to windows directory permissions

    Category: PDF
    Fixed in version: V0.2
    Fo generated file is empty, because of directory permission.

    res = File.createTempFile("ant4docbook_", ".fo");

    => res = new File(jdomFile.getParent() + File.separator + jdomFile.getName() + ".fo");

  • [BUG#2] xinclude failure on windows

    Category: HTML
    Fixed in version: V0.2
    Xinclude raise an exception on windows

    Steps:
    [dbk] CSS ALREADY EXISTS, SKIP EXPANDING : ~\.ant4docbook\css
    [dbk] DOCBOOK XSL ALREADY EXISTS, SKIP EXPANDING : ~\.ant4docbook\docbook-xsl-1.76.1
    [dbk] FAIL TO BUILD examples\xinclude-article.xml (base=examples\xinclude-article.xml)
    [dbk] com.elharo.xml.xinclude.UnavailableResourceException: Unresolvable URL examples\xinclude-article.xml/[Attribute: href="xinclude-section1.xml"]
    [dbk] com.elharo.xml.xinclude.UnavailableResourceException: Unresolvable URL examples\xinclude-article.xml/[Attribute: href="xinclude-section1.xml"]
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolveXIncludeElement(JDOMXIncluder.java:369)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolveNonXIncludeElement(JDOMXIncluder.java:518)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:319)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:255)
    [dbk] at com.elharo.xml.xinclude.JDOMXIncluder.resolve(JDOMXIncluder.java:140)
    [dbk] at net.sourceforge.ant4docbook.util.JDomProcessor.process(JDomProcessor.java:57)
    [dbk] at net.sourceforge.ant4docbook.taskdefs.DocbookTask.execute(DocbookTask.java:307)
    [dbk] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [dbk] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [dbk] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [dbk] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [dbk] at java.lang.reflect.Method.invoke(Method.java:597)
    [dbk] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [dbk] at org.apache.tools.ant.Task.perform(Task.java:348)
    [dbk] at org.apache.tools.ant.Target.execute(Target.java:390)
    [dbk] at org.apache.tools.ant.Target.performTasks(Target.java:411)
    [dbk] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
    [dbk] at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
    [dbk] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [dbk] at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
    [dbk] at org.apache.tools.ant.Main.runBuild(Main.java:801)
    [dbk] at org.apache.tools.ant.Main.startAnt(Main.java:218)
    [dbk] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    [dbk] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

  • [BUG#1] java.lang.NoClassDefFoundError: org/jdom/Document

    Category: HTML
    Fixed in version: V0.2
    Missing class in distribution