-
Notifications
You must be signed in to change notification settings - Fork 124
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
Headerless xml parsing fix #715
Conversation
@@ -0,0 +1,252 @@ | |||
<protocol name="test-protocol"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given this test file is only used to ensure the scanner doesn't choke on it, I don't think it needs to be as big as the main one, it can be much more minimalistic I'd say.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's done, thanks.
LGTM, could you just add an entry to the changelogs of wayland-scanner and wayland-protocols-plasma to reflect those changes ? Also, it looks like rustfmt is unhappy in the CI |
Fixed fmt issues and added changes to changelogs. |
@elinorbgr can you check it pls? Is it ok now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM yes, thanks!
Found out some protocols are not available because of parser.
That patch fixes parsing for headerless xml files.
Also I added couple of tests.