Using xmllint to validate with Project.xsd and my project file (hand made to try and learn the schema), I was given validation errors when I had something like this:
I believe it would be nicer to be able to put those elements in any order. I tested wrapping the subelements in Channel with a xs:choice and it validated when I switched one channel's subelements.
Using
xmllint
to validate withProject.xsd
and my project file (hand made to try and learn the schema), I was given validation errors when I had something like this:element Pan: Schemas validity error : Element 'Pan': This element is not expected.
When I reorganize the subelements to be in the Project.xsd defined order:
so,
I no longer receive a validation error.
I believe it would be nicer to be able to put those elements in any order. I tested wrapping the subelements in
Channel
with axs:choice
and it validated when I switched one channel's subelements.