Re: [castor-dev] Unmarshalling and Validating xsi:nil

2005-01-16 Thread Jene Jasper
Jene Jasper wrote: Keith, To get validation working correctly for an UnmarhalHandler, that supports xsi:nil, I have created the attached TestCaseBug1723Unmarshaller. The used classes are generated based on the attached bug1723.xsd. The asserts and fails that don't work as expecte

[castor-dev] Re: Unmarshalling and Validating xsi:nil The Last One

2005-01-16 Thread Jene Jasper
public void testCastorUnmarshallerTopValidationTag_Element_OptionalMultipleNillableDateTag() throws Exception { for (int i = 0; i < 2; i++) { boolean setRoot = (i == 1); String xml = "" + "2005-01-16" + "2005-01-16

[castor-dev] Re: Unmarshalling and Validating xsi:nil

2005-01-16 Thread Jene Jasper
public void testCastorUnmarshallerTopValidationTag_Element_RequiredMultipleDateTag() throws Exception { for (int i = 0; i < 2; i++) { boolean setRoot = (i == 1); String xml = "" + "2005-01-16" + "2005-01-16"

[castor-dev] Re: Unmarshalling and Validating xsi:nil

2005-01-16 Thread Jene Jasper
package nl.abz.bug.xsi.nillable; import java.io.*; import junit.framework.*; import org.exolab.castor.xml.*; import nl.abz.bug.xsi.nillable.castor.wrapper.*; public class TestCaseBug1723Unmarshaller extends TestCase { public void testCastorUnmarshallerTopValidationTag_Element_RequiredDateTag()

[castor-dev] Re: Unmarshalling and Validating xsi:nil

2005-01-16 Thread Jene Jasper
public void testCastorUnmarshallerTopValidationTag_Element_RequiredMultipleNillableDateTag() throws Exception { for (int i = 0; i < 2; i++) { boolean setRoot = (i == 1); String xml = "" + "2005-01-16" + "2005-01-16

[castor-dev] Re: Unmarshalling and Validating xsi:nil

2005-01-16 Thread Jene Jasper
public void testCastorUnmarshallerTopValidationTag_Element_RequiredNillableDateTag() throws Exception { for (int i = 0; i < 2; i++) { boolean setRoot = (i == 1); String xml = "" + "2005-01-16" + "2005-01-16"

[castor-dev] Re: Unmarshalling and Validating xsi:nil

2005-01-16 Thread Jene Jasper
public void testCastorUnmarshallerTopValidationTag_Element_OptionalMultipleDateTag() throws Exception { for (int i = 0; i < 2; i++) { boolean setRoot = (i == 1); String xml = "" + "2005-01-16" + "2005-01-16"

[castor-dev] Re: Unmarshalling and Validating xsi:nil

2005-01-16 Thread Jene Jasper
public void testCastorUnmarshallerTopValidationTag_Element_OptionalDateTag() throws Exception { for (int i = 0; i < 2; i++) { boolean setRoot = (i == 1); String xml = "" + "2005-01-16" + "2005-01-16"

[castor-dev] Re: Unmarshalling and Validating xsi:nil

2005-01-16 Thread Jene Jasper
public void testCastorUnmarshallerTopValidationTag_Element_OptionalNillableDateTag() throws Exception { for (int i = 0; i < 2; i++) { boolean setRoot = (i == 1); String xml = "" + "2005-01-16" + "2005-01-16"

[castor-dev] Re: Unmarshalling and Validating xsi:nil

2005-01-16 Thread Jene Jasper
public void testCastorUnmarshallerTopValidationTag_Element_DirtyXSINilWithValueCombination() throws Exception { for (int i = 0; i < 2; i++) { boolean setRoot = (i == 1); String xml = "" + "2005-01-16" + "2005-01-16

[castor-dev] Re: Unmarshalling and Validating xsi:nil

2005-01-16 Thread Jene Jasper
"http://www.w3.org/2001/XMLSchema" targetNamespace="http://abz.nl/schemas/castor/bug1723" xmlns="http://abz.nl/schemas/castor/bug1723" elementFormDefault="qualified" attributeFormDefault="unqualified">

[castor-dev] Unmarshalling and Validating xsi:nil

2005-01-16 Thread Jene Jasper
Keith, To get validation working correctly for an UnmarhalHandler, that supports xsi:nil, I have created the attached TestCaseBug1723Unmarshaller. The used classes are generated based on the attached bug1723.xsd. The asserts and fails that don't work as expected are commented out. For some Vali