{"action":"created","issue":{"url":"https://api.github.com/repos/jsreport/jsreport-html-to-xlsx/issues/18","repository_url":"https://api.github.com/repos/jsreport/jsreport-html-to-xlsx","labels_url":"https://api.github.com/repos/jsreport/jsreport-html-to-xlsx/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/jsreport/jsreport-html-to-xlsx/issues/18/comments","events_url":"https://api.github.com/repos/jsreport/jsreport-html-to-xlsx/issues/18/events","html_url":"https://github.com/jsreport/jsreport-html-to-xlsx/issues/18","id":376104361,"node_id":"MDU6SXNzdWUzNzYxMDQzNjE=","number":18,"title":"Generated Excel is malformed Open-XML","user":{"login":"orobert91","id":6403705,"node_id":"MDQ6VXNlcjY0MDM3MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/6403705?v=4","gravatar_id":"","url":"https://api.github.com/users/orobert91","html_url":"https://github.com/orobert91","followers_url":"https://api.github.com/users/orobert91/followers","following_url":"https://api.github.com/users/orobert91/following{/other_user}","gists_url":"https://api.github.com/users/orobert91/gists{/gist_id}","starred_url":"https://api.github.com/users/orobert91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orobert91/subscriptions","organizations_url":"https://api.github.com/users/orobert91/orgs","repos_url":"https://api.github.com/users/orobert91/repos","events_url":"https://api.github.com/users/orobert91/events{/privacy}","received_events_url":"https://api.github.com/users/orobert91/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-31T18:31:54Z","updated_at":"2018-11-01T17:09:58Z","closed_at":"2018-11-01T17:09:58Z","author_association":"NONE","body":"The generated XLSX file is malformed and does not pass validation. This cause the file to not be programmatically readable and modifiable, such as when using the Open-XML SDK. Please fix."},"comment":{"url":"https://api.github.com/repos/jsreport/jsreport-html-to-xlsx/issues/comments/435112818","html_url":"https://github.com/jsreport/jsreport-html-to-xlsx/issues/18#issuecomment-435112818","issue_url":"https://api.github.com/repos/jsreport/jsreport-html-to-xlsx/issues/18","id":435112818,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTExMjgxOA==","user":{"login":"orobert91","id":6403705,"node_id":"MDQ6VXNlcjY0MDM3MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/6403705?v=4","gravatar_id":"","url":"https://api.github.com/users/orobert91","html_url":"https://github.com/orobert91","followers_url":"https://api.github.com/users/orobert91/followers","following_url":"https://api.github.com/users/orobert91/following{/other_user}","gists_url":"https://api.github.com/users/orobert91/gists{/gist_id}","starred_url":"https://api.github.com/users/orobert91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orobert91/subscriptions","organizations_url":"https://api.github.com/users/orobert91/orgs","repos_url":"https://api.github.com/users/orobert91/repos","events_url":"https://api.github.com/users/orobert91/events{/privacy}","received_events_url":"https://api.github.com/users/orobert91/received_events","type":"User","site_admin":false},"created_at":"2018-11-01T17:09:58Z","updated_at":"2018-11-01T17:09:58Z","author_association":"NONE","body":"Updated to latest version fixed it. Should've thought about that. \r\n\r\nI use Open-XML SDK to validate the file. Here is the C# code:\r\n\r\n```\r\nOpenSettings openSettings = new OpenSettings();\r\nopenSettings.MarkupCompatibilityProcessSettings = new MarkupCompatibilityProcessSettings(MarkupCompatibilityProcessMode.ProcessAllParts, FileFormatVersions.Office2013);\r\nusing (SpreadsheetDocument doc = SpreadsheetDocument.Open(\"C:\\\\Test.xlsx\", false, openSettings)) {\r\n    OpenXmlValidator v = new OpenXmlValidator(FileFormatVersions.Office2013);\r\n    var errs = v.Validate(doc); //errs contains a list of validation errors.\r\n}\r\n```\r\n\r\nIt used to throw that a part did not exist. The exact validation error is now of less importance since it has been fixed."}}
{"actor":{"display_login":"orobert91"}}