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

0034-drg-scopes.dmn not schema-valid #136

Closed
falko opened this issue Apr 5, 2018 · 3 comments
Closed

0034-drg-scopes.dmn not schema-valid #136

falko opened this issue Apr 5, 2018 · 3 comments

Comments

@falko
Copy link
Member

falko commented Apr 5, 2018

xmllint is reporting the following issues:

0034-drg-scopes.dmn:489: element variable: Schemas validity error : Element '{http://www.omg.org/spec/DMN/20151101/dmn.xsd}variable', attribute 'id': '_3_-kYfQLEeecaNY7kk20yA' is not a valid value of the atomic type 'xs:ID'.
0034-drg-scopes.dmn:504: element variable: Schemas validity error : Element '{http://www.omg.org/spec/DMN/20151101/dmn.xsd}variable', attribute 'id': '_68UZsfQLEeecaNY7kk20yA' is not a valid value of the atomic type 'xs:ID'.
0034-drg-scopes.dmn:522: element variable: Schemas validity error : Element '{http://www.omg.org/spec/DMN/20151101/dmn.xsd}variable', attribute 'id': '_MvwmIfQMEeecaNY7kk20yA' is not a valid value of the atomic type 'xs:ID'.
0034-drg-scopes.dmn:537: element variable: Schemas validity error : Element '{http://www.omg.org/spec/DMN/20151101/dmn.xsd}variable', attribute 'id': '_H52AEPQMEeecaNY7kk20yA' is not a valid value of the atomic type 'xs:ID'.
0034-drg-scopes.dmn fails to validate

An online validator confirmed this:

Not valid.
Error - Line 489, 63: org.xml.sax.SAXParseException; lineNumber: 489; columnNumber: 63; cvc-id.2: There are multiple occurrences of ID value '_3_-kYfQLEeecaNY7kk20yA'.
Error - Line 489, 63: org.xml.sax.SAXParseException; lineNumber: 489; columnNumber: 63; cvc-attribute.3: The value '_3_-kYfQLEeecaNY7kk20yA' of attribute 'id' on element 'dmn:variable' is not valid with respect to its type, 'ID'.
Error - Line 504, 64: org.xml.sax.SAXParseException; lineNumber: 504; columnNumber: 64; cvc-id.2: There are multiple occurrences of ID value '_68UZsfQLEeecaNY7kk20yA'.
Error - Line 504, 64: org.xml.sax.SAXParseException; lineNumber: 504; columnNumber: 64; cvc-attribute.3: The value '_68UZsfQLEeecaNY7kk20yA' of attribute 'id' on element 'dmn:variable' is not valid with respect to its type, 'ID'.
Error - Line 522, 64: org.xml.sax.SAXParseException; lineNumber: 522; columnNumber: 64; cvc-id.2: There are multiple occurrences of ID value '_MvwmIfQMEeecaNY7kk20yA'.
Error - Line 522, 64: org.xml.sax.SAXParseException; lineNumber: 522; columnNumber: 64; cvc-attribute.3: The value '_MvwmIfQMEeecaNY7kk20yA' of attribute 'id' on element 'dmn:variable' is not valid with respect to its type, 'ID'.
Error - Line 537, 65: org.xml.sax.SAXParseException; lineNumber: 537; columnNumber: 65; cvc-id.2: There are multiple occurrences of ID value '_H52AEPQMEeecaNY7kk20yA'.
Error - Line 537, 65: org.xml.sax.SAXParseException; lineNumber: 537; columnNumber: 65; cvc-attribute.3: The value '_H52AEPQMEeecaNY7kk20yA' of attribute 'id' on element 'dmn:variable' is not valid with respect to its type, 'ID'.

Some IDs seem to be used for multiple elements.

@DanielThanner
Copy link
Contributor

I will create a pull request to fix this issue.

@DanielThanner
Copy link
Contributor

Created pull request #139

@DanielThanner
Copy link
Contributor

Can be closed, pull requeset was merged

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

3 participants