Closed twagoo closed 8 years ago
The issue:
System ID: /Users/twan/Documents/Repositories/git/cmdi-toolkit/src/main/resources/toolkit/downgrade/cmd-component-1_2-to-1_1.xsl
Scenario: cmdi12-downgrade-record
XML file: /Users/twan/Desktop/clarin.eu-cr1-p_1469541567396.xml
XSL file: /Users/twan/Documents/Repositories/git/cmdi-toolkit/src/main/resources/toolkit/downgrade/cmd-component-1_2-to-1_1.xsl
Engine name: Saxon-HE 9.6.0.7
Severity: fatal
Description: XTDE0410: An attribute node (Documentation) cannot be created after a child of the containing element. Most recent element start tag was output at line 37 of module cmd-component-1_2-to-1_1.xsl
Start location: 76:0
URL: http://www.w3.org/TR/xslt20/#err-XTDE0410
See clarin.eu:cr1:p_1469541567396 for an example. It ends like this:
whereas the CMDI 1.2 version has
Most likely something goes wrong in the CMDI 1.2 to 1.1 downgrade transformation. I will have a look at it asap.