You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generating DocBook output for the sample files included in distribution packages yields invalid XML.
For example, the output generated for sequence.ditamap in docsrc/samples via:
dita -input sequence.ditamap -f docbook
generates a sequence.xml file that begins as follows:
<article>Working in the garage<para/>
<sectionremap="task"id="changeoil">
<titleid="ttld9e9"remap="title">Changing the oil in your car</title>
The map's @title attribute (<map title="Working in the garage">) is placed as character data in the <article> element followed by a self-closing <para/> tag, which triggers a validation error:
E [Xerces] Unexpected character data "Working in the garage".
The content of the parent element type is element only.
For valid XML, the map title should appear in the article <title>:
<article>
<title>Working in the garage</title>
<sectionremap="task"id="changeoil">
<titleid="ttld9e9"remap="title">Changing the oil in your car</title>
The text was updated successfully, but these errors were encountered:
Generating DocBook output for the sample files included in distribution packages yields invalid XML.
For example, the output generated for
sequence.ditamap
indocsrc/samples
via:generates a
sequence.xml
file that begins as follows:The map's
@title
attribute (<map title="Working in the garage">
) is placed as character data in the<article>
element followed by a self-closing<para/>
tag, which triggers a validation error:For valid XML, the map title should appear in the article
<title>
:The text was updated successfully, but these errors were encountered: