Skip to content

Commit

Permalink
Fix the sequence type of the default-version option
Browse files Browse the repository at this point in the history
  • Loading branch information
ndw committed Apr 24, 2024
1 parent 289696b commit 440d1ad
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions step-validation/src/main/xml/specification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -463,15 +463,15 @@ No document properties on the <port>schemas</port> port are preserved.</para>
<p:output port="result" primary="true" content-types="json"/>
<p:output port="report" sequence="true" content-types="xml json"/>
<p:option name="assert-valid" select="true()" as="xs:boolean"/>
<p:option name="default-version" as="xs:string" />
<p:option name="default-version" as="xs:string?" />
<p:option name="parameters" as="map(xs:QName,item()*)?"/>
<p:option name="report-format" select="'xvrl'" as="xs:string"/>
</p:declare-step>

<para>The option <option>default-version</option> can be used to
control the schema's version in case it does not specify one itself. If
control the schema's version in case it does not specify one itself. <impl>If
the schema does not specify a version and option <option>default-version</option>
is empty, the version used is <glossterm>implementation-defined</glossterm>.</para>
is empty, the version used is <glossterm>implementation-defined</glossterm>.</impl></para>

<para><error code="C0163">It is a <glossterm>dynamic error</glossterm>
if the selected version is not supported.</error></para>
Expand All @@ -491,6 +491,12 @@ No document properties on the <port>schemas</port> port are preserved.</para>
on the <port>result</port> port. No document properties on the <port>schemas</port> are preserved.
No document properties are preserved on the <port>report</port> port.</para>
</simplesect>

<simplesect>
<title>Errata, April 2024</title>
<para>Corrected an error in the sequence type for the <code>default-version</code> option
to allow it to be optional.</para>
</simplesect>
</section>

<section xmlns="http://docbook.org/ns/docbook" xml:id="errors">
Expand Down

0 comments on commit 440d1ad

Please sign in to comment.