Skip to content

[bugfix] Fix // followed by reverse axis step being misinterpreted

4e543e4
Select commit
Loading
Failed to load commit list.
Open

Fix XQuery 3.1 compliance: casting, error codes, fn:not, path dedup, format-date, and more #6207

[bugfix] Fix // followed by reverse axis step being misinterpreted
4e543e4
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Apr 13, 2026 in 0s

5 new issues (0 max.) of at least severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 5
           

Complexity increasing per file
==============================
- exist-core/src/test/java/org/exist/xquery/functions/fn/FunNotBenchmark.java  17
         

Clones added
============
- exist-core/src/main/java/org/exist/xquery/util/DocUtils.java  1
- exist-core/src/main/java/org/exist/xquery/functions/fn/JSON.java  3
         

Clones removed
==============
+ exist-core/src/main/java/org/exist/xquery/functions/fn/FnFormatNumbers.java  -10
         

See the complete overview on Codacy

Annotations

Check notice on line 355 in exist-core/src/main/java/org/exist/util/Collations.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/main/java/org/exist/util/Collations.java#L355

Use one line for each declaration, it enhances code readability.

Check notice on line 229 in exist-core/src/main/java/org/exist/xquery/functions/fn/JSON.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/main/java/org/exist/xquery/functions/fn/JSON.java#L229

Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException'

Check notice on line 233 in exist-core/src/main/java/org/exist/xquery/functions/fn/JSON.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/main/java/org/exist/xquery/functions/fn/JSON.java#L233

Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.IOException'

Check notice on line 181 in exist-core/src/main/java/org/exist/xquery/util/DocUtils.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/main/java/org/exist/xquery/util/DocUtils.java#L181

Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.InputStream'

Check notice on line 104 in exist-core/src/test/java/org/exist/xquery/functions/fn/FunNotBenchmark.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/functions/fn/FunNotBenchmark.java#L104

Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.