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

Correct the schema #81

Merged
merged 3 commits into from
Jun 1, 2020
Merged

Correct the schema #81

merged 3 commits into from
Jun 1, 2020

Conversation

mvidner
Copy link
Member

@mvidner mvidner commented May 27, 2020

The changes that we made in #80 turned out to make the schema incorrect.

We did not know it because we had no check for schema correctness, but it is coming: yast/yast-schema#76

@@ -481,6 +484,6 @@ samba_options = element options {
MAP,
element option { MAP, samba_option_key, samba_option_val? }*
}
share = element share { (STRING | y2_share)* }
share = element share { (text | y2_share)* }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this channge looks a bit strage. Does it mean that type string is not allowed here?

For the 'disabled' element, jing would say:
samba-server.rng:53:48: error: duplicate attribute "type" from namespace "http://www.suse.com/1.0/configns"

'accounts' was not causing problems, just a cleanup
jing would say:
samba-server.rng:2249:27: error: a group of attributes must not be repeatable
(section 7.1 of the RELAX NG specification requires that the simplified XML
form of the schema not contain any elements matching the path
oneOrMore//group//attribute)

This part of the schema looks fishy (as do other parts) but let's just get
over the correctness part now.
@mvidner mvidner merged commit 4cd2e7e into master Jun 1, 2020
@mvidner mvidner deleted the correct-schema branch June 1, 2020 10:00
@yast-bot
Copy link
Contributor

yast-bot commented Jun 1, 2020

✔️ Public Jenkins job #21 successfully finished
✔️ Created OBS submit request #810591

@yast-bot
Copy link
Contributor

✔️ Internal Jenkins job #10 successfully finished
✔️ Created IBS submit request #224058

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

Successfully merging this pull request may close these issues.

4 participants