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: Move version string into attribute #1036

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

FreezyLemon
Copy link

Closes #842.

This PR changes the read and write functions for data/db/anime.xml, data/user/<user@service>/anime.xml and data/user/<user@service>/history.xml.

It does not change /data/feed/history.xml (does not contain a version string) or /data/settings.xml (see #842, there is a meta element, but it is inside another element so the XML is already valid)

Related to XmlReadAttr: Calling .value() on an attribute that might not exist is allowed as per documentation:

In case the attribute handle is null, both functions return empty strings - they never return null pointers.

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

Successfully merging this pull request may close these issues.

Generate valid XML files
1 participant