Forum Discussion
Hi ,
Thanks for reply .
Please find below details .
Feild Is :-
<date>20171210</date>
It's type is xsd:gYear
<xsd:simpleType name="Date_NoID">
<xsd:union memberTypes="xsd:gYear"/>
</xsd:simpleType>
When i am providing the value as 20171210 which is 8 digit , it's throwing me the error in SOAP UI , whcih i am doing by right click validate .The error message is "union value '20171210' does not match any members of 'Date in namespace http://www.ACORD.org/standards/PC_Surety/ACORD1/xml/'".
If We give the value as "201615" which is six digit it's passed the validation .
So i want to understand how SOAP UI , setting the maxlength for the Feild i.e of type xsd:gYear
The same feild it is passing in JAVA , having same XSD refrenece using SchemaValidator .
- nmrao9 years agoChampion Level 3Please check the below link for sample values for the gYear type element.
http://www.herongyang.com/XSD/dateTime-Datatypes-gYear-gMonth-and-gDay.html- rajimis9 years agoOccasional Contributor
Hi ,
This is valid , what my question is that why in SOAP , gYear max value accept only 6 digit . But in java it's accept 10 digit .
- nmrao9 years agoChampion Level 3What is the format that is used in java which accepts 10 digits? And what is the type used in java? Can you please clarify?
Related Content
- 13 years ago
- 4 years ago
Recent Discussions
- 15 years ago