-
Bug
-
Resolution: Done
-
Major
-
2.3.5.Final
-
None
-
Low
While trying to integrate OData4J project with Resteasy I found couple issues with @Path handling
The following patterns are not supported,
1) @Path("{count: [$]count}") = {uri}/$count 2) @Path("{first: \\$}value") = {uri}/$value
because '$' is not properly being escaped currently
3) @Path("{entitySetName: [^/()]+?}{ignore: (?:\\(\\))?}")
in the above pattern the grouping characters inside '[...]' are counted towards the overall group count, where only grouping characters outside [...] block in regex should be counted.
These changed are required for Teiid project to support "odata" protocol. I will be submitting a pull request shortly.