Skip to content

Commit

Permalink
Merge Norm's version-attr branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ndw committed Oct 29, 2014
2 parents 13bfc4d + aac07dc commit 062947a
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions langspec/standard-components.xml
Expand Up @@ -2169,7 +2169,7 @@ value).</para>
<para>If the step specifies a <option>version</option>, then that version
of XSLT <rfc2119>must</rfc2119> be used to process the transformation.
<error code="C0038">It is a
<glossterm>dynamic error</glossterm> if the specified version of XSLT
<glossterm>dynamic error</glossterm> if the specified version
is not available.</error> If the step does not specify a version, the
implementation may use any version it has available and may use any means
to determine what version to use, including, but not limited to,
Expand Down Expand Up @@ -2656,6 +2656,7 @@ validity assessment to the <port>source</port> input.</para>
<p:option name="try-namespaces" select="'false'" as="xs:boolean"/>
<p:option name="assert-valid" select="'true'" as="xs:boolean"/>
<p:option name="mode" select="'strict'" as="xs:token" e:type="strict|lax"/>
<p:option name="version" as="xs:string"/>
</p:declare-step>

<para>The values of the <option>use-location-hints</option>,
Expand Down Expand Up @@ -2714,6 +2715,15 @@ schema-valid, otherwise it will be treated as invalid. The
absence of a declaration for the document element does not itself
count as an unsuccessful outcome of validation.</para>

<para>If the step specifies a <option>version</option>, then that version
of XML Schema <rfc2119>must</rfc2119> be used to process the validation.
<error code="C0038">It is a
<glossterm>dynamic error</glossterm> if the specified version
is not available.</error> If the step does not specify a version, the
implementation may use any version it has available and may use any means
to determine what version to use, including, but not limited to,
examining the version of the schema(s).</para>

<para><error code="C0053">It is a <glossterm>dynamic error</glossterm>
if the <option>assert-valid</option> option is <literal>true</literal>
and the input document is not valid.</error> If the <option>assert-valid</option>
Expand Down Expand Up @@ -2834,8 +2844,9 @@ provided on the <port>source</port> port.</para>
<p:declare-step type="p:xquery">
<p:input port="source" content-types="application/xml text/xml */*+xml" sequence="true" primary="true"/>
<p:input port="query" content-types="application/xml */*+xml text/*"/>
<p:option name="parameters" as="map(xs:QName,item())"/>
<p:output port="result" sequence="true"/>
<p:option name="parameters" as="map(xs:QName,item())"/>
<p:option name="version" as="xs:string"/>
</p:declare-step>

<para>If a sequence of documents is provided on the
Expand Down Expand Up @@ -2875,6 +2886,15 @@ is <glossterm>implementation-defined</glossterm>.</impl>
</listitem>
</itemizedlist>

<para>If the step specifies a <option>version</option>, then that version
of XQuery <rfc2119>must</rfc2119> be used to process the transformation.
<error code="C0038">It is a
<glossterm>dynamic error</glossterm> if the specified version
is not available.</error> If the step does not specify a version, the
implementation may use any version it has available and may use any means
to determine what version to use, including, but not limited to,
examining the version of the query.</para>

<para>The result of the <tag>p:xquery</tag> step must be a sequence of
documents. <error code="C0057">It is a <glossterm>dynamic
error</glossterm> if the sequence that results from evaluating the XQuery contains
Expand Down

0 comments on commit 062947a

Please sign in to comment.