[ 
https://issues.apache.org/jira/browse/AXIS-2899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13902666#comment-13902666
 ] 

Andreas Veithen edited comment on AXIS-2899 at 2/16/14 9:26 AM:
----------------------------------------------------------------

Invalid.

First of all, this is the issue tracker for Axis 1.x, not Axis2. Second, the 
"\^" in the regular expression "\^(NA|UN).*" doesn't express negation, but 
matches the start of the string. Since regular expressions in XML schema always 
match the entire string, it is not required and not supported.


was (Author: veithen):
Invalid.

First of all, this is the issue tracker for Axis 1.x, not Axis2. Second, the 
"^" in the regular expression "^(NA|UN).*" doesn't express negation, but 
matches the start of the string. Since regular expressions in XML schema always 
match the entire string, it is not required and not supported.

> adb-codegen REGEX expression failure on ^
> -----------------------------------------
>
>                 Key: AXIS-2899
>                 URL: https://issues.apache.org/jira/browse/AXIS-2899
>             Project: Axis
>          Issue Type: Task
>          Components: Basic Architecture
>         Environment: AXIS 2-1.6.2
>            Reporter: Martin Gainty
>            Priority: Minor
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> AXIS2 v1.6.2 adb-codegen does not interpret
> <xsd:pattern value="^(NA|UN).*"/>
> change  to:
>  <xsd:pattern value="(AN|NU).*"/>
> fixes
> this assumes NOT NA and NOT UN must be changed to 
> what specifically you are seeking
> For Reg Ex matching of [^(NA|UN)] does not currently work



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to