Commit 31cfed4
Issue #85 Remove strict/lenient complexity, implement RFC-only approach
Simplified the JTD implementation to follow RFC 8927 exactly:
**Removed:**
- Strict/lenient mode complexity (-Djtd.strict system property)
- SKIPPED_TESTS set and conditional test skipping
- Complex metrics with skipped test counting
- Lenient mode logging and failure handling
**Simplified:**
- Single test execution path - all tests must pass
- Clean metrics: total/passed/failed only
- Direct test failure reporting without mode conditions
- Architecture docs updated to remove strict/lenient references
**What remains:**
- Official JTD Test Suite (365 tests): validation.json + invalid_schemas.json
- RFC-compliant error format: instancePath + schemaPath
- Single command: $(command -v mvnd || command -v mvn || command -v ./mvnw) test -pl json-java21-jtd -Dtest=JtdSpecIT
- Comprehensive /// javadoc documentation
This follows the RFC specification without additional complexity.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent c837c25 commit 31cfed4
File tree
2 files changed
+16
-27
lines changed- json-java21-jtd
- src/test/java/json/java21/jtd
2 files changed
+16
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
267 | 276 | | |
268 | 277 | | |
269 | 278 | | |
| |||
Lines changed: 7 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | 70 | | |
72 | 71 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 72 | | |
79 | 73 | | |
80 | 74 | | |
81 | 75 | | |
82 | 76 | | |
83 | | - | |
84 | 77 | | |
85 | 78 | | |
86 | 79 | | |
87 | | - | |
88 | | - | |
| 80 | + | |
| 81 | + | |
89 | 82 | | |
90 | | - | |
91 | | - | |
92 | | - | |
| 83 | + | |
| 84 | + | |
93 | 85 | | |
94 | 86 | | |
95 | 87 | | |
96 | 88 | | |
97 | | - | |
| 89 | + | |
98 | 90 | | |
99 | 91 | | |
100 | 92 | | |
| |||
181 | 173 | | |
182 | 174 | | |
183 | 175 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | 176 | | |
193 | 177 | | |
194 | 178 | | |
| |||
214 | 198 | | |
215 | 199 | | |
216 | 200 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
| 201 | + | |
222 | 202 | | |
223 | 203 | | |
224 | 204 | | |
| |||
0 commit comments