Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the default XPath version implementation defined #1092

Merged
merged 2 commits into from
Jun 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions xproc/src/main/xml/specification.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6352,10 +6352,18 @@ If the attribute is not specified, the value
<listitem>
<para>The requested <tag class="attribute">xpath-version</tag>
<rfc2119>must</rfc2119> be used to evaluate XPath expressions subject
to the constraints outlined in <xref linkend="xpath-context"/>. If the
attribute is not specified, the value “<literal>3.1</literal>” is
assumed. <error code="S0110">It is a <glossterm>static error</glossterm> if
the requested XPath version is less than “<literal>3.1</literal>”</error>.</para>
to the constraints outlined in <xref linkend="xpath-context"/>.
<error code="S0110">It is a <glossterm>static error</glossterm> if
the requested XPath version is less than “<literal>3.1</literal>”</error> or is
not supported by the processor.</para>
<para><impl>If a pipeline does not request a specific XPath version, the version
used is <glossterm>implementation-defined</glossterm>.</impl> <impl>If different
pipelines or libraries declare different XPath versions, it is
<glossterm>implementation-defined</glossterm> how those conflicts are resolved.</impl>
An implementation might use different versions for different pipelines, or it might
use the same version for all pipelines. <impl>If an implementation elects to use the
same version for all pipelines, the version selected is <glossterm>implementation-defined</glossterm>.
</impl></para>
</listitem>
</varlistentry>
<varlistentry><term><tag class="attribute">exclude-inline-prefixes</tag></term>
Expand Down