[
https://issues.apache.org/jira/browse/OLINGO-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14580500#comment-14580500
]
Michael Bolz commented on OLINGO-689:
-------------------------------------
Hi [~Sebastien],
with [this
commit|https://git1-us-west.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=01fd19e7a7677417efd954c92fb62704a1d63a61]
the used pattern is changed with the in OData V2 specification suggested
pattern.
See *Section 2.2.6 SimpleIdentifier* and the pattern:
{code}
{[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}}
{code}
Can you please check if this solution fit for your use case (and if yes close
the issue).
Best regards,
Michael
> Olingo 2 unicode name suport
> ----------------------------
>
> Key: OLINGO-689
> URL: https://issues.apache.org/jira/browse/OLINGO-689
> Project: Olingo
> Issue Type: Bug
> Components: odata2-core
> Affects Versions: V2 2.0.4
> Environment: Windows 7 64 bit
> Reporter: Sébastien Lévêque
> Assignee: Michael Bolz
> Fix For: V2 2.0.5
>
> Attachments: Test.java
>
>
> It’s seem that are some issues with regular expression in class
> EdmNamedImplProv.
>
> The first one is about \\u00C0\\u00D6 part. It should be \\u00C0-\\u00D6 as
> it’s only alphabetic characters.
> With current implementation Õ Ä can’t be used but Ö À can be used.
>
> The second issue is about \\x10000-\\xEFFFF, range only available for first
> character, but not the following ones (another bug ?).
> \x????? is not supported in regular expression.
> It should be \x?? (2 and only 2 characters) or \x{?????}.
> This part is splited like \\x10, 0 (twice), 0 to \\xEF, F (3 time).
> This make some characters valid at first position like numeric characters or
> "×" (\u00D7) multiplication sign.
> But at the beginning of the expression there is
> \\u00C0\\u00D6\\u00D8-\\u00F6, means that \u00D7 should not be allowed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)