@Test
public void xxeTestFromString() {

    try {
        XMPMetaParser.parse(XMP_WITH_XXE, null);
    } catch (XMPException e) {
        Assert.assertEquals("Children of resource property element must be XML elements", e.getMessage());
    }
}