|
| [WD22] Bug - XSD validation failed using Restriction/Facets |
| Iniciado por fulvio.ruberti, 21,feb. 2018 12:41 - No hay respuesta |
| |
| | | |
|
| |
| Publicado el 21,febrero 2018 - 12:41 |
The validation on an attribute value defined in XSD as string with restriction, failed.
Example:
Attribute definition in XSD file: .. <xs:attribute name="schemaVersion" use="required"> <xs:annotation> <xs:documentation>Attribute edec Schema Version.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:string"> <xs:pattern value="[1-9]{0,1}[0-9]{1}\.[0-9]{1,2}"/> </xs:restriction> </xs:simpleType> </xs:attribute> ..
if I assigne the value "4.0" to the attribute 'schemaVersion' the program end with error: "The '4.0' value does not respect the XSD diagram."
.. but the value is correct !!!
Here the log error at run-time:
Error at line 27 of Local Procedure Prova_1 process. The '4.0' value does not respect the XSD diagram.
Same problem occurse if I try to declare, inside project, a SOAP WebService that release me a WSDL with same type of rescriction in pattern.
Has anyone already detected this problem? Is there a workaround? |
| |
| |
| | | |
|
| | | | |
| | |
|