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

key and keyref not allowed when validating against original XSD #33

Open
greenTara opened this issue Mar 14, 2014 · 3 comments
Open

key and keyref not allowed when validating against original XSD #33

greenTara opened this issue Mar 14, 2014 · 3 comments
Assignees

Comments

@greenTara
Copy link
Member

Instance generated with a root element other than "RuleML" seem to give different validation errors than instances having the "RuleML" root.
Instances with a root such as "Rule" :

  1. do not give errors about non-unique key values
  2. do give errors saying that key and keyref are not allowed on various elements
@greenTara
Copy link
Member Author

It seems that I do get the same errors of the second type even when the root element is "RuleML", they just are buried under the many more errors about non-unique key values.

Attribute @keyref is not allowed on element <oid> (in Spatial)
Attribute @keyref is not allowed on element <formula> (in Negation)
Attribute @keyref is not allowed on element <And> (in guard)
Attribute @keyref is not allowed on element <oid> (in And)
Attribute @keyref is not allowed on element <Or> (in formula in And)

@apaschke
Copy link
Contributor

apaschke commented Apr 1, 2014

added missing key and keyref

@apaschke apaschke closed this as completed Apr 1, 2014
@greenTara
Copy link
Member Author

Adrian - will you run the instance generator for the new XSD (files are stored in auto-gen/dr-xsd), or should I do that?

@greenTara greenTara reopened this Apr 1, 2014
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

2 participants