Error message "Value of {cdata-section-elements} must be a list of QNames in '{uri}local' notation" when using Saxon 9
Posted: Sun Jun 12, 2016 11:32 pm
When trying to run Saxon 9.6.0.7 HE with oXygen 18 against a stylesheet having
I get an error saying
I can't reproduce that problem using the same Saxon version with Java from the command line.
Here is the complete reduced test case:
A sample input document is
Code: Select all
<xsl:output cdata-section-elements="MASTER_COMMENTS"/>
Code: Select all
Description: Value of {cdata-section-elements} must be a list of QNames in '{uri}local' notation
Here is the complete reduced test case:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output cdata-section-elements="MASTER_COMMENTS"/>
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<MASTER_COMMENTS>
<![CDATA[<pre> Nice Work done </pre>]]>
</MASTER_COMMENTS>