cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-6897) CXF enumeration validation
Date Wed, 22 Mar 2017 19:58:42 GMT

     [ https://issues.apache.org/jira/browse/CXF-6897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-6897.
------------------------------
       Resolution: Incomplete
    Fix Version/s: Invalid


I don't understand what the problem is from the description.   A test case would need to be
supplied.


> CXF enumeration validation
> --------------------------
>
>                 Key: CXF-6897
>                 URL: https://issues.apache.org/jira/browse/CXF-6897
>             Project: CXF
>          Issue Type: Bug
>         Environment: tomcat 7, Eclipse, Spring, JAX-WS, Maven, CXF 2.7.3
>            Reporter: El Fassi Hamza
>            Priority: Blocker
>             Fix For: Invalid
>
>
> Hi Community, I currently have a bug on the generation objects blocking the validation.
> enumerations are generated with pattern annotation as followings:
> {code:xml}
> @Pattern.List({
>         @Pattern(regexp = "Saler"),
>         @Pattern(regexp = "direct_sale"),
>         @Pattern(regexp = "Client")
>     })
>     protected String typePrescription;
> {code}
> exp : type_saler.xsd
> during validation, the parser interprets these annotations as mandatory in all same time.
> We have to manage the types Enumeration and not string pattern with annotations.
> Thanks in advance for your return.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message