-
Notifications
You must be signed in to change notification settings - Fork 9
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
Remove tag ordering restriction #29
base: main
Are you sure you want to change the base?
Conversation
Shouldn't |
No, I tried validating This document
with
But perhaps you're right about |
I just tested with the your sample xml and it had some errors. |
Yeah, the document I put in the comment still has some validity issues, but using the XSD in this project, I'm working through them. See my updated PR description for some samples. So, through some more testing, I find I had some issues with the schema I first pushed.
I managed to fix both the ordering restriction and the dupe rejection issues in 4c076b1, using |
You can push to main in your fork to run CI that's what i usually do. |
The XSD validates, that's great, but I meant something more in-depth, like "here is a ComicInfo.xml file that should validate using the |
Oh that's right i just validate locally so never payed attention to that. |
Let the document specify the tags immediately under <ComicInfo> in any order.
Okay, I brought the change into the main schemas, and wrote a script to run a gauntlet of tests (see #30). |
Let the document specify the tags immediately under
<ComicInfo>
in any order, instead of in sequence.The XSD should allow BOTH forms of:
<Series>...</Series><Title>...</Title>
<Title>...</Title><Series>...</Series>
Should validate:
Should not validate:
Closes #10