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

Cos-nonambig validation issue #204

Closed
jensstalder opened this issue Dec 16, 2021 · 3 comments · Fixed by #205, #206 or #207
Closed

Cos-nonambig validation issue #204

jensstalder opened this issue Dec 16, 2021 · 3 comments · Fixed by #205, #206 or #207
Labels
Bug Broken functionality
Milestone

Comments

@jensstalder
Copy link
Collaborator

Describe the bug
Some parsers are detecting a Cos-nonambig issue on the latest 2.4 schema. This could (depending on implementations) cause systems to opt-out, and not parse the XML.

Cos-nonambig: Gross And Gross (or Elements From Their Substitution Group) Violate "Unique Particle Attribution". During Validation Against This Schema, Ambiguity Would Be Created For Those Two Particles.

Current discussion is on slack: https://qualipool.slack.com/archives/CB28KC4TW/p1636037112000800

@jensstalder jensstalder added the Bug Broken functionality label Dec 16, 2021
@jensstalder jensstalder added this to the 2.4.1 milestone Dec 16, 2021
@jensstalder jensstalder pinned this issue Dec 16, 2021
@jensstalder
Copy link
Collaborator Author

jensstalder commented Dec 16, 2021

Tasks

  • Find a way to avoid the error, (consider minOccurs="0")
  • Add (at least) a .net validator in the pipeline as well for cross-validator-comparisons. more is better 😉

@jensstalder
Copy link
Collaborator Author

jensstalder commented Dec 16, 2021

Since we are also adding it I guess it would not be inconsistent to also add

  • Add a validator for PHP

Since casasoft uses a bit of PHP we could implement that.

There are other major languages as well though: for Example

  • Java
  • Your favorite language here

They would need to be made from folks that actually know how to implement them. I guess they will become relevant by usage/implementers of the standard.

@merrycoder
Copy link
Collaborator

merrycoder commented Dec 16, 2021

Since we are also adding it I guess it would not be inconsistent to also add

  • Add a validator for PHP

Since casasoft uses a bit of PHP we could implement that.

There are other major languages as well though: for Example

  • Java
  • Your favorite language here

They would need to be made from folks that actually know how to implement them. I guess they will become relevant by usage/implementers of the standard.

  • .NET Standard

I can take care of the implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Broken functionality
Projects
None yet
2 participants