diff --git a/specifications/xpath-functions-40/src/function-catalog.xml b/specifications/xpath-functions-40/src/function-catalog.xml index 58a79a2f3..23b431e12 100644 --- a/specifications/xpath-functions-40/src/function-catalog.xml +++ b/specifications/xpath-functions-40/src/function-catalog.xml @@ -27600,7 +27600,7 @@ declare function some( the authority is empty and the string is the first match group.

Otherwise, if the string - matches ^///*([^/]+)(/.*)?$, the authority + matches ^///*([^/]+)?(/.*)?$, the authority is the first match group and the string is the second match group.

Finally, if the string does not match either