docbook / xslt10-stylesheets

XSLT 1.0 Stylesheets for DocBook
97 stars 76 forks source link

db4-upgrade.xsl failed to convert programlisting contents #260

Open strk opened 1 year ago

strk commented 1 year ago

The tag was:

<programlisting><![CDATA[x && y]]></programlisting>

It was converted to:

<programlisting>x &&amp; y</programlisting>

Then validator failed to parse it (xmlParseEntityRef: no name)

The conversion was done with the xsl/tools/xsl/build/db4-upgrade.xsl script as of current master branch (efd62655c11cc8773708df7a843613fa1e932bf8)