forked from metaschema-framework/metaschema-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Model and instance for metaschema-framework#218 throw exceptions
- Loading branch information
1 parent
5008e3c
commit fc1b762
Showing
3 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
metaschema-cli/src/test/resources/content/constraint-validation-custom-messages.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<constraint-custom-validation-test xmlns="http://metaschema.dev/ns/metaschema/test/constraint-validation-custom-messages"> | ||
<message-test xmlns="http://metaschema.dev/ns/metaschema/test/constraint-validation-custom-messages"> | ||
<example-custom-expect>false</example-custom-expect> | ||
<example-custom-matches>not-a-number</example-custom-matches> | ||
<example-default-allowed-values>bad</example-default-allowed-values> | ||
<example-default-expect>false</example-default-expect> | ||
<example-default-matches>not-a-number</example-default-matches> | ||
</constraint-custom-validation-test> | ||
</message-test> |