This commit is contained in:
lukaseder 2018-06-26 13:17:46 +02:00
parent 4655744e52
commit 8ae7218232

View File

@ -250,7 +250,7 @@ public class XMLDatabase extends AbstractDatabase {
JAXB.marshal(new InformationSchema(), test);
if (!test.toString().contains("xmlns"))
content = content.replaceAll("xmlns=\".*\"", "");
content = content.replaceAll("xmlns=\"[^\"]*\"", "");
info = JAXB.unmarshal(new StringReader(content), InformationSchema.class);
}