diff --git a/apps/rest-showcase/src/main/resources/struts.xml b/apps/rest-showcase/src/main/resources/struts.xml index a8991da66..b4515186f 100644 --- a/apps/rest-showcase/src/main/resources/struts.xml +++ b/apps/rest-showcase/src/main/resources/struts.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> @@ -41,4 +41,4 @@ index,show,create,update,destroy,deleteConfirm,edit,editNew - \ No newline at end of file + diff --git a/apps/showcase/src/main/resources/org/apache/struts2/showcase/LotsOfRichtexteditorAction-lotsOfRichtexteditorSubmit-validation.xml b/apps/showcase/src/main/resources/org/apache/struts2/showcase/LotsOfRichtexteditorAction-lotsOfRichtexteditorSubmit-validation.xml index 07a7e5d7b..1c63b912f 100644 --- a/apps/showcase/src/main/resources/org/apache/struts2/showcase/LotsOfRichtexteditorAction-lotsOfRichtexteditorSubmit-validation.xml +++ b/apps/showcase/src/main/resources/org/apache/struts2/showcase/LotsOfRichtexteditorAction-lotsOfRichtexteditorSubmit-validation.xml @@ -21,31 +21,31 @@ --> - + "https://struts.apache.org/dtds/xwork-validator-1.0.2.dtd"> + Description1 Is Required !!! - + Description2 Is Required !!! - + Description3 Is Required !!! - + Description4 Is Required !!! - - + + diff --git a/apps/showcase/src/main/resources/org/apache/struts2/showcase/action/EmployeeAction-validation.xml b/apps/showcase/src/main/resources/org/apache/struts2/showcase/action/EmployeeAction-validation.xml index 2fb09bc77..a19d0449d 100644 --- a/apps/showcase/src/main/resources/org/apache/struts2/showcase/action/EmployeeAction-validation.xml +++ b/apps/showcase/src/main/resources/org/apache/struts2/showcase/action/EmployeeAction-validation.xml @@ -19,7 +19,7 @@ * under the License. */ --> - + diff --git a/apps/showcase/src/main/resources/org/apache/struts2/showcase/action/SkillAction-validation.xml b/apps/showcase/src/main/resources/org/apache/struts2/showcase/action/SkillAction-validation.xml index 0c0929ff2..5c2574a4d 100644 --- a/apps/showcase/src/main/resources/org/apache/struts2/showcase/action/SkillAction-validation.xml +++ b/apps/showcase/src/main/resources/org/apache/struts2/showcase/action/SkillAction-validation.xml @@ -19,7 +19,7 @@ * under the License. */ --> - + diff --git a/apps/showcase/src/main/resources/org/apache/struts2/showcase/fileupload/FileUploadAction-validation.xml b/apps/showcase/src/main/resources/org/apache/struts2/showcase/fileupload/FileUploadAction-validation.xml index cfd41786e..e15b2506f 100644 --- a/apps/showcase/src/main/resources/org/apache/struts2/showcase/fileupload/FileUploadAction-validation.xml +++ b/apps/showcase/src/main/resources/org/apache/struts2/showcase/fileupload/FileUploadAction-validation.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/xwork-validator-1.0.2.dtd"> @@ -35,5 +35,4 @@ Caption cannot be empty - - \ No newline at end of file + diff --git a/apps/showcase/src/main/resources/org/apache/struts2/showcase/person/NewPersonAction-validation.xml b/apps/showcase/src/main/resources/org/apache/struts2/showcase/person/NewPersonAction-validation.xml index a3f63fc5d..0bd8abe33 100644 --- a/apps/showcase/src/main/resources/org/apache/struts2/showcase/person/NewPersonAction-validation.xml +++ b/apps/showcase/src/main/resources/org/apache/struts2/showcase/person/NewPersonAction-validation.xml @@ -19,7 +19,7 @@ * under the License. */ --> - + diff --git a/apps/showcase/src/main/resources/org/apache/struts2/showcase/person/Person-validation.xml b/apps/showcase/src/main/resources/org/apache/struts2/showcase/person/Person-validation.xml index 8cdef7094..425d4154f 100644 --- a/apps/showcase/src/main/resources/org/apache/struts2/showcase/person/Person-validation.xml +++ b/apps/showcase/src/main/resources/org/apache/struts2/showcase/person/Person-validation.xml @@ -19,7 +19,7 @@ * under the License. */ --> - + diff --git a/apps/showcase/src/main/resources/org/apache/struts2/showcase/tag/nonui/iteratortag/IteratorGeneratorTagDemo-validation.xml b/apps/showcase/src/main/resources/org/apache/struts2/showcase/tag/nonui/iteratortag/IteratorGeneratorTagDemo-validation.xml index 44eb0032f..07f1ea9ad 100644 --- a/apps/showcase/src/main/resources/org/apache/struts2/showcase/tag/nonui/iteratortag/IteratorGeneratorTagDemo-validation.xml +++ b/apps/showcase/src/main/resources/org/apache/struts2/showcase/tag/nonui/iteratortag/IteratorGeneratorTagDemo-validation.xml @@ -21,8 +21,8 @@ --> - + "https://struts.apache.org/dtds/xwork-validator-1.0.2.dtd"> + @@ -30,13 +30,13 @@ Value must not be empty - - + + Count must be an integer - + - + diff --git a/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/FieldValidatorsExampleAction-submitClientSideValidationExample-validation.xml b/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/FieldValidatorsExampleAction-submitClientSideValidationExample-validation.xml index 0beb7e3a9..2d732c0ab 100644 --- a/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/FieldValidatorsExampleAction-submitClientSideValidationExample-validation.xml +++ b/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/FieldValidatorsExampleAction-submitClientSideValidationExample-validation.xml @@ -21,10 +21,10 @@ --> - - - + "https://struts.apache.org/dtds/xwork-validator-1.0.2.dtd"> + + + diff --git a/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/FieldValidatorsExampleAction-submitFieldValidatorsExamples-validation.xml b/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/FieldValidatorsExampleAction-submitFieldValidatorsExamples-validation.xml index 5d23023bb..4def409bb 100644 --- a/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/FieldValidatorsExampleAction-submitFieldValidatorsExamples-validation.xml +++ b/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/FieldValidatorsExampleAction-submitFieldValidatorsExamples-validation.xml @@ -19,12 +19,12 @@ * under the License. */ --> - - - - + "https://struts.apache.org/dtds/xwork-validator-1.0.2.dtd"> + + + diff --git a/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/NonFieldValidatorsExampleAction-submitNonFieldValidatorsExamples-validation.xml b/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/NonFieldValidatorsExampleAction-submitNonFieldValidatorsExamples-validation.xml index 92fb2313e..a94a9e2ff 100644 --- a/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/NonFieldValidatorsExampleAction-submitNonFieldValidatorsExamples-validation.xml +++ b/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/NonFieldValidatorsExampleAction-submitNonFieldValidatorsExamples-validation.xml @@ -19,13 +19,13 @@ * under the License. */ --> - - - - - + "https://struts.apache.org/dtds/xwork-validator-1.0.2.dtd"> + + + + diff --git a/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/QuizAction-validation.xml b/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/QuizAction-validation.xml index 411612fd1..8f7a48604 100644 --- a/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/QuizAction-validation.xml +++ b/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/QuizAction-validation.xml @@ -19,11 +19,11 @@ * under the License. */ --> - + diff --git a/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/SubmitApplication-submitApplication-validation.xml b/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/SubmitApplication-submitApplication-validation.xml index d6ef55067..492475df6 100644 --- a/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/SubmitApplication-submitApplication-validation.xml +++ b/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/SubmitApplication-submitApplication-validation.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/xwork-validator-1.0.2.dtd"> diff --git a/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/User-userContext-validation.xml b/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/User-userContext-validation.xml index 1020aa60a..1e3dd4c6c 100644 --- a/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/User-userContext-validation.xml +++ b/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/User-userContext-validation.xml @@ -19,17 +19,17 @@ * under the License. */ --> - - + "https://struts.apache.org/dtds/xwork-validator-1.0.2.dtd"> + Name Required - + 1 100 @@ -41,6 +41,6 @@ Birthday Required - + diff --git a/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/VisitorValidatorsExampleAction-submitVisitorValidatorsExamples-validation.xml b/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/VisitorValidatorsExampleAction-submitVisitorValidatorsExamples-validation.xml index 7e24f4bb2..cb4a8138f 100644 --- a/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/VisitorValidatorsExampleAction-submitVisitorValidatorsExamples-validation.xml +++ b/apps/showcase/src/main/resources/org/apache/struts2/showcase/validation/VisitorValidatorsExampleAction-submitVisitorValidatorsExamples-validation.xml @@ -19,10 +19,10 @@ * under the License. */ --> - - + "https://struts.apache.org/dtds/xwork-validator-1.0.2.dtd"> + diff --git a/apps/showcase/src/main/resources/struts-actionchaining.xml b/apps/showcase/src/main/resources/struts-actionchaining.xml index f140f9e96..2b187dd72 100644 --- a/apps/showcase/src/main/resources/struts-actionchaining.xml +++ b/apps/showcase/src/main/resources/struts-actionchaining.xml @@ -21,12 +21,12 @@ --> - + "https://struts.apache.org/dtds/struts-2.5.dtd"> + - actionChain2 + actionChain2 actionChain3 diff --git a/apps/showcase/src/main/resources/struts-async.xml b/apps/showcase/src/main/resources/struts-async.xml index faa38656c..0921e6832 100644 --- a/apps/showcase/src/main/resources/struts-async.xml +++ b/apps/showcase/src/main/resources/struts-async.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> diff --git a/apps/showcase/src/main/resources/struts-conversion.xml b/apps/showcase/src/main/resources/struts-conversion.xml index a3c147bd6..4c4c1658a 100644 --- a/apps/showcase/src/main/resources/struts-conversion.xml +++ b/apps/showcase/src/main/resources/struts-conversion.xml @@ -21,15 +21,15 @@ --> - + "https://struts.apache.org/dtds/struts-2.5.dtd"> + - + /WEB-INF/conversion/index.jsp - + @@ -49,8 +49,8 @@ /WEB-INF/conversion/Person.java.txt - - + + /WEB-INF/conversion/enterAddressInfo.jsp @@ -68,9 +68,9 @@ /WEB-INF/conversion/Address.java.txt - - - + + + /WEB-INF/conversion/enterOperations.jsp @@ -93,6 +93,6 @@ /WEB-INF/conversion/OperationsEnumActionConversion.txt - + - + diff --git a/apps/showcase/src/main/resources/struts-dispatcher.xml b/apps/showcase/src/main/resources/struts-dispatcher.xml index 0a89502fe..7051b1f3c 100644 --- a/apps/showcase/src/main/resources/struts-dispatcher.xml +++ b/apps/showcase/src/main/resources/struts-dispatcher.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> diff --git a/apps/showcase/src/main/resources/struts-filedownload.xml b/apps/showcase/src/main/resources/struts-filedownload.xml index 56d083f0a..335777bd4 100644 --- a/apps/showcase/src/main/resources/struts-filedownload.xml +++ b/apps/showcase/src/main/resources/struts-filedownload.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> diff --git a/apps/showcase/src/main/resources/struts-fileupload.xml b/apps/showcase/src/main/resources/struts-fileupload.xml index 33be370ba..4efcad89f 100644 --- a/apps/showcase/src/main/resources/struts-fileupload.xml +++ b/apps/showcase/src/main/resources/struts-fileupload.xml @@ -21,11 +21,11 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> - + /WEB-INF/fileupload/upload.jsp @@ -34,11 +34,11 @@ /WEB-INF/fileupload/upload.jsp /WEB-INF/fileupload/upload-success.jsp - + /WEB-INF/fileupload/multipleUploadUsingList.jsp - + /WEB-INF/fileupload/multipleUploadUsingList.jsp /WEB-INF/fileupload/multiple-success.jsp diff --git a/apps/showcase/src/main/resources/struts-freemarker.xml b/apps/showcase/src/main/resources/struts-freemarker.xml index 26ee8aedc..c0de0a92a 100644 --- a/apps/showcase/src/main/resources/struts-freemarker.xml +++ b/apps/showcase/src/main/resources/struts-freemarker.xml @@ -21,16 +21,16 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> /WEB-INF/freemarker/customFreemarkerManagerUsage.ftl - + /WEB-INF/freemarker/standardTags.ftl - + diff --git a/apps/showcase/src/main/resources/struts-hangman.xml b/apps/showcase/src/main/resources/struts-hangman.xml index ee1f4f6a1..d81f4b368 100644 --- a/apps/showcase/src/main/resources/struts-hangman.xml +++ b/apps/showcase/src/main/resources/struts-hangman.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> @@ -41,9 +41,9 @@ /WEB-INF/hangman/hangmanNonAjax.ftl - - - + + + /WEB-INF/hangman/blank.ftl @@ -61,4 +61,4 @@ /WEB-INF/hangman/updateGuessLeft.ftl - + diff --git a/apps/showcase/src/main/resources/struts-interactive.xml b/apps/showcase/src/main/resources/struts-interactive.xml index ad584a17a..cda563df5 100644 --- a/apps/showcase/src/main/resources/struts-interactive.xml +++ b/apps/showcase/src/main/resources/struts-interactive.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> @@ -38,4 +38,4 @@ - \ No newline at end of file + diff --git a/apps/showcase/src/main/resources/struts-model-driven.xml b/apps/showcase/src/main/resources/struts-model-driven.xml index c8731e980..da01d922e 100644 --- a/apps/showcase/src/main/resources/struts-model-driven.xml +++ b/apps/showcase/src/main/resources/struts-model-driven.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> @@ -29,11 +29,10 @@ /WEB-INF/modelDriven/modelDriven.jsp - + /WEB-INF/modelDriven/modelDrivenResult.jsp - - \ No newline at end of file + diff --git a/apps/showcase/src/main/resources/struts-person.xml b/apps/showcase/src/main/resources/struts-person.xml index 946c4c104..a1500888d 100644 --- a/apps/showcase/src/main/resources/struts-person.xml +++ b/apps/showcase/src/main/resources/struts-person.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> diff --git a/apps/showcase/src/main/resources/struts-tags-non-ui.xml b/apps/showcase/src/main/resources/struts-tags-non-ui.xml index 42d0506ae..f445da037 100644 --- a/apps/showcase/src/main/resources/struts-tags-non-ui.xml +++ b/apps/showcase/src/main/resources/struts-tags-non-ui.xml @@ -21,14 +21,14 @@ --> - + "https://struts.apache.org/dtds/struts-2.5.dtd"> + - + - + /WEB-INF/tags/non-ui/actionTag/showActionTagDemo.jsp @@ -46,11 +46,11 @@ /WEB-INF/tags/non-ui/actionTag/showActionTagDemo.jsp - + - + /WEB-INF/tags/non-ui/iteratorTag/showIteratorGeneratorTagDemo.jsp @@ -60,8 +60,8 @@ /WEB-INF/tags/non-ui/iteratorTag/iteratorGeneratorTagDemoResult.jsp - - + + @@ -74,8 +74,8 @@ /WEB-INF/tags/non-ui/iteratorTag/appendIteratorTagDemoResult.jsp - - + + @@ -88,7 +88,7 @@ /WEB-INF/tags/non-ui/iteratorTag/mergeIteratorTagDemoResult.jsp - + @@ -101,14 +101,14 @@ /WEB-INF/tags/non-ui/iteratorTag/subsetIteratorTagDemoResult.jsp - + /WEB-INF/tags/non-ui/actionPrefix/actionPrefixExample.ftl - + /WEB-INF/tags/non-ui/actionPrefix/normalSubmit.ftl @@ -131,7 +131,7 @@ /WEB-INF/tags/non-ui/actionPrefix/actionPrefixExample.ftl - + diff --git a/apps/showcase/src/main/resources/struts-tags-ui.xml b/apps/showcase/src/main/resources/struts-tags-ui.xml index 13e33d65b..1055678ad 100644 --- a/apps/showcase/src/main/resources/struts-tags-ui.xml +++ b/apps/showcase/src/main/resources/struts-tags-ui.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> diff --git a/apps/showcase/src/main/resources/struts-tags.xml b/apps/showcase/src/main/resources/struts-tags.xml index b2896dace..c9482f10f 100644 --- a/apps/showcase/src/main/resources/struts-tags.xml +++ b/apps/showcase/src/main/resources/struts-tags.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> diff --git a/apps/showcase/src/main/resources/struts-tiles.xml b/apps/showcase/src/main/resources/struts-tiles.xml index 6845710dc..5fa2f8071 100644 --- a/apps/showcase/src/main/resources/struts-tiles.xml +++ b/apps/showcase/src/main/resources/struts-tiles.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> diff --git a/apps/showcase/src/main/resources/struts-token.xml b/apps/showcase/src/main/resources/struts-token.xml index 5f41d1a31..db6704168 100644 --- a/apps/showcase/src/main/resources/struts-token.xml +++ b/apps/showcase/src/main/resources/struts-token.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> diff --git a/apps/showcase/src/main/resources/struts-validation.xml b/apps/showcase/src/main/resources/struts-validation.xml index 23d662f55..31bcab48f 100755 --- a/apps/showcase/src/main/resources/struts-validation.xml +++ b/apps/showcase/src/main/resources/struts-validation.xml @@ -21,8 +21,8 @@ --> - + "https://struts.apache.org/dtds/struts-2.5.dtd"> + @@ -74,7 +74,7 @@ /WEB-INF/validation/ajaxFormSubmitSuccess.jsp - + @@ -83,46 +83,46 @@ index.jsp - - + + - + /WEB-INF/validation/fieldValidatorsExample.jsp - + /WEB-INF/validation/fieldValidatorsExample.jsp /WEB-INF/validation/successFieldValidatorsExample.jsp - - - + + + - + /WEB-INF/validation/nonFieldValidatorsExample.jsp - + /WEB-INF/validation/nonFieldValidatorsExample.jsp /WEB-INF/validation/successNonFieldValidatorsExample.jsp - - - + + + - + /WEB-INF/validation/visitorValidatorsExample.jsp - + /WEB-INF/validation/visitorValidatorsExample.jsp /WEB-INF/validation/successVisitorValidatorsExample.jsp @@ -146,7 +146,7 @@ - + STORE @@ -173,7 +173,7 @@ /WEB-INF/validation/storeErrorsAcrossRequestCancel.jsp - + - + diff --git a/apps/showcase/src/main/resources/struts-wait.xml b/apps/showcase/src/main/resources/struts-wait.xml index 273e8e550..8ede40d74 100644 --- a/apps/showcase/src/main/resources/struts-wait.xml +++ b/apps/showcase/src/main/resources/struts-wait.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> diff --git a/apps/showcase/src/main/resources/struts-xslt.xml b/apps/showcase/src/main/resources/struts-xslt.xml index 5bbdc55b5..261b367e4 100644 --- a/apps/showcase/src/main/resources/struts-xslt.xml +++ b/apps/showcase/src/main/resources/struts-xslt.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> @@ -36,7 +36,7 @@ info.classpath - + info diff --git a/apps/showcase/src/main/resources/struts.xml b/apps/showcase/src/main/resources/struts.xml index cfdac4b39..cb47af8bf 100644 --- a/apps/showcase/src/main/resources/struts.xml +++ b/apps/showcase/src/main/resources/struts.xml @@ -21,7 +21,7 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> diff --git a/bundles/admin/src/main/resources/struts.xml b/bundles/admin/src/main/resources/struts.xml index e106e8bdf..2bb1bf134 100644 --- a/bundles/admin/src/main/resources/struts.xml +++ b/bundles/admin/src/main/resources/struts.xml @@ -22,13 +22,13 @@ + "https://struts.apache.org/dtds/struts-2.5.dtd"> - + {1} viewBundle.ftl diff --git a/bundles/demo/src/main/resources/struts.xml b/bundles/demo/src/main/resources/struts.xml index 0e4d78967..003635f16 100644 --- a/bundles/demo/src/main/resources/struts.xml +++ b/bundles/demo/src/main/resources/struts.xml @@ -21,11 +21,11 @@ --> + "https://struts.apache.org/dtds/struts-2.5.dtd"> - @@ -52,4 +52,4 @@ - \ No newline at end of file + diff --git a/core/src/main/java/com/opensymphony/xwork2/validator/Validator.java b/core/src/main/java/com/opensymphony/xwork2/validator/Validator.java index 4a8c87333..6550e513a 100644 --- a/core/src/main/java/com/opensymphony/xwork2/validator/Validator.java +++ b/core/src/main/java/com/opensymphony/xwork2/validator/Validator.java @@ -222,7 +222,7 @@ import com.opensymphony.xwork2.util.ValueStack; * <!-- START SNIPPET: exShortCircuitingValidators --> * <!DOCTYPE validators PUBLIC * "-//Apache Struts//XWork Validator 1.0.3//EN" - * "http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd"> + * "https://struts.apache.org/dtds/xwork-validator-1.0.3.dtd"> * <validators> * <!-- Field Validators for email field --> * <field name="email"> diff --git a/core/src/main/java/com/opensymphony/xwork2/validator/ValidatorFactory.java b/core/src/main/java/com/opensymphony/xwork2/validator/ValidatorFactory.java index 8510fe6bb..f085d1b12 100644 --- a/core/src/main/java/com/opensymphony/xwork2/validator/ValidatorFactory.java +++ b/core/src/main/java/com/opensymphony/xwork2/validator/ValidatorFactory.java @@ -115,7 +115,7 @@ package com.opensymphony.xwork2.validator; *
  * 
  * <!DOCTYPE validators PUBLIC "-//Apache Struts//XWork Validator 1.0.3//EN"
-   		"http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd">
+   		"https://struts.apache.org/dtds/xwork-validator-1.0.3.dtd">
  * <validators>
  *   <field name="bar">
  *       <field-validator type="required">
diff --git a/core/src/main/resources/com/opensymphony/xwork2/validator/validators/default.xml b/core/src/main/resources/com/opensymphony/xwork2/validator/validators/default.xml
index f3972e4e6..b0e6ed4f8 100644
--- a/core/src/main/resources/com/opensymphony/xwork2/validator/validators/default.xml
+++ b/core/src/main/resources/com/opensymphony/xwork2/validator/validators/default.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/xwork-validator-definition-1.0.dtd">
 
 
 
diff --git a/core/src/main/resources/struts-2.0.dtd b/core/src/main/resources/struts-2.0.dtd
index b71a8539a..0f4ffa9cb 100644
--- a/core/src/main/resources/struts-2.0.dtd
+++ b/core/src/main/resources/struts-2.0.dtd
@@ -24,10 +24,10 @@
 
 
 
@@ -131,7 +131,7 @@
 
 
 
 
diff --git a/core/src/main/resources/struts-2.1.7.dtd b/core/src/main/resources/struts-2.1.7.dtd
index 790202cf6..6af002e93 100644
--- a/core/src/main/resources/struts-2.1.7.dtd
+++ b/core/src/main/resources/struts-2.1.7.dtd
@@ -27,7 +27,7 @@
 
    
+	"https://struts.apache.org/dtds/struts-2.1.7.dtd">
 -->
 
 
diff --git a/core/src/main/resources/struts-2.1.dtd b/core/src/main/resources/struts-2.1.dtd
index e6ad908c7..760ab3143 100644
--- a/core/src/main/resources/struts-2.1.dtd
+++ b/core/src/main/resources/struts-2.1.dtd
@@ -27,7 +27,7 @@
 
    
+	"https://struts.apache.org/dtds/struts-2.1.dtd">
 -->
 
 
diff --git a/core/src/main/resources/struts-2.3.dtd b/core/src/main/resources/struts-2.3.dtd
index 4a1eeb9cb..67ab3c65a 100644
--- a/core/src/main/resources/struts-2.3.dtd
+++ b/core/src/main/resources/struts-2.3.dtd
@@ -27,7 +27,7 @@
 
    
+	"https://struts.apache.org/dtds/struts-2.3.dtd">
 -->
 
 
diff --git a/core/src/main/resources/struts-2.5.dtd b/core/src/main/resources/struts-2.5.dtd
index d0ee064d9..5bdf627a2 100644
--- a/core/src/main/resources/struts-2.5.dtd
+++ b/core/src/main/resources/struts-2.5.dtd
@@ -27,7 +27,7 @@
 
    
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
 -->
 
 
diff --git a/core/src/main/resources/struts-6.0.dtd b/core/src/main/resources/struts-6.0.dtd
index 3df027de9..3741c445d 100644
--- a/core/src/main/resources/struts-6.0.dtd
+++ b/core/src/main/resources/struts-6.0.dtd
@@ -27,7 +27,7 @@
 
    
+    "https://struts.apache.org/dtds/struts-6.0.dtd">
 -->
 
 
diff --git a/core/src/main/resources/struts-default.xml b/core/src/main/resources/struts-default.xml
index a75c14ec0..467b9007c 100644
--- a/core/src/main/resources/struts-default.xml
+++ b/core/src/main/resources/struts-default.xml
@@ -31,8 +31,8 @@
     and {@link com.opensymphony.xwork2.inject.Inject}
 -->
 
+        "-//Apache Software Foundation//DTD Struts Configuration 6.0//EN"
+        "https://struts.apache.org/dtds/struts-6.0.dtd">
 
 
 
@@ -47,7 +47,7 @@
                 java.lang.ProcessBuilder,
                 java.lang.Thread,
                 sun.misc.Unsafe,
-                com.opensymphony.xwork2.ActionContext" />
+                com.opensymphony.xwork2.ActionContext"/>
 
     
+                sun.misc.Unsafe"/>
 
     
     
@@ -89,7 +89,7 @@
                 com.opensymphony.xwork2.util.,
                 org.apache.tomcat.,
                 org.apache.catalina.core.,
-                org.wildfly.extension.undertow.deployment." />
+                org.wildfly.extension.undertow.deployment."/>
 
     
+                com.opensymphony.xwork2.util."/>
 
     
-    
-    
-    
-    
-    
-    
+    
+    
+    
+    
+    
+    
 
-    
-    
+    
+    
 
-    
-    
+    
+    
 
-    
+    
 
-    
-    
-    
+    
+    
+    
 
-    
+    
 
-    
-    
-    
-    
-    
+    
+    
+    
+    
+    
 
-    
-    
+    
+    
 
-    
+    
 
-    
-    
+    
+    
 
-    
-    
-    
+    
+    
+    
 
-    
+    
 
-    
-    
-    
-    
-    
+    
+    
+    
+    
+    
 
-    
+    
 
-    
-    
-    
-    
-    
+    
+    
+    
+    
+    
 
-    
-    
+    
+    
 
-    
-    
-    
+    
+    
+    
 
-    
-    
+    
+    
 
-    
-    
-    
+    
+    
+    
 
-    
+    
 
-    
-    
+    
+    
 
-    
-    
+    
+    
 
-    
+    
 
-    
+    
 
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
 
-    
-    
+    
+    
 
-    
+    
 
-    
-    
+    
+    
 
-    
+    
 
     
-    
-    
-    
+    
+    
+    
 
-    
-    
-    
+    
+    
+    
 
-    
+    
 
-    
-    
+    
+    
 
-    
-    
+    
+    
 
     
         
@@ -244,50 +323,57 @@
             
             
             
-            
-            
+            
+            
         
 
         
             
-            
+            
             
             
-            
+            
             
             
-            
+            
             
-            
+            
             
-            
+            
             
             
             
             
             
             
-            
+            
             
             
-            
+            
             
             
             
             
             
             
-            
+            
             
-            
-            
-            
-            
-            
-            
-            
-            
-            
+            
+            
+            
+            
+            
+            
+            
+            
+            
 
             
             
@@ -448,11 +534,11 @@
                 
             
 
-       
+        
 
         
 
-        
+        
 
         execute,input,back,cancel,browse,save,delete,list,index
 
diff --git a/core/src/main/resources/xwork-default.xml b/core/src/main/resources/xwork-default.xml
index fcdcb5f43..b4dce657b 100644
--- a/core/src/main/resources/xwork-default.xml
+++ b/core/src/main/resources/xwork-default.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
 
diff --git a/core/src/main/resources/xwork-validator-1.0.2.dtd b/core/src/main/resources/xwork-validator-1.0.2.dtd
index a54734033..aa7713800 100644
--- a/core/src/main/resources/xwork-validator-1.0.2.dtd
+++ b/core/src/main/resources/xwork-validator-1.0.2.dtd
@@ -22,10 +22,10 @@
 
 
 
diff --git a/core/src/main/resources/xwork-validator-1.0.3.dtd b/core/src/main/resources/xwork-validator-1.0.3.dtd
index 5a056887e..7ebc36285 100644
--- a/core/src/main/resources/xwork-validator-1.0.3.dtd
+++ b/core/src/main/resources/xwork-validator-1.0.3.dtd
@@ -25,7 +25,7 @@
 
   
+  		"https://struts.apache.org/dtds/xwork-validator-1.0.3.dtd">
 -->
 
 
diff --git a/core/src/main/resources/xwork-validator-1.0.dtd b/core/src/main/resources/xwork-validator-1.0.dtd
index 7be377f14..278770612 100644
--- a/core/src/main/resources/xwork-validator-1.0.dtd
+++ b/core/src/main/resources/xwork-validator-1.0.dtd
@@ -22,10 +22,10 @@
 
 
 
diff --git a/core/src/main/resources/xwork-validator-config-1.0.dtd b/core/src/main/resources/xwork-validator-config-1.0.dtd
index 8714b75ae..e98dcf966 100644
--- a/core/src/main/resources/xwork-validator-config-1.0.dtd
+++ b/core/src/main/resources/xwork-validator-config-1.0.dtd
@@ -25,7 +25,7 @@
 
   
+  		"https://struts.apache.org/dtds/xwork-validator-config-1.0.dtd">
 -->
 
 
diff --git a/core/src/main/resources/xwork-validator-definition-1.0.dtd b/core/src/main/resources/xwork-validator-definition-1.0.dtd
index 801f7594e..e93bd7887 100644
--- a/core/src/main/resources/xwork-validator-definition-1.0.dtd
+++ b/core/src/main/resources/xwork-validator-definition-1.0.dtd
@@ -25,7 +25,7 @@
 
   
+  		"https://struts.apache.org/dtds/xwork-validator-definition-1.0.dtd">
 -->
 
 
diff --git a/core/src/test/resources/com/opensymphony/xwork2/ModelDrivenAction-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/ModelDrivenAction-validation.xml
index 1a777b9c1..6ef6dc27a 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/ModelDrivenAction-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/ModelDrivenAction-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-some-alias-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-some-alias-validation.xml
index 9bc2cf0b8..5aa306686 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-some-alias-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-some-alias-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-subproperty-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-subproperty-validation.xml
index 8682377a9..8304c0b0c 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-subproperty-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-subproperty-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-validation.xml
index 9d5f9f5a1..229c25789 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-validationAlias-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-validationAlias-validation.xml
index 9bc2cf0b8..5aa306686 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-validationAlias-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/SimpleAction-validationAlias-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/TestBean-anotherContext-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/TestBean-anotherContext-validation.xml
index f6af52390..4a9187f99 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/TestBean-anotherContext-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/TestBean-anotherContext-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/TestBean-badtest-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/TestBean-badtest-validation.xml
index 0c5f26fa1..c51dd3f77 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/TestBean-badtest-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/TestBean-badtest-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/TestBean-beanMessageBundle-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/TestBean-beanMessageBundle-validation.xml
index ca388b594..74921d6fd 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/TestBean-beanMessageBundle-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/TestBean-beanMessageBundle-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/TestBean-expressionValidation-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/TestBean-expressionValidation-validation.xml
index 39894eac1..8fd7044f6 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/TestBean-expressionValidation-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/TestBean-expressionValidation-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/TestBean-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/TestBean-validation.xml
index 0437eb27b..4e620947f 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/TestBean-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/TestBean-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/TestBean-visitorChildValidation-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/TestBean-visitorChildValidation-validation.xml
index 11655bb1f..b7a554612 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/TestBean-visitorChildValidation-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/TestBean-visitorChildValidation-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/TestBean-visitorValidation-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/TestBean-visitorValidation-validation.xml
index 05adfb1a3..de417db12 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/TestBean-visitorValidation-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/TestBean-visitorValidation-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/TestChildBean-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/TestChildBean-validation.xml
index ec7fc715b..0cb7401f0 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/TestChildBean-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/TestChildBean-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
@@ -28,7 +28,7 @@
     
         name == 'test'
         Name is invalid
-     
+    
     
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/ValidationOrderAction-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/ValidationOrderAction-validation.xml
index ddb2ce12c..a16765297 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/ValidationOrderAction-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/ValidationOrderAction-validation.xml
@@ -19,9 +19,9 @@
  * under the License.
  */
 -->
-
+  		"https://struts.apache.org/dtds/xwork-validator-1.0.2.dtd">
 
 
 	
@@ -47,13 +47,13 @@
 			confirmed password must match password
 		
 	
-	
+
 	
 		
 			first name required
 		
 	
-	
+
 	
 		
 			last name required
@@ -65,25 +65,25 @@
 			city is required
 		
 	
-	
+
 	
 		
 			province is required
 		
 	
-	
+
 	
 		
 			country is required
 		
 	
-	
+
 	
 		
 			postal code is required
 		
 	
-	
+
 	
 		
 			email is required
@@ -98,7 +98,7 @@
 			website is required
 		
 	
-	
+
 	
 		
 			password hint is required
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/loadorder1/xwork-test-load-order.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/loadorder1/xwork-test-load-order.xml
index e66737355..805c5b60b 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/loadorder1/xwork-test-load-order.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/loadorder1/xwork-test-load-order.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
 
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/loadorder2/xwork-test-load-order.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/loadorder2/xwork-test-load-order.xml
index 8cbf2d7ae..602d778ef 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/loadorder2/xwork-test-load-order.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/loadorder2/xwork-test-load-order.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
 
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/loadorder3/xwork-test-load-order.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/loadorder3/xwork-test-load-order.xml
index 03d16f94b..c54e17fb3 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/loadorder3/xwork-test-load-order.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/loadorder3/xwork-test-load-order.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
 
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork- test.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork- test.xml
index 456a725fb..e832300df 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork- test.xml	
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork- test.xml	
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-after-package-2.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-after-package-2.xml
index bf6df3e2e..f29ce17b6 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-after-package-2.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-after-package-2.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-after-package.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-after-package.xml
index 06d213d82..d9f87ec67 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-after-package.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-after-package.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-before-package-2.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-before-package-2.xml
index aeae5a6da..59ef1e9cb 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-before-package-2.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-before-package-2.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-before-package.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-before-package.xml
index c68115b83..2ccff3a8f 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-before-package.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-before-package.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
 
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-parent.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-parent.xml
index dbd77959d..758b55f0e 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-parent.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-include-parent.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
 
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-action-invalid.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-action-invalid.xml
index 53b9a2fcf..8fa336915 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-action-invalid.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-action-invalid.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-actions-packagedefaultclassref.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-actions-packagedefaultclassref.xml
index c2717befc..42d2d5b64 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-actions-packagedefaultclassref.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-actions-packagedefaultclassref.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
 
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-actions.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-actions.xml
index 456a725fb..e832300df 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-actions.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-actions.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-allowed-methods.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-allowed-methods.xml
index 17b33ab38..85ada7e4e 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-allowed-methods.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-allowed-methods.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
         input,cancel
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-bad-inheritance.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-bad-inheritance.xml
index d271a1c42..5f6b1f070 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-bad-inheritance.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-bad-inheritance.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
     
@@ -31,6 +31,6 @@
     
 
     
-    
+
     
 
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-basic-packages.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-basic-packages.xml
index ccd8aed7a..e6b3a7fbd 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-basic-packages.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-basic-packages.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-default-package.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-default-package.xml
index 2c566d20b..d5869ca23 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-default-package.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-default-package.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-defaultclassref-package.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-defaultclassref-package.xml
index adc41eb11..ae9c254c3 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-defaultclassref-package.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-defaultclassref-package.xml
@@ -21,10 +21,10 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
         
     
     
-
\ No newline at end of file
+
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-envs-substitution.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-envs-substitution.xml
index 03fe2b715..a328c721e 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-envs-substitution.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-envs-substitution.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-exception-mappings.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-exception-mappings.xml
index 71f607012..bb7a3454b 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-exception-mappings.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-exception-mappings.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-global-result-inheritence.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-global-result-inheritence.xml
index 461c2e17a..4852fae82 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-global-result-inheritence.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-global-result-inheritence.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-include-wildcard.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-include-wildcard.xml
index a9ef73178..afc333416 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-include-wildcard.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-include-wildcard.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
   
 
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-defaultref.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-defaultref.xml
index 7cde9bcd1..955c12348 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-defaultref.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-defaultref.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-inheritance.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-inheritance.xml
index 929a0181f..5226d0a6c 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-inheritance.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-inheritance.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-param-overriding.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-param-overriding.xml
index 660f6dcdd..af8c52d82 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-param-overriding.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-param-overriding.xml
@@ -21,26 +21,26 @@
 -->
 
+		"https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
 	
 		
 			
 		
-	
+
 		
 			
 			
 			
-			
+
 			
 				
 				
 				
 			
 		
-		
+
 		
 			
 				i1p1
@@ -49,7 +49,7 @@
 			
 			test1
 		
-		
+
 		
 			
 				i3p1
@@ -60,4 +60,3 @@
 		
 	
 
-    
\ No newline at end of file
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-params.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-params.xml
index 32c4099a6..e74d5320c 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-params.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-params.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-stack-param-overriding.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-stack-param-overriding.xml
index d94e4f263..7a54fcd83 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-stack-param-overriding.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptor-stack-param-overriding.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptors-basic.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptors-basic.xml
index 6ed804d26..dec118da5 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptors-basic.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptors-basic.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptors-spring.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptors-spring.xml
index 431926d9f..1adf5edf8 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptors-spring.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-interceptors-spring.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-multilevel.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-multilevel.xml
index 7e3f99baf..2852fb656 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-multilevel.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-multilevel.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-package-inheritance.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-package-inheritance.xml
index b57b54624..c728ac8fb 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-package-inheritance.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-package-inheritance.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
     
@@ -35,7 +35,7 @@
     
         
     
-    
+
     
     	
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-reload.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-reload.xml
index 142b8eb38..c71e8b5de 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-reload.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-reload.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-result-inheritance.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-result-inheritance.xml
index b526aabc4..5e0f97cfc 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-result-inheritance.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-result-inheritance.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-result-names.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-result-names.xml
index e239161ba..e00fd3cbc 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-result-names.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-result-names.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-result-types.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-result-types.xml
index 6763ea62e..569488e3a 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-result-types.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-result-types.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-results.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-results.xml
index 91ab55548..76363a7ba 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-results.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-results.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-wildcard-1.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-wildcard-1.xml
index a889f0ff7..b447dd65c 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-wildcard-1.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-wildcard-1.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
 
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-wildcard-2.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-wildcard-2.xml
index c84108d90..3ffb56b57 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-wildcard-2.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-wildcard-2.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
 
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-wildcard-include.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-wildcard-include.xml
index d3525473c..60a69c277 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-wildcard-include.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-test-wildcard-include.xml
@@ -21,11 +21,11 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
     
     
     
-
\ No newline at end of file
+
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-unknownhandler-stack-empty.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-unknownhandler-stack-empty.xml
index 313507cf3..4ec37d69b 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-unknownhandler-stack-empty.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-unknownhandler-stack-empty.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-unknownhandler-stack.xml b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-unknownhandler-stack.xml
index 886ae18c6..6cf80101c 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-unknownhandler-stack.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/config/providers/xwork-unknownhandler-stack.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/test/DataAware-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/test/DataAware-validation.xml
index 822366f14..9d02543c7 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/test/DataAware-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/test/DataAware-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/test/DataAware-validationAlias-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/test/DataAware-validationAlias-validation.xml
index 72d598fef..faad9758e 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/test/DataAware-validationAlias-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/test/DataAware-validationAlias-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/test/DataAware2-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/test/DataAware2-validation.xml
index 92183e658..3fd057047 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/test/DataAware2-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/test/DataAware2-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/test/Equidae-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/test/Equidae-validation.xml
index 7a5f47a70..e65c5a377 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/test/Equidae-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/test/Equidae-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/test/SimpleAction2-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/test/SimpleAction2-validation.xml
index 2ff8331f4..ca7887caa 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/test/SimpleAction2-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/test/SimpleAction2-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/test/SimpleAction2-validationAlias-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/test/SimpleAction2-validationAlias-validation.xml
index 9bc2cf0b8..5aa306686 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/test/SimpleAction2-validationAlias-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/test/SimpleAction2-validationAlias-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/test/User-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/test/User-validation.xml
index c29c8c900..267de6424 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/test/User-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/test/User-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/test/UserMarker-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/test/UserMarker-validation.xml
index 953376c2b..e94c26323 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/test/UserMarker-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/test/UserMarker-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorModelAction-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorModelAction-validation.xml
index 3579cb961..203b92062 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorModelAction-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorModelAction-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-beanMessageBundle-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-beanMessageBundle-validation.xml
index d2a9ba14c..501ada4f6 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-beanMessageBundle-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-beanMessageBundle-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-validateArray-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-validateArray-validation.xml
index c77736822..77bfabbd9 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-validateArray-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-validateArray-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-validateList-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-validateList-validation.xml
index 7e350152b..f928368be 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-validateList-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-validateList-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-validation.xml
index 38728076b..a8de9f705 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-visitorChildValidation-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-visitorChildValidation-validation.xml
index d2a9ba14c..501ada4f6 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-visitorChildValidation-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-visitorChildValidation-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-visitorValidation-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-visitorValidation-validation.xml
index d2a9ba14c..501ada4f6 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-visitorValidation-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-visitorValidation-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-visitorValidationAlias-validation.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-visitorValidationAlias-validation.xml
index d7112c567..37ae57de0 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-visitorValidationAlias-validation.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/VisitorValidatorTestAction-visitorValidationAlias-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test.xml
index ebc161aee..14b2bf376 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test2.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test2.xml
index 0e43abf20..17a7759d7 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test2.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test2.xml
@@ -21,18 +21,18 @@
 -->
 
-       
+       "https://struts.apache.org/dtds/xwork-validator-1.0.2.dtd">
+
 
    
       
          a field error message
-         
+      
    
    
       
       an expression error message
    
 
-              
-       
+
+
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test3.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test3.xml
index f6825fbd6..93851e6bd 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test3.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test3.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         email.equals(email2)
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test4.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test4.xml
index 642c3b74f..effa71fb0 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test4.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test4.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
 
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test5.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test5.xml
index ea9bc7805..88b3514c2 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test5.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test5.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
 
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test6.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test6.xml
index 3e8d84a08..68a9dfa75 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test6.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/validator-parser-test6.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/xwork-validator-1.0.3.dtd">
 
 
     
diff --git a/core/src/test/resources/com/opensymphony/xwork2/validator/validators-fail.xml b/core/src/test/resources/com/opensymphony/xwork2/validator/validators-fail.xml
index eaf9f381d..03c5dd072 100644
--- a/core/src/test/resources/com/opensymphony/xwork2/validator/validators-fail.xml
+++ b/core/src/test/resources/com/opensymphony/xwork2/validator/validators-fail.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/xwork-validator-config-1.0.dtd">
 
 
     
diff --git a/core/src/test/resources/includeTest.xml b/core/src/test/resources/includeTest.xml
index 018c3ba30..16ff28092 100644
--- a/core/src/test/resources/includeTest.xml
+++ b/core/src/test/resources/includeTest.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
         
diff --git a/core/src/test/resources/my-validators.xml b/core/src/test/resources/my-validators.xml
index bc4543e40..431fac151 100644
--- a/core/src/test/resources/my-validators.xml
+++ b/core/src/test/resources/my-validators.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/xwork-validator-config-1.0.dtd">
 
     
 
diff --git a/core/src/test/resources/myOther-validators.xml b/core/src/test/resources/myOther-validators.xml
index 128c186de..198cc6822 100644
--- a/core/src/test/resources/myOther-validators.xml
+++ b/core/src/test/resources/myOther-validators.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/xwork-validator-config-1.0.dtd">
 
     
 
diff --git a/core/src/test/resources/org/apache/struts2/TestAction-validation.xml b/core/src/test/resources/org/apache/struts2/TestAction-validation.xml
index cfcdf4367..e40b22826 100644
--- a/core/src/test/resources/org/apache/struts2/TestAction-validation.xml
+++ b/core/src/test/resources/org/apache/struts2/TestAction-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/org/apache/struts2/dispatcher/ng/struts-no-op.xml b/core/src/test/resources/org/apache/struts2/dispatcher/ng/struts-no-op.xml
index e9cf3be11..00393612f 100644
--- a/core/src/test/resources/org/apache/struts2/dispatcher/ng/struts-no-op.xml
+++ b/core/src/test/resources/org/apache/struts2/dispatcher/ng/struts-no-op.xml
@@ -21,5 +21,5 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-6.0.dtd">
 
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/WW3090-struts.xml b/core/src/test/resources/org/apache/struts2/views/jsp/WW3090-struts.xml
index 974d4bfab..1542a41c2 100644
--- a/core/src/test/resources/org/apache/struts2/views/jsp/WW3090-struts.xml
+++ b/core/src/test/resources/org/apache/struts2/views/jsp/WW3090-struts.xml
@@ -22,7 +22,7 @@
 
 
+        "https://struts.apache.org/dtds/struts-6.0.dtd">
 
 
 
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/DoubleValidationAction-validation.xml b/core/src/test/resources/org/apache/struts2/views/jsp/ui/DoubleValidationAction-validation.xml
index f1ab64e6b..3c2a0c941 100644
--- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/DoubleValidationAction-validation.xml
+++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/DoubleValidationAction-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
@@ -28,4 +28,4 @@
             bar must be between ${minInclusive} and ${maxInclusive}.
         
     
-
\ No newline at end of file
+
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/IntValidationAction-validation.xml b/core/src/test/resources/org/apache/struts2/views/jsp/ui/IntValidationAction-validation.xml
index 8ab34b89d..f200cb396 100644
--- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/IntValidationAction-validation.xml
+++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/IntValidationAction-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/org/apache/struts2/views/jsp/ui/User-validation.xml b/core/src/test/resources/org/apache/struts2/views/jsp/ui/User-validation.xml
index 5bf827fe0..7ca3158bb 100644
--- a/core/src/test/resources/org/apache/struts2/views/jsp/ui/User-validation.xml
+++ b/core/src/test/resources/org/apache/struts2/views/jsp/ui/User-validation.xml
@@ -19,7 +19,7 @@
  * under the License.
  */
 -->
-
+
 
     
         
diff --git a/core/src/test/resources/struts-escape-body.xml b/core/src/test/resources/struts-escape-body.xml
index 186ba9760..fda3f1010 100644
--- a/core/src/test/resources/struts-escape-body.xml
+++ b/core/src/test/resources/struts-escape-body.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-6.0.dtd">
 
     
 
diff --git a/core/src/test/resources/struts-object-factory-result-builder.xml b/core/src/test/resources/struts-object-factory-result-builder.xml
index f5988785d..a76b6f703 100644
--- a/core/src/test/resources/struts-object-factory-result-builder.xml
+++ b/core/src/test/resources/struts-object-factory-result-builder.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
 
diff --git a/core/src/test/resources/struts-testing.xml b/core/src/test/resources/struts-testing.xml
index 5d9c5b21f..62023b2e6 100644
--- a/core/src/test/resources/struts-testing.xml
+++ b/core/src/test/resources/struts-testing.xml
@@ -21,7 +21,7 @@
 -->
 
+          "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
diff --git a/core/src/test/resources/struts.xml b/core/src/test/resources/struts.xml
index 59197aab3..55b6805e4 100644
--- a/core/src/test/resources/struts.xml
+++ b/core/src/test/resources/struts.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-6.0.dtd">
 
     
         
diff --git a/core/src/test/resources/validators.xml b/core/src/test/resources/validators.xml
index 883bd433d..dc99a4e8c 100644
--- a/core/src/test/resources/validators.xml
+++ b/core/src/test/resources/validators.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/xwork-validator-config-1.0.dtd">
 
     
     
diff --git a/core/src/test/resources/xwork-class-param-test.xml b/core/src/test/resources/xwork-class-param-test.xml
index 451b9f7bc..74161eadf 100644
--- a/core/src/test/resources/xwork-class-param-test.xml
+++ b/core/src/test/resources/xwork-class-param-test.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
     
diff --git a/core/src/test/resources/xwork-param-test.xml b/core/src/test/resources/xwork-param-test.xml
index ba6386dbe..8eed0b55d 100644
--- a/core/src/test/resources/xwork-param-test.xml
+++ b/core/src/test/resources/xwork-param-test.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
diff --git a/core/src/test/resources/xwork-proxyinvoke.xml b/core/src/test/resources/xwork-proxyinvoke.xml
index 109907cee..3e95e62cf 100644
--- a/core/src/test/resources/xwork-proxyinvoke.xml
+++ b/core/src/test/resources/xwork-proxyinvoke.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
 
diff --git a/core/src/test/resources/xwork-sample.xml b/core/src/test/resources/xwork-sample.xml
index 0a4c0aacd..c31023456 100644
--- a/core/src/test/resources/xwork-sample.xml
+++ b/core/src/test/resources/xwork-sample.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
@@ -84,8 +84,8 @@
             
             
         
-		
-		
             {1}
             {2}
@@ -136,7 +136,7 @@
             
             
         
-	
+
         
             
             
@@ -275,7 +275,7 @@
                 
 
         
-       
+
         
                  
         
@@ -289,8 +289,8 @@
 
         
                 
-         
-        
+        
+
         
  			
         
diff --git a/core/src/test/resources/xwork-test-beans.xml b/core/src/test/resources/xwork-test-beans.xml
index 92e673d6b..c88a34917 100644
--- a/core/src/test/resources/xwork-test-beans.xml
+++ b/core/src/test/resources/xwork-test-beans.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
     
diff --git a/core/src/test/resources/xwork-test-default.xml b/core/src/test/resources/xwork-test-default.xml
index f805aa3cb..d9f6dddd4 100644
--- a/core/src/test/resources/xwork-test-default.xml
+++ b/core/src/test/resources/xwork-test-default.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
         
diff --git a/core/src/test/resources/xwork-test-validation.xml b/core/src/test/resources/xwork-test-validation.xml
index fe71c26b8..b58c66193 100644
--- a/core/src/test/resources/xwork-test-validation.xml
+++ b/core/src/test/resources/xwork-test-validation.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
     
@@ -70,7 +70,7 @@
             
             
         
-        
+
         
             
             
diff --git a/plugins/async/src/main/resources/struts-plugin.xml b/plugins/async/src/main/resources/struts-plugin.xml
index fb71372d9..da2aee816 100644
--- a/plugins/async/src/main/resources/struts-plugin.xml
+++ b/plugins/async/src/main/resources/struts-plugin.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
     
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
     
diff --git a/plugins/bean-validation/src/test/resources/bean-validation-test.xml b/plugins/bean-validation/src/test/resources/bean-validation-test.xml
index 360e10eb6..bd5716cee 100644
--- a/plugins/bean-validation/src/test/resources/bean-validation-test.xml
+++ b/plugins/bean-validation/src/test/resources/bean-validation-test.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
     
diff --git a/plugins/cdi/src/main/resources/struts-plugin.xml b/plugins/cdi/src/main/resources/struts-plugin.xml
index 9c79a3326..b969296fa 100644
--- a/plugins/cdi/src/main/resources/struts-plugin.xml
+++ b/plugins/cdi/src/main/resources/struts-plugin.xml
@@ -21,10 +21,10 @@
 -->
 
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
-    
+
     
 
     
diff --git a/plugins/config-browser/src/main/resources/struts-plugin.xml b/plugins/config-browser/src/main/resources/struts-plugin.xml
index 46c51e48d..b2187d4e2 100644
--- a/plugins/config-browser/src/main/resources/struts-plugin.xml
+++ b/plugins/config-browser/src/main/resources/struts-plugin.xml
@@ -21,12 +21,12 @@
 -->
 
-    
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
+
 
 
     
-    
+
     
 
         
@@ -56,15 +56,15 @@
         
             /config-browser/showConfig.ftl
         
-        
+
         
             /config-browser/showConstants.ftl
         
-        
+
         
             /config-browser/showBeans.ftl
         
-        
+
         
             /config-browser/showJars.ftl
         
diff --git a/plugins/convention/src/main/resources/struts-plugin.xml b/plugins/convention/src/main/resources/struts-plugin.xml
index fed289a74..6cd8b04a8 100644
--- a/plugins/convention/src/main/resources/struts-plugin.xml
+++ b/plugins/convention/src/main/resources/struts-plugin.xml
@@ -22,7 +22,7 @@
 
 
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
   
diff --git a/plugins/embeddedjsp/src/main/resources/struts-plugin.xml b/plugins/embeddedjsp/src/main/resources/struts-plugin.xml
index 2f7b5565c..1651b3fa3 100644
--- a/plugins/embeddedjsp/src/main/resources/struts-plugin.xml
+++ b/plugins/embeddedjsp/src/main/resources/struts-plugin.xml
@@ -21,7 +21,7 @@
 -->
 
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
     
diff --git a/plugins/gxp/src/main/resources/struts-plugin.xml b/plugins/gxp/src/main/resources/struts-plugin.xml
index b6d9c8ffb..dd39530e5 100644
--- a/plugins/gxp/src/main/resources/struts-plugin.xml
+++ b/plugins/gxp/src/main/resources/struts-plugin.xml
@@ -21,10 +21,10 @@
 -->
 
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
-     
+    
     
         
             
diff --git a/plugins/jasperreports/src/main/resources/struts-plugin.xml b/plugins/jasperreports/src/main/resources/struts-plugin.xml
index f9417990b..e99209135 100644
--- a/plugins/jasperreports/src/main/resources/struts-plugin.xml
+++ b/plugins/jasperreports/src/main/resources/struts-plugin.xml
@@ -21,11 +21,11 @@
 -->
 
-    
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
+
 
     
-    
+
     	
     		
     	
diff --git a/plugins/javatemplates/src/main/resources/struts-plugin.xml b/plugins/javatemplates/src/main/resources/struts-plugin.xml
index 537095792..5ca258c4f 100644
--- a/plugins/javatemplates/src/main/resources/struts-plugin.xml
+++ b/plugins/javatemplates/src/main/resources/struts-plugin.xml
@@ -21,8 +21,8 @@
 -->
 
-    
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
+
 
 
     
diff --git a/plugins/jfreechart/src/main/resources/struts-plugin.xml b/plugins/jfreechart/src/main/resources/struts-plugin.xml
index dbb411465..68506aba4 100644
--- a/plugins/jfreechart/src/main/resources/struts-plugin.xml
+++ b/plugins/jfreechart/src/main/resources/struts-plugin.xml
@@ -21,11 +21,11 @@
 -->
 
-    
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
+
 
     
-    
+
     	
     		
     			150
diff --git a/plugins/json/src/main/resources/struts-plugin.xml b/plugins/json/src/main/resources/struts-plugin.xml
index 44b035a35..a20a5924a 100644
--- a/plugins/json/src/main/resources/struts-plugin.xml
+++ b/plugins/json/src/main/resources/struts-plugin.xml
@@ -21,7 +21,7 @@
 -->
 
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
     
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
 
diff --git a/plugins/junit/src/test/resources/struts-session-values-test.xml b/plugins/junit/src/test/resources/struts-session-values-test.xml
index 8030f80b0..ea6e1f415 100644
--- a/plugins/junit/src/test/resources/struts-session-values-test.xml
+++ b/plugins/junit/src/test/resources/struts-session-values-test.xml
@@ -22,7 +22,7 @@
 
 
+        "https://struts.apache.org/dtds/struts-2.1.dtd">
 
 
     
diff --git a/plugins/junit/src/test/resources/struts-test.xml b/plugins/junit/src/test/resources/struts-test.xml
index 9eed684ea..c0943a71c 100644
--- a/plugins/junit/src/test/resources/struts-test.xml
+++ b/plugins/junit/src/test/resources/struts-test.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.1.dtd">
 
 
     
diff --git a/plugins/junit/src/test/resources/struts.xml b/plugins/junit/src/test/resources/struts.xml
index 04b00af94..6d2210687 100644
--- a/plugins/junit/src/test/resources/struts.xml
+++ b/plugins/junit/src/test/resources/struts.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.1.dtd">
 
 
     
diff --git a/plugins/osgi/src/main/resources/struts-plugin.xml b/plugins/osgi/src/main/resources/struts-plugin.xml
index 8e529244f..22c1cd4a8 100644
--- a/plugins/osgi/src/main/resources/struts-plugin.xml
+++ b/plugins/osgi/src/main/resources/struts-plugin.xml
@@ -21,8 +21,8 @@
 -->
 
-    
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
+
 
     
     
@@ -33,7 +33,7 @@
 
     
     
-    
+
     
     
     
diff --git a/plugins/oval/src/main/resources/struts-plugin.xml b/plugins/oval/src/main/resources/struts-plugin.xml
index 8b205a75d..da2108820 100644
--- a/plugins/oval/src/main/resources/struts-plugin.xml
+++ b/plugins/oval/src/main/resources/struts-plugin.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
 
diff --git a/plugins/oval/src/test/resources/oval-test.xml b/plugins/oval/src/test/resources/oval-test.xml
index 522e92fbe..e4a69b506 100644
--- a/plugins/oval/src/test/resources/oval-test.xml
+++ b/plugins/oval/src/test/resources/oval-test.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
     
diff --git a/plugins/pell-multipart/src/main/resources/struts-plugin.xml b/plugins/pell-multipart/src/main/resources/struts-plugin.xml
index 0569fa8ba..a9fc10b4e 100644
--- a/plugins/pell-multipart/src/main/resources/struts-plugin.xml
+++ b/plugins/pell-multipart/src/main/resources/struts-plugin.xml
@@ -21,8 +21,8 @@
 -->
 
-    
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
+
 
     
 
diff --git a/plugins/plexus/src/main/resources/struts-plugin.xml b/plugins/plexus/src/main/resources/struts-plugin.xml
index 8d596b364..43e20350c 100644
--- a/plugins/plexus/src/main/resources/struts-plugin.xml
+++ b/plugins/plexus/src/main/resources/struts-plugin.xml
@@ -21,11 +21,11 @@
 -->
 
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
     
-    
+
     
     
 
diff --git a/plugins/portlet-tiles/src/main/resources/struts-plugin.xml b/plugins/portlet-tiles/src/main/resources/struts-plugin.xml
index dc9aa022e..b7ad6ce78 100644
--- a/plugins/portlet-tiles/src/main/resources/struts-plugin.xml
+++ b/plugins/portlet-tiles/src/main/resources/struts-plugin.xml
@@ -21,7 +21,7 @@
 -->
 
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
 
diff --git a/plugins/portlet/src/main/resources/struts-plugin.xml b/plugins/portlet/src/main/resources/struts-plugin.xml
index 7b9144767..a66479793 100644
--- a/plugins/portlet/src/main/resources/struts-plugin.xml
+++ b/plugins/portlet/src/main/resources/struts-plugin.xml
@@ -22,7 +22,7 @@
 
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
 
diff --git a/plugins/portlet/src/test/resources/struts.xml b/plugins/portlet/src/test/resources/struts.xml
index d8c52875b..afd0d9a81 100644
--- a/plugins/portlet/src/test/resources/struts.xml
+++ b/plugins/portlet/src/test/resources/struts.xml
@@ -21,7 +21,7 @@
 -->
 
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
 
diff --git a/plugins/rest/src/main/resources/struts-plugin.xml b/plugins/rest/src/main/resources/struts-plugin.xml
index 1dd8d9dcb..589d12ca7 100644
--- a/plugins/rest/src/main/resources/struts-plugin.xml
+++ b/plugins/rest/src/main/resources/struts-plugin.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
 
diff --git a/plugins/sitemesh/src/main/resources/struts-plugin.xml b/plugins/sitemesh/src/main/resources/struts-plugin.xml
index 406a73a0f..bad62b8e2 100644
--- a/plugins/sitemesh/src/main/resources/struts-plugin.xml
+++ b/plugins/sitemesh/src/main/resources/struts-plugin.xml
@@ -21,7 +21,7 @@
 -->
 
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
     
diff --git a/plugins/spring/src/main/resources/struts-plugin.xml b/plugins/spring/src/main/resources/struts-plugin.xml
index 51fb37c2e..7a5462037 100644
--- a/plugins/spring/src/main/resources/struts-plugin.xml
+++ b/plugins/spring/src/main/resources/struts-plugin.xml
@@ -21,11 +21,11 @@
 -->
 
-    
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
+
 
     
-    
+
     
     
 
@@ -40,5 +40,5 @@
         
             
         
-        
+    
 
diff --git a/plugins/spring/src/test/resources/com/opensymphony/xwork2/spring/actionContext-xwork.xml b/plugins/spring/src/test/resources/com/opensymphony/xwork2/spring/actionContext-xwork.xml
index d44f41d00..63647477b 100644
--- a/plugins/spring/src/test/resources/com/opensymphony/xwork2/spring/actionContext-xwork.xml
+++ b/plugins/spring/src/test/resources/com/opensymphony/xwork2/spring/actionContext-xwork.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-2.5.dtd">
 
 	
 	
@@ -48,7 +48,7 @@
         
 
         
-        
+
         
 			
 		
diff --git a/plugins/tiles/src/main/resources/struts-plugin.xml b/plugins/tiles/src/main/resources/struts-plugin.xml
index 7bd133d49..9ae060a3d 100644
--- a/plugins/tiles/src/main/resources/struts-plugin.xml
+++ b/plugins/tiles/src/main/resources/struts-plugin.xml
@@ -21,7 +21,7 @@
 -->
 
+	"https://struts.apache.org/dtds/struts-2.5.dtd">
 
 
     
diff --git a/plugins/velocity/src/main/resources/struts-plugin.xml b/plugins/velocity/src/main/resources/struts-plugin.xml
index 30084ed3d..48ae45bdd 100644
--- a/plugins/velocity/src/main/resources/struts-plugin.xml
+++ b/plugins/velocity/src/main/resources/struts-plugin.xml
@@ -21,7 +21,7 @@
 -->
 
+        "https://struts.apache.org/dtds/struts-6.0.dtd">