Actions
Bug #4459
closedArrayIndexOutOfBoundsException at net.sf.saxon.serialize.HTMLIndenter.comment
Start date:
2020-02-17
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.9, trunk
Fix Committed on Branch:
9.9, trunk
Fixed in Maintenance Release:
Platforms:
Description
The attached files lead to this exception:
C:\test>java -jar saxon9ee.jar -s:test.xml -t -xsl:test.xsl
Saxon-EE 9.9.1.6J from Saxonica
...
java.lang.ArrayIndexOutOfBoundsException: 20
at net.sf.saxon.serialize.HTMLIndenter.comment(HTMLIndenter.java:242)
at net.sf.saxon.event.ProxyReceiver.comment(ProxyReceiver.java:210)
at net.sf.saxon.event.ProxyReceiver.comment(ProxyReceiver.java:210)
at net.sf.saxon.event.ProxyReceiver.comment(ProxyReceiver.java:210)
at net.sf.saxon.event.SequenceNormalizer.comment(SequenceNormalizer.java:214)
at net.sf.saxon.event.ProxyReceiver.comment(ProxyReceiver.java:210)
at net.sf.saxon.event.ComplexContentOutputter.comment(ComplexContentOutputter.java:576)
at net.sf.saxon.tree.tiny.TinyElementImpl.copy(TinyElementImpl.java:474)
at net.sf.saxon.tree.tiny.TinyDocumentImpl.lambda$copy$0(TinyDocumentImpl.java:297)
at net.sf.saxon.om.SequenceIterator.forEachOrFail(SequenceIterator.java:128)
at net.sf.saxon.tree.tiny.TinyDocumentImpl.copy(TinyDocumentImpl.java:297)
at net.sf.saxon.trans.rules.DeepCopyRuleSet.process(DeepCopyRuleSet.java:63)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:495)
at net.sf.saxon.trans.XsltController.applyTemplates(XsltController.java:746)
at net.sf.saxon.s9api.AbstractXsltTransformer.applyTemplatesToSource(AbstractXsltTransformer.java:347)
at net.sf.saxon.s9api.Xslt30Transformer.applyTemplates(Xslt30Transformer.java:311)
at net.sf.saxon.Transform.processFile(Transform.java:1283)
at net.sf.saxon.Transform.doTransform(Transform.java:815)
at net.sf.saxon.Transform.main(Transform.java:80)
Fatal error during transformation: java.lang.ArrayIndexOutOfBoundsException: 20
Files
Please register to edit this issue
Actions