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

XML converter is broken #21

Closed
claus296 opened this issue Mar 18, 2022 · 10 comments
Closed

XML converter is broken #21

claus296 opened this issue Mar 18, 2022 · 10 comments

Comments

@claus296
Copy link

I have python installed, I’m not sure what the issue is

@GuglioIsStupid
Copy link

Can you say your whole error?

@GuglioIsStupid
Copy link

And also if you can, can you say your version of python?

@claus296
Copy link
Author

Can you say your whole error?

Python 3.10
IMG_1235

@GuglioIsStupid
Copy link

Have you tried downloading a new converter? And what does the xml look like? (It may be a broken xml)

@claus296
Copy link
Author

Have you tried downloading a new converter? And what does the xml look like? (It may be a broken xml)

I have tried a new converter, here’s the xml

IMG_1238

@GuglioIsStupid
Copy link

Idk whats happening cuz I never got this error before. I'll mention @HTV04 because he'll know more than me

@HTV04
Copy link
Owner

HTV04 commented Mar 18, 2022

@claus296 Can you send the XML file? It might be broken

@claus296
Copy link
Author

@claus296 Can you send the XML file? It might be broken
here
https://www.mediafire.com/file/ylbz7pruhmqhjkt/MarioLand.xml/file

@HTV04
Copy link
Owner

HTV04 commented Mar 18, 2022

@claus296 Can you send the XML file? It might be broken
here
https://www.mediafire.com/file/ylbz7pruhmqhjkt/MarioLand.xml/file

Can you please upload the file here directly? I'm on my phone right now and it's not letting me download it from MediaFire (it's generally better to avoid MediaFire anyway because they spam people with ads).

You should be able to upload it by renaming the file extension to .txt and dragging it here

@HTV04
Copy link
Owner

HTV04 commented Mar 24, 2022

I have a friend that was facing the same issue with some XMLs from the mod. Instead of just MarioLand.xml, he also reported that another XML was not working correctly with the converter. He sent me the affected XMLs and using a hex editor, I discovered that they have a really weird BOM that threw the XML parser off. Deleting it fixed the issue for both XML files.

Here are the fixed XMLs: Fixed-XMLs.zip

If you have any other weird XMLs, let me know.

@HTV04 HTV04 closed this as completed Mar 24, 2022
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