Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resource xml validation #97

Closed
demoth opened this issue May 26, 2012 · 2 comments
Closed

resource xml validation #97

demoth opened this issue May 26, 2012 · 2 comments
Assignees

Comments

@demoth
Copy link

demoth commented May 26, 2012

not sure if it was already discussed (haven't found it in closed and opened issues) but since we use xml for loading resources (XMLResoucreLoader) it is possible to use xml validation instead of checking the root element

@ghost ghost assigned Gornova May 28, 2012
@Gornova
Copy link
Owner

Gornova commented May 28, 2012

Is not possible right now, maybe in the future

@Stef569
Copy link
Collaborator

Stef569 commented Mar 4, 2018

The DTD can be found here:
http://gornova.github.io/MarteEngine/0.3/resourceManager.dtd

Add

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE resources SYSTEM "http://gornova.github.io/MarteEngine/0.3/resourceManager.dtd">

above the XML file to validate the content :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants