You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ax...@ws.apache.org> on 2014/02/16 10:26:19 UTC
[jira] [Resolved] (AXIS-2899) adb-codegen REGEX expression failure
on ^
[ https://issues.apache.org/jira/browse/AXIS-2899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen resolved AXIS-2899.
-----------------------------------
Resolution: Invalid
Fix Version/s: (was: 1.5)
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org