[xsd-users] default_value_xsd_ and_parsing

rajeshwari sajjan rajeshwari.sajjan at gmail.com
Mon Aug 19 01:31:33 EDT 2013


Hi,

<xs:complexType name="TEST_CASE">
		<xs:sequence>
			<xs:element name="NO_OF_TEST_CASES" type="xs:int" default="1"/>
		</xs:sequence>
</xs:complexType>


<xs:element name = "GWT" type= "TEST_CASE"/>


I want to parse the GWT fragment and validation is enabled.

How to disable the validation?



On Wed, Aug 14, 2013 at 7:09 PM, Boris Kolpackov <boris at codesynthesis.com>wrote:

> Hi Rajeshwari,
>
> rajeshwari sajjan <rajeshwari.sajjan at gmail.com> writes:
>
> > When I get an xml that have the empty NO_OF_TEST_CASES element, parsing
> > of the xml fails.
> >
> > It will generate an error "invalid integer value".
>
> What is the corresponding XML fragment that you are parsing and
> do you have validation enable?
>
> You may also find the following earlier post relevant:
>
> http://www.codesynthesis.com/pipermail/xsd-users/2010-February/002719.html
>
> Boris
>



-- 
Regards,
Rajeshwari


More information about the xsd-users mailing list