diff --git a/specifications/grammar-40/xpath-grammar.xml b/specifications/grammar-40/xpath-grammar.xml index a44c2aa95..66dc4ca4b 100644 --- a/specifications/grammar-40/xpath-grammar.xml +++ b/specifications/grammar-40/xpath-grammar.xml @@ -1235,9 +1235,7 @@ VersionDecl ::= "xquery" (("encoding" StringLiteral) | ("version" StringLiteral switch - - - + @@ -1246,7 +1244,9 @@ VersionDecl ::= "xquery" (("encoding" StringLiteral) | ("version" StringLiteral ( - + + + ) diff --git a/specifications/xquery-40/src/expressions.xml b/specifications/xquery-40/src/expressions.xml index dd0bfe35e..0759d30f1 100644 --- a/specifications/xquery-40/src/expressions.xml +++ b/specifications/xquery-40/src/expressions.xml @@ -20925,7 +20925,7 @@ switch ($animal) true: