re-enable XML validation in TMXMapReader and update package script to copy resources recursively

This commit is contained in:
OMGeeky
2025-02-15 01:47:11 +01:00
parent 9097b97316
commit 42f1c87278
2 changed files with 5 additions and 5 deletions

View File

@@ -821,8 +821,6 @@ public class TMXMapReader
factory.setIgnoringComments(true);
factory.setIgnoringElementContentWhitespace(true);
factory.setExpandEntityReferences(false);
factory.setValidating(false);
factory.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
DocumentBuilder builder = factory.newDocumentBuilder();
builder.setEntityResolver(entityResolver);
InputSource insrc = new InputSource(in);