Stéphane Nicoll
4ff8c2ce4d
Merge branch '4.1.x'
...
Closes gh-1573
2025-05-19 09:25:23 +02:00
Dmytro Nosan
39dbe80385
Make loading of schemas in SimpleXsdSchema thread-safe
...
Before this commit, SimpleXsdSchema had a reference to
an instance of `org.w3c.dom.Element`, which is not thread safe.
This causes issues when multiple clients are requesting
the schema file simultaneously.
This commit updates SimpleXsdSchema to always create
a new `ResourceSource` from an XSD Resource whenever getSource is requested.
See gh-1556
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com >
2025-05-19 09:15:52 +02:00
Stéphane Nicoll
7961ac0d99
Remove deprecated code
...
Closes gh-1560
2025-05-14 15:43:24 +02:00
Stéphane Nicoll
185a637bca
Polish
2025-05-06 09:04:18 +02:00
Stéphane Nicoll
03b5f0057f
Harmonize visibility of test classes and methods
...
Closes gh-1550
2025-04-21 17:36:00 +02:00
Stéphane Nicoll
772549084e
Harmonize suffix of test classes
...
Closes gh-1528
2025-04-18 11:40:44 +02:00
Stéphane Nicoll
eeccbce5b8
Harmonize code format
...
Closes gh-1496
2025-03-11 14:31:03 +01:00
Stéphane Nicoll
57e3880ce3
Add utility to create a org.xml.sax.XMLReader
...
Closes gh-1471
2025-03-08 12:22:15 +01:00
Stéphane Nicoll
4103d90541
Review checkstyle rules of spring-xml
...
See gh-1479
2025-03-07 15:36:50 +01:00
Stéphane Nicoll
ae5b46018f
Reorder Javadoc tags consistently
...
See gh-1479
2025-03-07 15:36:50 +01:00
Stéphane Nicoll
00e1e68062
Mark private classes final
...
See gh-1479
2025-03-07 15:36:50 +01:00
Stéphane Nicoll
360f52379b
Add new line between header and package statement
...
See gh-1479
2025-03-07 15:36:50 +01:00
Stéphane Nicoll
60ec66ce79
Add 'this.' for field access
...
See gh-1479
2025-03-07 15:36:49 +01:00
Stéphane Nicoll
bc0168f4b2
Format XML code consistently
...
In particular, this commit uses tabs consistently, rather than spaces.
2025-03-06 18:20:12 +01:00
Stéphane Nicoll
d0800f1ae6
Optimize imports
2025-03-05 10:11:44 +01:00
Stéphane Nicoll
a395d8215c
Clean logging configuration in tests
...
Use log4j (2) consistently and remove old log4j 1 configuration.
Closes gh-1476
2025-03-04 17:56:22 +01:00
Stéphane Nicoll
3a60f3638e
Polish
2025-02-27 15:32:54 +01:00
Stéphane Nicoll
4ffe014733
Fix Javadoc errors
...
See gh-1467
2025-02-27 14:12:39 +01:00
Stéphane Nicoll
5a1e5028cb
Adapt to deprecation
2025-02-27 09:50:04 +01:00
Andy Wilkinson
fb4ab827c5
Name test classes consistently
...
Closes gh-1468
2025-02-26 16:02:07 +01:00
Stéphane Nicoll
da47205e58
Review Javadoc
...
Closes gh-1467
2025-02-26 15:28:51 +01:00
Andy Wilkinson
61c375c905
Use package-info.java instead of package.html
...
Closes gh-1460
2025-02-22 09:27:15 +01:00
Stéphane Nicoll
00aca5b677
Harmonize copyright headers
2025-02-19 14:34:27 +01:00
Stéphane Nicoll
fdede99aa0
Format code with spring-javaformat
...
This commit configures the build to use spring-javaformat and makes a
first pass to format the code of the project. As part of this, imports
have been optimized, and the license header has been harmonized.
Closes gh-1458
2025-02-19 14:17:06 +01:00
Corneil du Plessis
e938c7cc7e
Bump versions of dependencies. ( #1411 )
...
Update test for newer AssertJ.
2024-05-09 12:38:16 +02:00
Johnny Lim
4c241785e7
Support jar:nested in SchemaFactoryUtils ( #1401 )
...
* Support jar:nested in SchemaFactoryUtils
Closes gh-1393
* Update SchemaFactoryUtils
Required nested not jar:nested
---------
Co-authored-by: Corneil du Plessis <corneil.duplessis@gmail.com >
2024-01-03 13:20:15 +02:00
hduelme
151ff2872a
Use List.addAll() instead of iteration.
...
Resolves #1336 .
2023-04-05 15:02:27 -05:00
hduelme
4338acf2a8
Simplify SimpleNamespaceContext.
...
Take advantage of Java's newer Map APIs to better handle creation maps, inserting absent values, and then testing them.
Resolves #1308 .
2023-02-06 16:27:07 -05:00
Greg L. Turnquist
1fa1365817
Polishing.
...
All of these instanceof checks can also take advantage of Java 17's pattern matching instanceof operator.
Related: #1326 .
2023-02-06 16:20:11 -05:00
hduelme
a7a2726194
Remove null checks from instanceof checks.
...
As of Java 11, the Jave language officially declares that instanceof checks include a null check, hence no need to do them in our code.
Resolves #1326 .
2023-02-06 16:13:43 -05:00
hdulme
e22ea7c46c
Inline the creation of a new TransformerFactory.
...
Resolves #1303 .
2023-01-05 13:13:18 -06:00
hdulme
bde18f52af
Collapse identical catch branches.
...
Also take advantage of Java's try-with-resources feature.
Resolves #1248 .
2022-11-16 11:00:16 -06:00
Greg L. Turnquist
5beca4627e
Update copyright headers.
2022-11-02 10:40:23 -05:00
Greg L. Turnquist
84a1b79436
Upgrade to Jakarta EE 9.
...
Resolves #1213 .
2021-11-01 14:39:35 -05:00
Greg L. Turnquist
2254b0f789
#1159 - Upgrade to JUnit 5 and AssertJ.
...
Also upgrade XMLUnit to the 2.x version, using its AssertJ integration.
2020-10-20 14:55:57 -05:00
Greg L. Turnquist
d24b4fb5d5
#1160 - Update code style.
2020-09-29 20:40:54 -05:00
Greg L. Turnquist
2a18b1d926
SWS-1090 - Add support for 'wsjar' protocol.
2020-09-14 12:34:34 -05:00
Greg Turnquist
a16fcaae77
SWS-1050 - Warn if property doesn't exist.
...
Original pull request: #128
2019-01-11 12:13:43 -06:00
Greg Turnquist
1f05307d61
SWS-1049 - Replace direct API usage with better defaults.
2019-01-09 22:37:41 -06:00
Greg Turnquist
fdf638a813
SWS-1036 - Make SimpleXsdSchema's toString more resilient
2018-09-11 17:05:00 -05:00
Greg Turnquist
0d814c0352
SWS-1020 - Add support for Java 10
...
* Introduce build profile targeting Java 10
* Augment CI jobs to test against Java 10 JDK
2018-05-16 16:40:41 -05:00
Michal Bernhard
20de2e1583
SWS-988 - Fix typo in assertion message
...
Original pull-request: https://github.com/spring-projects/spring-ws/pull/67
2017-05-22 09:57:42 -05:00
Uxio
420e795607
SWS-948 Fix typo (duplicated the)
2016-02-11 14:28:44 -06:00
Greg Turnquist
396854d108
SWS-879 Add toString() to XPathExpressionFactories
2016-01-26 16:33:34 -06:00
Philippe Marschall
3c7a6b9911
SWS-921 Use varargs for XSD schemas
...
XML schema validation accepting multiple schemas currently uses arrays
of Resource objects. They would be a bit easier and more succinct to
use if the setters were switched to varargs. Such a change would be
backwards compatible.
This change includes:
* change AbstractValidatingInterceptor#setSchemas to use varargs
* change the CommonsXsdSchemaCollection constructor to use varargs
* change CommonsXsdSchemaCollection.setXsds to use varargs
* update the tests to use varargs
Issue: SWS-921
https://jira.spring.io/browse/SWS-921
2015-10-19 14:39:35 -05:00
Philippe Marschall
80bd84594e
SWS-920 Fix javadoc warnings
...
Javadoc generation produces various warnings resulting in suboptimal
output.
This patch includes:
* fix markup
* fix broken references
* fix links to external documentation
* fix wrong javadoc
Issue: SWS-920
https://jira.spring.io/browse/SWS-920
2015-10-03 16:43:56 +02:00
Arjen Poutsma
7d64bebd19
Converted spaces to tabs
...
This commit changes leading spaces in all Java source files to tabs, to
be consistent with other Spring projects.
2015-03-18 09:54:51 +01:00
Arjen Poutsma
12a10a34f1
Bumped up compile warnings
...
Bumped up the compiler warning to errors.
2014-04-24 14:22:39 +02:00
Arjen Poutsma
bbc6bf5f60
Fixing javadoc
2014-04-16 17:30:39 +02:00
Arjen Poutsma
da629278e6
Added @Override annotation to interface implementations
2014-04-14 16:08:00 +02:00