Page 1 of 1

<xref> in <dt> causing warnings (DITA-OT 1.4.3)

Posted: Fri May 01, 2009 5:54 am
by Nicolas
Hi,

This is more or less crossposted from: http://tech.groups.yahoo.com/group/dita ... sage/14066

My dita file looks like this:
<dl >
<dlentry>
<dt>
<xref href="my_file.dita" scope="local"> my_file </xref>
</dt>
<dd>Short description</dd>
</dlentry>
</dl>

And here is the corresponding log:

dita.inner.topics.xhtml:
[xslt] Transforming into C:\Users\nsenechal\workspace_342\test\out
[xslt] Processing C:\Users\nsenechal\workspace_342\test\temp\list.xml to
C:\Users\nsenechal\workspace_342\test\out\list.html
[xslt] Loading stylesheet
C:\eclipses\eclipse_3.4.2\dropins\com.oxygenxml.editor_10.2.0\plugins\com.oxygen\
xml.editor_10.2.0\frameworks\dita\DITA-OT\xsl\dita2xhtml.xsl
[xslt] : Warning! Failure reading
file:/C:/eclipses/eclipse_3.4.2/dropins/com.oxygenxml.editor_10.2.0/plugins/com.\
oxygenxml.editor_10.2.0/frameworks/dita/DITA-OT/xsl/xslhtml/keydef.xml Cause:
java.io.FileNotFoundException:
C:\eclipses\eclipse_3.4.2\dropins\com.oxygenxml.editor_10.2.0\plugins\com.oxygen\
xml.editor_10.2.0\frameworks\dita\DITA-OT\xsl\xslhtml\keydef.xml (The system
cannot find the file specified)
[xslt] : Warning! Failure reading
file:/C:/eclipses/eclipse_3.4.2/dropins/com.oxygenxml.editor_10.2.0/plugins/com.\
oxygenxml.editor_10.2.0/frameworks/dita/DITA-OT/xsl/xslhtml/keydef.xml Cause:
java.io.FileNotFoundException:
C:\eclipses\eclipse_3.4.2\dropins\com.oxygenxml.editor_10.2.0\plugins\com.oxygen\
xml.editor_10.2.0\frameworks\dita\DITA-OT\xsl\xslhtml\keydef.xml (The system
cannot find the file specified)
[xslt] : Warning! Failure reading
file:/C:/eclipses/eclipse_3.4.2/dropins/com.oxygenxml.editor_10.2.0/plugins/com.\
oxygenxml.editor_10.2.0/frameworks/dita/DITA-OT/xsl/xslhtml/.xml Cause:
java.io.FileNotFoundException:
C:\eclipses\eclipse_3.4.2\dropins\com.oxygenxml.editor_10.2.0\plugins\com.oxygen\
xml.editor_10.2.0\frameworks\dita\DITA-OT\xsl\xslhtml\.xml (The system cannot
find the file specified)
[xslt] Processing C:\Users\nsenechal\workspace_342\test\temp\reference.xml
to C:\Users\nsenechal\workspace_342\test\out\reference.html


The error actually comes fom dita2htmlImpl.xsl, template from line 5278 to line 5294. I believe the two first warnings are linked with KEYREF_FILE not being set to the correct value. I believe the third warning is more a toolkit poblem.

Can you please try to reproduce?

Thanks.

Nicolas

Re: <xref> in <dt> causing warnings (DITA-OT 1.4.3)

Posted: Fri May 01, 2009 4:43 pm
by sorin_ristache
Hello,
Nicolas wrote:[xslt] : Warning! Failure reading
file:/C:/eclipses/eclipse_3.4.2/dropins/com.oxygenxml.editor_10.2.0/plugins/com.\
oxygenxml.editor_10.2.0/frameworks/dita/DITA-OT/xsl/xslhtml/keydef.xml Cause:
java.io.FileNotFoundException:
C:\eclipses\eclipse_3.4.2\dropins\com.oxygenxml.editor_10.2.0\plugins\com.oxygen\
xml.editor_10.2.0\frameworks\dita\DITA-OT\xsl\xslhtml\keydef.xml (The system
cannot find the file specified)
[xslt] : Warning! Failure reading
file:/C:/eclipses/eclipse_3.4.2/dropins/com.oxygenxml.editor_10.2.0/plugins/com.\
oxygenxml.editor_10.2.0/frameworks/dita/DITA-OT/xsl/xslhtml/keydef.xml Cause:
java.io.FileNotFoundException:
C:\eclipses\eclipse_3.4.2\dropins\com.oxygenxml.editor_10.2.0\plugins\com.oxygen\
xml.editor_10.2.0\frameworks\dita\DITA-OT\xsl\xslhtml\keydef.xml (The system
cannot find the file specified)
Thank you for reporting the problem but I do not get this error. I inserted a definition list (dl) element in a topic file and I transformed the DITA map that included the topic with both DITA-OT 1.4.3 (Oxygen 10.2) and DITA-OT 1.4.2.1 (Oxygen 10.1). Maybe it depends on the values of the attributes @keys and @href from your DITA files. Can you send us a set of sample files for reproducing the error?


Thank you,
Sorin