Bug #3925
Updated by Michael Kay about 6 years ago
With the attached files, Saxon 9.8.0.14 generates the output successfully: ~~~ C:\test>java -jar SaxonEE9-8-0-14J\saxon9ee.jar -config:config.xml -s:test.xml -t -xsl:test.xsl Saxon-EE 9.8.0.14J from Saxonica ... <?xml version="1.0" encoding="UTF-8"?><title xmlns="test">test</title>Execution time: 387.1993ms Memory used: 10,353,184 ~~~ But 9.9 fails: ~~~ C:\test>java -jar SaxonEE9-9-0-1J\saxon9ee.jar -config:config.xml -s:test.xml -t -xsl:test.xsl Saxon-EE 9.9.0.1J from Saxonica ... Validation error in test.xml: FORG0001: Character data is not allowed: element <title> has an empty content model Validating /title[1] Currently processing in file:/C:/test/test.xml See http://www.w3.org/TR/xmlschema11-1/#cvc-complex-type clause 2.1 Error evaluating (xsl:copy-of) in xsl:copy-of/@select on line 8 column 49 of test.xsl: XTTE1510: One validation error was reported: Character data is not allowed: element <title> has an empty content model One validation error was reported: Character data is not allowed: element <title> has an empty content model ~~~