Skip to content

Commit

Permalink
Making json-schema-009 more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
xml-project committed Nov 2, 2024
1 parent 793cf04 commit 3936922
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 3936922

Please sign in to comment.