Actions
Bug #3925
closedValidation that succeeds under 9.8 fails under 9.9
Start date:
2018-09-29
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.8, 9.9
Fix Committed on Branch:
9.8, 9.9
Description
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
Please register to edit this issue
Actions