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

XML error when editing XML #17

Open
Jessassin opened this Issue Jan 2, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@Jessassin
Copy link

Jessassin commented Jan 2, 2015

I get the following error when saving XML for my pack:

XML Error
Error 1871: Element 'file': This element is not expected. Expected is ( folder ).
Line: 15
Column: 0

Line 15 (+) reads:

13    <delete>
14        <folder base="root" target="Flan%s%" />
15        <file base="root" target="updateLog.txt" />
16    </delete>

According to this wiki page: http://wiki.atlauncher.com/xml_guide:delete that config should work, but perhaps the error checking does not account for it.

@RyanTheAllmighty

This comment has been minimized.

Copy link
Member

RyanTheAllmighty commented Jan 2, 2015

File may need to go before the folder tag possibly?

@Jessassin

This comment has been minimized.

Copy link
Author

Jessassin commented Jan 2, 2015

Indeed, putting the file line before folder did fix it. Still a bit odd, but it'll work. Thanks!

@RyanTheAllmighty

This comment has been minimized.

Copy link
Member

RyanTheAllmighty commented Jan 3, 2015

It shouldn't matter, the validator is most likely borked so I'll look into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment