Actions
Bug #6598
openjava.lang.ArrayIndexOutOfBoundsException processing 1.0 stylesheet
Start date:
2024-11-27
Due date:
% Done:
0%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
Processing the XSLT 4.0 schema with the W3C's (1.0) xsd.xsl
issues an error message then throws an exception:
Warning: /xs:schema/xs:defaultOpenContent not matched.
Warning: /xs:schema/xs:defaultOpenContent/xs:any not matched.
Warning: /xs:schema/xs:defaultOpenContent/xs:any/@processContents not matched.
Error at xsl:copy on line 676 column 14 of xsd.xsl:
XTDE0410 An attribute node (processContents) cannot be created after a child of the
containing element. Most recent element start tag was output at line 674 of module xsd.xsl
In template rule with match="@*" on line 668 of xsd.xsl
Focus
Context item: /xs:schema/xs:defaultOpenContent[1]/xs:any[1]/@processContents
Context position: 1
Local variables
$fqgi = doc()
invoked by xsl:apply-templates at file:/Volumes/Saxonica/src/qt4cg/qtspecs/xsd.xsl#677
In template rule with match="*" on line 668 of xsd.xsl
Focus
Context item: /xs:schema/xs:defaultOpenContent[1]/xs:any[1]
Context position: 4
Local variables
$fqgi = doc()
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at com.saxonica.ee.config.SlotManagerEE.showStackFrame(SlotManagerEE.java:82)
at net.sf.saxon.lib.StandardDiagnostics.logStackTrace(StandardDiagnostics.java:279)
at net.sf.saxon.lib.StandardErrorReporter.outputStackTrace(StandardErrorReporter.java:634)
Files
Please register to edit this issue
Actions