My guess is that your DITA documents have references to external HTML
files and that these references have not been marked as being HTML (i.e.
have not been marked as *not* being DITA).

Example:
---
<xref format="html"
      href="http://dita-ot.sourceforge.net/";>DITA Open Toolkit</xref>
---
Notice that I've added attribute format="html", otherwise the DITA Open
Toolkit thinks "http://dita-ot.sourceforge.net/"; is a DITA file.

Please check not only xref elements, but also any element which is a
reference (e.g. map/topicref).

If I'm right, you should have exactly the same problem if you run the
DITA Open Toolkit using its "ant" scripts from the command line.




Huditsch, Roman (LNG-VIE) wrote:
> 
> Thanks a lot for the help.
> I think we are moving forwards, but unfortunately I am getting an other
> error message now.
> 
> Creating directory "temp"
> Invoking method
> "com.xmlmind.xmleditapp.dita.Ant.run"
> with arguments
> "-buildfile 'C:\Dokumente und Einstellungen\huditsr\Application
> Data\XMLmind\XMLEditor\addon\dita_dtd_config\dost\conductor.xml'
> '-Ddita.dir=C:\Dokumente und Einstellungen\huditsr\Application
> Data\XMLmind\XMLEditor\addon\dita_dtd_config\dost'
> '-Ddita.temp.dir=C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp'
> '-Dclean.temp=no'               '-Ddita.extname=.dita'
> '-Dargs.input=R:\Projektdokumentation\Workflows\GLP_Produktion.ditamap'
> '-Doutput.dir=C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629'
> '-Dargs.fo.img.ext=.jpg'               use-init dita2pdf"
> Buildfile: C:\Dokumente und Einstellungen\huditsr\Application
> Data\XMLmind\XMLEditor\addon\dita_dtd_config\dost\conductor.xml
> 
> use-init:
> 
> start-process:
> 
> init-logger:
> 
> use-init:
> 
> check-arg:
>      [echo]
> *****************************************************************
>      [echo] * basedir = C:\Dokumente und
> Einstellungen\huditsr\Application
> Data\XMLmind\XMLEditor\addon\dita_dtd_config\dost 
>      [echo] * dita.dir = C:\Dokumente und
> Einstellungen\huditsr\Application
> Data\XMLmind\XMLEditor\addon\dita_dtd_config\dost 
>      [echo] * input =
> R:\Projektdokumentation\Workflows\GLP_Produktion.ditamap
>      [echo] * transtype = ${transtype}
>      [echo] * tempdir = C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp
>      [echo] * outputdir = C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629
>      [echo] * extname = .dita
>      [echo] * clean.temp = no
>      [echo] * xslt.parser = SAXON
>      [echo]
> *****************************************************************
> 
> output-deprecated-msg:
> 
> output-css-warn-message:
> 
> start-preprocess:
> 
> clean-temp:
> 
> gen-list-without-flagging:
> 
> gen-list-with-flagging:
> 
> gen-list:
> 
> copy-image:
> 
> copy-html:
> 
> copy-flag:
> 
> copy-generated-files:
>      [copy] Copying 1 file to C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629
> 
> copy-files:
> 
> debug:
> 
> debug-and-filter:
> 
> debug-filter:
> 
> move-index-entries:
> 
> conref:
> 
> mappull:
>      [xslt] Processing
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp\GLP_Produktion.ditamap
> to
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp\GLP_Produktion.ditamap.p
> ull
>      [xslt] Loading stylesheet C:\Dokumente und
> Einstellungen\huditsr\Application
> Data\XMLmind\XMLEditor\addon\dita_dtd_config\dost\xsl\preprocess\mappull
> .xsl
>      [copy] Copying 1 file to
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp
> 
> maplink:
>      [xslt] Processing
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp\GLP_Produktion.ditamap
> to C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp\maplinks.unordered
>      [xslt] Loading stylesheet C:\Dokumente und
> Einstellungen\huditsr\Application
> Data\XMLmind\XMLEditor\addon\dita_dtd_config\dost\xsl\preprocess\maplink
> .xsl
> 
> move-links:
> 
> topicpull:
>      [xslt] Transforming into
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp
>      [xslt] Processing
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp\GLP_Produktion-BGBls.dit
> a to
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp\GLP_Produktion-BGBls.dit
> a.pull
>      [xslt] Loading stylesheet C:\Dokumente und
> Einstellungen\huditsr\Application
> Data\XMLmind\XMLEditor\addon\dita_dtd_config\dost\xsl\preprocess\topicpu
> ll.xsl
>      [xslt] Processing
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp\GLP_Produktion-Erlaesse.
> dita to
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp\GLP_Produktion-Erlaesse.
> dita.pull
>      [xslt] Processing
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp\GLP_Produktion-Normen.di
> ta to
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp\GLP_Produktion-Normen.di
> ta.pull
>      [move] Moving 4 files to
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp
> 
> preprocess:
> 
> dita-preprocess:
> 
> map2pdf:
> 
> dita.map.fo:
>      [xslt] Processing
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp\GLP_Produktion.ditamap
> to
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp\GLP_Produktion_MERGED.xm
> l
>      [xslt] Loading stylesheet C:\Dokumente und
> Einstellungen\huditsr\Application
> Data\XMLmind\XMLEditor\addon\dita_dtd_config\dost\xsl\topicmerge.xsl
>      [xslt] Processing
> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\temp\GLP_Produktion_MERGED.xm
> l to C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\GLP_Produktion.fo
>      [xslt] Loading stylesheet C:\Dokumente und
> Einstellungen\huditsr\Application
> Data\XMLmind\XMLEditor\addon\dita_dtd_config\dost\xsl\dita2fo-shell.xsl
>      [xslt] http://www.w3.org/TR/html4/loose.dtd:31:2: Fatal Error!
> Error reported by XML parser Cause: org.xml.sax.SAXParseException:
> syntax error
>      [xslt] : Warning! org.xml.sax.SAXParseException: syntax error
> Cause: org.xml.sax.SAXParseException: syntax error
>      [xslt] http://www.w3.org/TR/html4/loose.dtd:31:2: Fatal Error!
> Error reported by XML parser Cause: org.xml.sax.SAXParseException:
> syntax error
>      [xslt] : Warning! org.xml.sax.SAXParseException: syntax error
> Cause: org.xml.sax.SAXParseException: syntax error
> 
> dita.fo2pdf:
> 
> dita.fo2pdf.userconfig:
> 
> dita.fo2pdf.nouserconfig:
>       [fop] [INFO] Using com.jclark.xml.sax.SAX2Driver as SAX2 Parser
>       [fop] [INFO] Using com.jclark.xml.sax.SAX2Driver as SAX2 Parser
>       [fop] C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\GLP_Produktion.fo
> -> C:\DOKUME~1\huditsr\LOKALE~1\Temp\xxe62629\GLP_Produktion.pdf
>       [fop] [INFO] building formatting object tree
>       [fop] [INFO] setting up fonts
>       [fop] [INFO] [1]
>       [fop] [INFO] [2]
>       [fop] [INFO] [1]
>       [fop] [INFO] [2]
>       [fop] [INFO] [3]
> 
> BUILD FAILED
> C:\Dokumente und Einstellungen\huditsr\Application
> Data\XMLmind\XMLEditor\addon\dita_dtd_config\dost\conductor.xml:354: The
> following error occurred while executing this line:
> C:\Dokumente und Einstellungen\huditsr\Application
> Data\XMLmind\XMLEditor\addon\dita_dtd_config\dost\ditatargets.xml:120:
> The following error occurred while executing this line:
> C:\Dokumente und Einstellungen\huditsr\Application
> Data\XMLmind\XMLEditor\addon\dita_dtd_config\dost\ditatargets.xml:134:
> org.apache.fop.apps.FOPException:
> file:/C:/DOKUME~1/huditsr/LOKALE~1/Temp/xxe62629/GLP_Produktion.fo:210:3
> 7 internal-destination or external-destination must be specified in
> basic-link
> 
> 
> I must confess that I have nearly no experience with DITA, but all my
> dita files are shown as valid...

Reply via email to