-
Notifications
You must be signed in to change notification settings - Fork 13
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
XML self closing tags #15
Comments
I can repro with
launchd on mojave rejects the plist.
|
directionless
added a commit
to directionless/plist
that referenced
this issue
Jan 14, 2019
See discussion in groob#15 This re-introduces the self closing behavior for booleans, and updates the tests to support it.
groob
pushed a commit
that referenced
this issue
Jan 14, 2019
See discussion in #15 This re-introduces the self closing behavior for booleans, and updates the tests to support it.
directionless
added a commit
to directionless/launcher
that referenced
this issue
Jan 14, 2019
We should be setting this to RunAtLoad, add that. launchd seems to require self closing tags. This is probably a bug from apple, but we still need to work around it. See groob/plist#15
directionless
added a commit
to kolide/launcher
that referenced
this issue
Jan 14, 2019
We should be setting this to RunAtLoad, add that. launchd seems to require self closing tags. This is probably a bug from apple, but we still need to work around it. See groob/plist#15
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Playing with https://github.com/kolide/launcher/ I'm getting reports that launchd seems to require self closing xml tags for booleans.
I notice that this library used support this (c271b43), but that it was reverted in 4dc2eea
The other plist library seems to have fixed this with a dedicated xml encoder -- DHowett/go-plist#34
There's an underlying go xml issue for this as well -- golang/go#21399
The text was updated successfully, but these errors were encountered: