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)