@Before
public void init() throws Exception {
metadata = new XMPMetadata();
String tmpNsURI = "http://www.test.org/schem/";
tmp = new XMPSchema(metadata, "test", tmpNsURI);
tmp.addBagValue("test:BagContainer", "Value1");
tmp.addBagValue("test:BagContainer", "Value2");
tmp.addBagValue("test:BagContainer", "Value3");
tmp.addSequenceValue("test:SeqContainer", "Value1");
tmp.addSequenceValue("test:SeqContainer", "Value2");
tmp.addSequenceValue("test:SeqContainer", "Value3");
tmp
.addProperty(new TextType(metadata, "test", "simpleProperty",
"YEP"));
tmp2 = new XMPSchema(metadata, "space", "http://www.space.org/schem/");
tmp2.addSequenceValue("test:SeqSpContainer", "ValueSpace1");
tmp2.addSequenceValue("test:SeqSpContainer", "ValueSpace2");
tmp2.addSequenceValue("test:SeqSpContainer", "ValueSpace3");
metadata.addSchema(tmp);