RNG: @xml-lang causes related links error
Posted: Fri Feb 20, 2015 1:41 pm
Hi,
When running a PDF transformation on the below DITA RNG files I get the following four error messages:
DITA-OT error messages
This is probably a bug with the RNG processing as there are no related links defined in the map.
Kind regards,
Frank
DITA RNG test files
When running a PDF transformation on the below DITA RNG files I get the following four error messages:
DITA-OT error messages
Code: Select all
[DOTX067E]: No string named 'Related concepts' was found for language 'de-DE'. Add a mapping for the string 'Related concepts'. The location of this problem was at (File = RNG_topic_with_xml-lang.dita, Element = topic:1;4:47)
[DOTX067E]: No string named 'Related tasks'...
[DOTX067E]: No string named 'Related references' ...
[DOTX067E]: No string named 'Related information' ...
Kind regards,
Frank
DITA RNG test files
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="urn:dita-ng:dita:rng:map.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<map>
<title>DITA Topic Map</title>
<topicref href="RNG_topic_with_xml-lang.dita" />
</map>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="urn:dita-ng:dita:rng:topic.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="urn:dita-ng:dita:rng:topic.rng" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<topic id="topic_yhf_htf_dr" xml:lang="de-DE">
<title>DITA RNG Topic</title>
<body>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</body>
</topic>