Skip to content

Commit

Permalink
Merge pull request #751 from xml-project/fix-json-schema-009
Browse files Browse the repository at this point in the history
Making json-schema-009 more explicit
  • Loading branch information
xml-project authored Nov 2, 2024
2 parents 793cf04 + 3936922 commit c8aa92a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions test-suite/tests/ab-validate-with-json-schema-009.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
<t:info>
<t:title>p:validate-with-json-schema 009 (AB)</t:title>
<t:revision-history>
<t:revision>
<t:date>2024-11-02</t:date>
<t:author>
<t:name>Achim Berndzen</t:name>
</t:author>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>Clarifying test's point.</p>
</t:description>
</t:revision>
<t:revision>
<t:date>2022-09-04</t:date>
<t:author>
Expand All @@ -17,7 +26,7 @@
</t:revision-history>
</t:info>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>Tests p:validate-with-json-schema: Error raised because document on port "schema" is no valid JSON schema.</p>
<p>Tests p:validate-with-json-schema: Error should be raised because the request schema version is not supported.</p>
</t:description>
<t:pipeline>
<p:declare-step version="3.0"
Expand All @@ -27,7 +36,7 @@
<p:with-input href="../documents/valid.json" />
<p:with-input port="schema">
<p:inline content-type="application/json">
{{"$schema": "https://this-is-not-a-json-schema"}}
{{"$schema": "https://this-is-an-unsupported-schema-version"}}
</p:inline>
</p:with-input>
</p:validate-with-json-schema>
Expand Down

0 comments on commit c8aa92a

Please sign in to comment.