Am 23.04.13 19:34, schrieb Yves Savourel:
>> So I would propose to close the issue during tomorrow's call
>> with an action to put the ABNF in the spec.
> and change the examples.
Good point. I had a brief look at
http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#allowedchars
with the regex from Pablo (thanks a lot for that!), the following
examples don't work:
- windows file name "[ --[<>:"\\/|\?*]]"
- no character (that is, empty string as content of allowedCharacters
attribute. Is this ok?
- all word characters "\w"
- allows all characters between U+0061 and U+00FF except the characters
SPACE (U+0020), TABULATION (U+0009), CARRIAGE RETURN (U+000D) and LINE
FEED "(U+000F). [a-ÿ-[\s]]"
> (somewhere at some point we had an email with the equivalent expressions without using the substraction, but I can't find it).
>
>> We even can keep the reference on XML Schema since the ABNF is a proper subset.
> Sure. As long as we make sure to clearly state that the allowed expression is only a sub-set of the of XML Schema Character Classes construct.
Agree.
Best,
Felix