Actions
Bug #2824
closedStringIndexOutOfBoundsException: String index out of range: -3 exception thrown
Start date:
2016-07-05
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.6, 9.7, trunk
Fix Committed on Branch:
9.6, 9.7, trunk
Description
The following QT3 test case @eqname-907@:
Q{http://www.w3.org/2005/xpath-functions/math pi()
Which tests incorrect syntax in EQName throws the following exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: -3
at java.lang.String.substring(String.java:1937)
at net.sf.saxon.expr.parser.Tokenizer.lookAhead(Tokenizer.java:840)
at net.sf.saxon.expr.parser.Tokenizer.tokenize(Tokenizer.java:204)
at net.sf.saxon.query.XQueryParser.parseQuery(XQueryParser.java:391)
at net.sf.saxon.query.XQueryParser.makeXQueryExpression(XQueryParser.java:156)
at net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:589)
at net.sf.saxon.s9api.XQueryCompiler.compile(XQueryCompiler.java:556)
Updated by O'Neil Delpratt over 7 years ago
- Category set to Internals
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Applies to branch 9.6 added
- Fix Committed on Branch 9.6, 9.7, 9.8 added
Bug fixed in the Tokenizer class. Check added to check offset of closing brace.
Updated by O'Neil Delpratt over 7 years ago
- Fixed in Maintenance Release 9.7.0.7 added
Bug fix applied in the Saxon 9.7.0.7 maintenance release.
Updated by O'Neil Delpratt over 7 years ago
- Status changed from Resolved to Closed
- Fixed in Maintenance Release 9.6.0.10 added
Bug fix applied on the Saxon 9.6.0.10 maintenance release.
Updated by O'Neil Delpratt almost 7 years ago
- Applies to branch trunk added
- Applies to branch deleted (
9.8)
Updated by O'Neil Delpratt almost 7 years ago
- Fix Committed on Branch trunk added
- Fix Committed on Branch deleted (
9.8)
Please register to edit this issue
Actions