@Test
public void testNonStrict() throws Exception
{
InputStream is = this.getClass().getResourceAsStream("/validxmp/exif.xmp");
DomXmpParser builder = new DomXmpParser();
builder.setStrictParsing(false);
XMPMetadata rxmp = builder.parse(is);
ExifSchema schema = (ExifSchema)rxmp.getSchema(ExifSchema.class);
TextType ss = (TextType)schema.getProperty(ExifSchema.SPECTRAL_SENSITIVITY);
Assert.assertNotNull(ss);
Assert.assertEquals("spectral sens value",ss.getValue());
}