|
Hi
I working whit Web
service in java and Xerces2, this web service get like paremeter
an XML, the which use a schema whith restriction, but the
validations no work, when i introduce a bad parameter.
the xsd and xml was generate
whith xmlspy
<?xml version="1.0"
encoding="UTF-8"?>
<data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="1.xsd"> <data1>123</data1> <data2>1213</data2> </data> <?xml version="1.0"
encoding="UTF-8"?>
<!--W3C Schema generated by XMLSPY v5 rel. 4 U (http://www.xmlspy.com)--> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:element name="data"> <xs:complexType> <xs:sequence> <xs:element ref="data1"/> <xs:element ref="data2"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="data1" type="xs:number"/> <xs:element name="data2" type="xs:number"/> </xs:schema> Gracias.-
Atte, |
smime.p7s
Description: S/MIME cryptographic signature
