diff --git a/specifications/xpath-functions-40/src/function-catalog.xml b/specifications/xpath-functions-40/src/function-catalog.xml index 171236f78..0071e05b4 100644 --- a/specifications/xpath-functions-40/src/function-catalog.xml +++ b/specifications/xpath-functions-40/src/function-catalog.xml @@ -4577,9 +4577,9 @@ translate(value := '٢٠٢٣', replace := '٠١٢٣٤٥٦٧٨٩', with := '01234

If $x is negative, then:

If $y is positive, then the value of atan2($y, $x) is - atan($y div $x) + π.

+ atan($y div $x) + π.

If $y is negative, then the value of atan2($y, $x) is - atan($y div $x) - π.

+ atan($y div $x) - π.

Some results for special values of the arguments are shown in the examples below.

@@ -31393,16 +31393,16 @@ return every($dl/*, fn($elem, $pos) { at https://html.spec.whatwg.org/multipage/named-characters.html. The name is written with no leading ampersand and no trailing semicolon. For example fn:char("pi") represents the character - π (x3C0) and fn:char("nbsp") returns the - non-breaking space character, xA0.

+ U+03C0 and fn:char("nbsp") returns + U+00A0.

A processor may recognize additional character reference names defined in other versions of HTML. Character reference names are case-sensitive.

In the event that the HTML5 character reference name identifies a string comprising multiple codepoints, that string is returned.

[TODO: add a proper bibliographic reference.]

-

A backslash-escape sequence from the set \n (newline, x0A), - \r (carriage return, x0D), - or \t (tab, x09).

+

A backslash-escape sequence from the set \n (U+000A), + \r (U+000D), + or \t (U+0009).

@@ -33318,7 +33318,7 @@ path with an explicit file: scheme.

the map, then the path is constructed from the segments. To construct the path, the possibly encoded segments are concatentated together, separated by - / (solidus) characters.

+ U+002F characters.

The rules for encoding the path segments are different for hierarchical and non-hierarchical URIs. If the URI is @@ -33326,11 +33326,11 @@ path with an explicit file: scheme.

encoding is performed on the segments. Otherwise, each segment is encoded by replacing any control characters (codepoints less than 0x20) and exclusively the following characters with their - percent-escaped forms:  (space) % (percent - sign), / (solidus), ? (question mark), - # (number sign), + (plus sign), - [ (left square bracket), and ] (right - square bracket). That is “[#0-#20%/\?\#\+\[\]]”.

+ percent-escaped forms: U+0020, U+0025, + U+002F, U+003F, + U+0023, U+002B, + U+005B, and U+005D. + That is “[#0-#20%/\?\#\+\[\]]”.

Encoding is performed unless the URI is known to be non-hierarchical; @@ -33339,7 +33339,7 @@ path with an explicit file: scheme.

fn:parse-uri(). (For example, fn:parse-uri('a+b/c') => fn:build-uri() will return a+b/c.)

-

It’s necessary to avoid encoding non-hierarchical schemes because there is more +

It is necessary to avoid encoding non-hierarchical schemes because there is more variation in them (for example, the tel: scheme uses a “+” that must not be encoded). Users working with non-hierarchical schemes may need to address the encoding issue directly @@ -33363,13 +33363,12 @@ path with an explicit file: scheme.

is encoded. The encoding performed replaces any control characters (codepoints less than 0x20) and exclusively the following characters with their - percent-escaped forms:  (space) % (percent - sign), = (equals sign), & (ampersand), - # (number sign), + (plus sign), - [ (left square bracket), and ] (right - square bracket). That is “[#0-#20%=&\#\+\[\]]”. - (This differs from the path encoding in that it excludes / - and ? but includes = and &.) + percent-escaped forms: U+0020, U+0025, U+003D, + U+0026, + U+0023, U+002B, + U+005B, and U+005D. That is “[#0-#20%=&\#\+\[\]]”. + (This differs from the path encoding in that it excludes U+002F + and U+003F but includes U+003D and U+0026.) For each key and each value associated with that key in turn:

@@ -33377,7 +33376,7 @@ path with an explicit file: scheme.

If the key is the empty string, the string constructed is the encoded value.

Otherwise, the string constructed is the value of the - key, encoded, followed by an equal sign (=), + key, encoded, followed by an equal sign (U+003D), followed by the value, encoded.

@@ -33387,21 +33386,19 @@ path with an explicit file: scheme.

the query key does, then the query is the value of the query key.

If there is a query, it is added to the URI with - a preceding ? (question mark).

+ a preceding U+003F.

If the fragment key exists in the map, then the value of that key is encoded and added to the URI with a - preceding hash mark (#). + preceding U+0023. The encoding performed replaces any control characters (codepoints less than 0x20) and exclusively the following characters with their - percent-escaped forms:  (space) % (percent - sign), - # (number sign), + (plus sign), - [ (left square bracket), and ] (right - square bracket). That is “[#0-#20%\#\+\[\]]”. - (This differs from the path encoding in that it excludes / - and ?.)

+ percent-escaped forms: U+0020, U+0025, + U+0023, U+002B, + U+005B, and U+005D. That is “[#0-#20%\#\+\[\]]”. + (This differs from the path encoding in that it excludes U+002F + and U+003F.)

The resulting URI is returned.

diff --git a/specifications/xpath-functions-40/src/xpath-functions.xml b/specifications/xpath-functions-40/src/xpath-functions.xml index 1e20deba4..82c7f8028 100644 --- a/specifications/xpath-functions-40/src/xpath-functions.xml +++ b/specifications/xpath-functions-40/src/xpath-functions.xml @@ -1173,7 +1173,7 @@ This includes all the built-in datatypes defined in . is not focus-dependent is called focus-independent.

- +

Some functions depend on aspects of the dynamic context that remain invariant within an , such as the implicit timezone. @@ -1199,7 +1199,6 @@ This includes all the built-in datatypes defined in . may be either focus-dependent or focus-independent.

-
diff --git a/style/character-names.json b/style/character-names.json index 9fa08abe2..03e9223c0 100644 --- a/style/character-names.json +++ b/style/character-names.json @@ -15,7 +15,9 @@ "U+0022": "QUOTATION MARK", "U+0023": "NUMBER SIGN", "U+0025": "PERCENT SIGN", + "U+0026": "AMPERSAND", "U+0027": "APOSTROPHE", + "U+002B": "PLUS", "U+002C": "COMMA", "U+002D": "HYPHEN-MINUS", "U+002E": "FULL STOP, PERIOD", @@ -31,7 +33,9 @@ "U+003F": "QUESTION MARK", "U+0041": "LATIN CAPITAL LETTER A", "U+005A": "LATIN CAPITAL LETTER Z", + "U+005B": "LEFT SQUARE BRACKET", "U+005C": "REVERSE SOLIDUS, BACKSLASH", + "U+005D": "RIGHT SQUARE BRACKET", "U+0060": "GRAVE ACCENT, BACKTICK", "U+0061": "LATIN SMALL LETTER A", "U+0065": "LATIN SMALL LETTER E", @@ -42,12 +46,14 @@ "U+007F": "DELETE", "U+0085": "NEXT LINE, NEL", "U+009F": "APC", + "U+00A0": "NON-BREAKING SPACE, NBSP", "U+00E9": "LATIN SMALL LETTER E WITH ACUTE", "U+0130": "LATIN CAPITAL LETTER I WITH DOT ABOVE", "U+0131": "LATIN SMALL LETTER DOTLESS I", "U+0308": "COMBINING DIAERESIS", "U+0338": "COMBINING LONG SOLIDUS OVERLAY", "U+03A3": "GREEK CAPITAL LETTER SIGMA", + "U+03C0": "GREEK SMALL LETTER PI", "U+03C2": "GREEK SMALL LETTER FINAL SIGMA", "U+03C3": "GREEK SMALL LETTER SIGMA", "U+03C4": "GREEK SMALL LETTER TAU",