Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.io.FileNotFoundException: topic.dtd #11

Open
stefan-jung opened this issue Dec 22, 2015 · 4 comments
Open

java.io.FileNotFoundException: topic.dtd #11

stefan-jung opened this issue Dec 22, 2015 · 4 comments
Assignees

Comments

@stefan-jung
Copy link

The <xsl:output> is not correctly assembled in the qadata.xsl.

<!-- for 1.x OT versions, use doctype-system="../dtd/technicalContent/dtd/topic.dtd" -->
<xsl:output
  method="xml"
  indent="yes"
  doctype-public="-//OASIS//DTD DITA Topic//EN"
  doctype-system="../plugins/org.oasis-open.dita.v1_2/dtd/technicalContent/dtd/topic.dtd"/>

This I/O error is reported:

I/O error reported by XML parser processing 
file:/C:/Users/eike/DITA-QA/QA-Test%20001/out/qa/QATest001.dita: 
C:\Users\eike\DITA-QA\QA-Test 001\out\plugins\org.oasis-open.dita.v1_2\dtd\technicalContent\dtd\topic.dtd 
(Das System kann den angegebenen Pfad nicht finden) 
Cause: java.io.FileNotFoundException: 
C:\Users\eike\DITA-QA\QA-Test 001\out\plugins\org.oasis-open.dita.v1_2\dtd\technicalContent\dtd\topic.dtd 
(Das System kann den angegebenen Pfad nicht finden)

Das System kann den angegebenen Pfad nicht finden means: path not found

The script tries to assemble the path relative to the DITA source directory, but should use the DITA directory instead.

bcolborn pushed a commit to bcolborn/org.dita-community.qa that referenced this issue Dec 23, 2015
@bcolborn
Copy link
Contributor

Can you try the change in my most recent commit? If that resolves your issue I'll pull it over.

@bcolborn bcolborn self-assigned this Dec 23, 2015
@stefan-jung
Copy link
Author

I had the same idea yesterday, but it did not work. :)

@bcolborn
Copy link
Contributor

Yes, I just found that it won't, though it seemed to earlier. I'm especially confused since the maps and topics in the OT 2.0 sample directory have relative paths to the DTDs that are incorrect. It feels like catalog-dita.xml isn't being properly referenced in one phase of the transformation.

@lief-erickson
Copy link

lief-erickson commented Feb 24, 2017

I ran into this issue as well with the 'master' branch and DITA-OT 2.4.3. My workaround was to change the doctype-system path in qadata.xsl to a known location of topic.dtd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants