Commit 5f1e8b8
committed
Java: update newSchemaFactory to the merged Commons XML 0.1.0 API
apache/commons-xml#32 replaced the no-argument newSchemaFactory() with
newSchemaFactory(String schemaLanguage), without keeping an overload.
Update the 0.1.0 stub and the XXE test accordingly, as suggested by
Copilot. The QL model matches the method by name, so no query or
library changes are needed.
Assisted-By: Claude Fable 5 <noreply@anthropic.com>1 parent dc16cbe commit 5f1e8b8
2 files changed
Lines changed: 3 additions & 2 deletions
File tree
- java/ql/test
- query-tests/security/CWE-611
- stubs/apache-commons-xml-0.1.0/org/apache/commons/xml
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | | - | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments