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

XSD invalid in XSD 1.1 Context #46

Open
JDziurlaj opened this issue Jan 2, 2024 · 0 comments
Open

XSD invalid in XSD 1.1 Context #46

JDziurlaj opened this issue Jan 2, 2024 · 0 comments

Comments

@JDziurlaj
Copy link
Collaborator

Organization Name: The Turnout

Organization Type: 1 (CTR)

Document (e.g., CastVoteRecords): NIST_V0_cast_vote_records.xsd

Comment (Include rationale for comment): The CVR XSD is valid according to the W3C XSD specification, version 1.0. However, the schema does not explicitly reference a supported XSD version nor does the text of the specification. This is true of all CDF XSDs.
A problem materializes in the CVR CDF when a XSD validator chooses to interpret the CVR XSD according to XSD 1.1. This is due to a bug in the drafting on XSD 1.0 that was fixed in 1.1 which causes a XSD validation error.

Error message from Saxon-EE:

The type Q{http://itl.nist.gov/ns/voting/1500-103/v1}Image has complex content so it cannot be derived by extension from the complex type Q{http://itl.nist.gov/ns/voting/1500-103/v1}File which has simple content

I checked the other two known XSD 1.1 engines and neither complained about this issue.

See also:

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

No branches or pull requests

1 participant