You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "El Fassi Hamza (JIRA)" <ji...@apache.org> on 2016/05/11 10:00:17 UTC
[jira] [Created] (CXF-6897) CXF validation
El Fassi Hamza created CXF-6897:
-----------------------------------
Summary: CXF 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
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.4#6332)