bug number: 1865 description: XML unmarshalling validation does not always check required flag. castor: version 1.0.5 and SVN 12th Feb 2007 TestRequired.java checks that the unmarshalling of 4 XML files fails due to missing required attribute on the element. dog1.xml contains a dog with no attributes. This fails unmarshalling. dog2.xml contains a dog with 1 attribute present and 1 missing. This fails unmarshalling. kennel1.xml contains a kennel, containing 1 dog with no attributes. This fail unmarshalling. kennel2.xml contains a kennel, containing 1 dog with 1 attribute present and 1 missing. This does not fail unmarshalling.