From 6ab31d8bc6e274129a983a406fea42ae625e564c Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Sun, 14 Apr 2024 18:39:22 +0100 Subject: [PATCH] Make the default XPath version implementation defined --- xproc/src/main/xml/specification.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/xproc/src/main/xml/specification.xml b/xproc/src/main/xml/specification.xml index 35425f17f..bd9d2bf8f 100644 --- a/xproc/src/main/xml/specification.xml +++ b/xproc/src/main/xml/specification.xml @@ -6352,10 +6352,17 @@ If the attribute is not specified, the value The requested xpath-version must be used to evaluate XPath expressions subject -to the constraints outlined in . If the -attribute is not specified, the value “3.1” is -assumed. It is a static error if +to the constraints outlined in . +It is a static error if the requested XPath version is less than “3.1. +If a pipeline does not request a specific XPath version, the version +used is implementation-defined. If different +pipelines or libraries declare different XPath versions, it is +implementation-defined how those conflicts are resolved. +An implementation might use different versions for different pipelines, or it might +use the same version for all pipelines. If an implementation elects to us the +same version for all pipelines, the version selected is implementation-defined. + exclude-inline-prefixes