Skip to content

Commit 8e7698c

Browse files
committed
Extended EValidationType with XSLT v1 specific enums
1 parent f6d53d2 commit 8e7698c

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ With 64bit Java, the default stack size of the Oracle JVM is already 1MB.
124124

125125
v11.1.2 - work in progress
126126
* Extended VES Status with optional `displayName` element. See [#30](https://github.com/phax/phive/issues/30)
127+
* Extended `EValidationType` with XSLT v1 specific enums
127128

128129
v11.1.1 - 2025-12-10
129130
* Updated to ph-schematron 9.1.1

phive-api/src/main/java/com/helger/phive/api/EValidationType.java

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,33 @@ public enum EValidationType implements IValidationType
4848
*/
4949
SCHEMATRON_PURE ("schematron-pure", EValidationBaseType.SCHEMATRON, "Schematron (pure; XPath-only)"),
5050
/**
51-
* Schematron implementation that must convert the SCH to XSLT before validation
51+
* Schematron implementation that must convert the SCH to XSLT v1 before validation
52+
*
53+
* @since 11.1.2
54+
*/
55+
SCHEMATRON_SCH_XSLT1 ("schematron-sch-xslt1", EValidationBaseType.SCHEMATRON, "Schematron (SCH; ISO XSLT1)"),
56+
/**
57+
* Schematron implementation that must convert the SCH to XSLT v2 before validation
5258
*/
5359
SCHEMATRON_SCH ("schematron-sch", EValidationBaseType.SCHEMATRON, "Schematron (SCH; ISO XSLT2)"),
5460
/**
5561
* Schematron validation to convert SCH to XSLT with SchXslt v1
5662
*
5763
* @since 7.0.0
5864
*/
59-
SCHEMATRON_SCHXSLT ("schematron-schxslt-xslt2", EValidationBaseType.SCHEMATRON, "Schematron (SchXslt XSLT2)"),
65+
SCHEMATRON_SCHXSLT ("schematron-schxslt-xslt2", EValidationBaseType.SCHEMATRON, "Schematron (SchXslt1 XSLT2)"),
6066
/**
6167
* Schematron validation to convert SCH to XSLT with SchXslt v2
6268
*
6369
* @since 11.1.1
6470
*/
6571
SCHEMATRON_SCHXSLT2 ("schematron-schxslt2", EValidationBaseType.SCHEMATRON, "Schematron (SchXslt2)"),
72+
/**
73+
* Schematron validation with a pre-build XSLT v1 file (e.g. from the Maven plugin)
74+
*
75+
* @since 11.1.2
76+
*/
77+
SCHEMATRON_XSLT1 ("schematron-xslt1", EValidationBaseType.SCHEMATRON, "Schematron (ISO XSLT1)"),
6678
/**
6779
* Schematron validation with a pre-build XSLT file (e.g. from the Maven plugin)
6880
*/

0 commit comments

Comments
 (0)