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

ZAPD needs more robust error handling #18

Open
2 of 7 tasks
Kenix3 opened this issue Dec 29, 2020 · 1 comment
Open
2 of 7 tasks

ZAPD needs more robust error handling #18

Kenix3 opened this issue Dec 29, 2020 · 1 comment

Comments

@Kenix3
Copy link
Contributor

Kenix3 commented Dec 29, 2020

In many cases when ZAPD loads a file and the file can't be found, it will just crash. It should output a message like "file not found."

  • ZAPD should also support XML file validation per asset type.
  • ZAPD should error if an invalid ZResource name is included in the XML.
  • ZAPD should error when a ZResource is not in a ZFile.
  • ZAPD should error when a ZFile is encountered inside of a ZFile.
  • ZAPD should error when a ZResource node has a child.
  • ZAPD should error when invalid ZResource attributes and attribute values are provided.
  • ZAPD should error if parameters are out of range. For example, a size parameter larger than the type used to store it in ZAPD.
@AngheloAlf
Copy link
Contributor

I have a few questions about this:

  • "ZAPD should also support XML file validation per asset type." What does this mean? Does it means ZAPD should check if an the attributes of an asset is valid?
  • "ZAPD should error if an invalid ZResource name is included in the XML." I think ZAPD is already checking this here.

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

No branches or pull requests

3 participants