Remove tag ordering restriction - #29
Conversation
|
Shouldn't |
No, I tried validating This documentwith 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