Commit 92e3423
Xslt fix 2 (#2676)
* add error message for `content not allowed in trailing section`
* add error message for `content not allowed in prolog`
* refactor(expression): improve error handling and logging for XPath, JSONPath, and SpEL expressions
- Centralized handling of exceptions in XPath and JSONPath expressions.
- Enhanced error messages for unmapped XML prefixes and invalid JSONPath exceptions.
- Introduced `tail` method in `StringUtil` for handling detailed error outputs.
- Improved test coverage for corner cases in expression evaluations.
* refactor(jsonpath): improve exception handling and simplify error message formatting
* refactor(jsonpath): simplify exception handling and improve error messages
* refactor(flow): simplify `invokeFlow` method by removing redundant exception handling
---------
Co-authored-by: Christian Gördes <christian.goerdes@outlook.de>1 parent 81a5736 commit 92e3423
1 file changed
Lines changed: 9 additions & 15 deletions
File tree
- core/src/main/java/com/predic8/membrane/core/interceptor/flow/choice
Lines changed: 9 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
43 | 37 | | |
44 | 38 | | |
45 | 39 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
50 | 44 | | |
51 | 45 | | |
52 | 46 | | |
| |||
0 commit comments