{"action":"closed","issue":{"url":"https://api.github.com/repos/michaelrsweet/mxml/issues/221","repository_url":"https://api.github.com/repos/michaelrsweet/mxml","labels_url":"https://api.github.com/repos/michaelrsweet/mxml/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/michaelrsweet/mxml/issues/221/comments","events_url":"https://api.github.com/repos/michaelrsweet/mxml/issues/221/events","html_url":"https://github.com/michaelrsweet/mxml/issues/221","id":323702856,"number":221,"title":"Overriding `encoding` attribute on a processing instruction causes malformed document","user":{"login":"LBensman","id":1187128,"avatar_url":"https://avatars2.githubusercontent.com/u/1187128?v=4","gravatar_id":"","url":"https://api.github.com/users/LBensman","html_url":"https://github.com/LBensman","followers_url":"https://api.github.com/users/LBensman/followers","following_url":"https://api.github.com/users/LBensman/following{/other_user}","gists_url":"https://api.github.com/users/LBensman/gists{/gist_id}","starred_url":"https://api.github.com/users/LBensman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LBensman/subscriptions","organizations_url":"https://api.github.com/users/LBensman/orgs","repos_url":"https://api.github.com/users/LBensman/repos","events_url":"https://api.github.com/users/LBensman/events{/privacy}","received_events_url":"https://api.github.com/users/LBensman/received_events","type":"User","site_admin":false},"labels":[{"id":547424299,"url":"https://api.github.com/repos/michaelrsweet/mxml/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":{"login":"michaelrsweet","id":488103,"avatar_url":"https://avatars0.githubusercontent.com/u/488103?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelrsweet","html_url":"https://github.com/michaelrsweet","followers_url":"https://api.github.com/users/michaelrsweet/followers","following_url":"https://api.github.com/users/michaelrsweet/following{/other_user}","gists_url":"https://api.github.com/users/michaelrsweet/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelrsweet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelrsweet/subscriptions","organizations_url":"https://api.github.com/users/michaelrsweet/orgs","repos_url":"https://api.github.com/users/michaelrsweet/repos","events_url":"https://api.github.com/users/michaelrsweet/events{/privacy}","received_events_url":"https://api.github.com/users/michaelrsweet/received_events","type":"User","site_admin":false},"assignees":[{"login":"michaelrsweet","id":488103,"avatar_url":"https://avatars0.githubusercontent.com/u/488103?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelrsweet","html_url":"https://github.com/michaelrsweet","followers_url":"https://api.github.com/users/michaelrsweet/followers","following_url":"https://api.github.com/users/michaelrsweet/following{/other_user}","gists_url":"https://api.github.com/users/michaelrsweet/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelrsweet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelrsweet/subscriptions","organizations_url":"https://api.github.com/users/michaelrsweet/orgs","repos_url":"https://api.github.com/users/michaelrsweet/repos","events_url":"https://api.github.com/users/michaelrsweet/events{/privacy}","received_events_url":"https://api.github.com/users/michaelrsweet/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-05-16T16:48:24Z","updated_at":"2018-05-17T15:45:04Z","closed_at":"2018-05-17T15:45:03Z","author_association":"NONE","body":"Unfortunately I no longer have the exact example of the affect of the issue, but it was resulting in errors in produced document.  The reason I needed to override `encoding` attribute of the processing instruction is because I needed value to be capitalized - `UTF-8` - as opposed to what mxml emits, which is `utf-8`.  I used the following code that resulted in malformed document:\r\n\r\n```\r\n    auto root = mxmlNewXML(\"1.0\");\r\n    mxmlElementSetAttr(root, \"encoding\", \"UTF-8\");\r\n```"}}
{"actor":{"display_login":"michaelrsweet"}}