{"action":"closed","issue":{"url":"https://api.github.com/repos/guyonroche/exceljs/issues/206","repository_url":"https://api.github.com/repos/guyonroche/exceljs","labels_url":"https://api.github.com/repos/guyonroche/exceljs/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/guyonroche/exceljs/issues/206/comments","events_url":"https://api.github.com/repos/guyonroche/exceljs/issues/206/events","html_url":"https://github.com/guyonroche/exceljs/issues/206","id":185421760,"number":206,"title":"Error when reading xlsx file which was printed in Excel and then saved","user":{"login":"arturas-vitkauskas","id":15518137,"avatar_url":"https://avatars.githubusercontent.com/u/15518137?v=3","gravatar_id":"","url":"https://api.github.com/users/arturas-vitkauskas","html_url":"https://github.com/arturas-vitkauskas","followers_url":"https://api.github.com/users/arturas-vitkauskas/followers","following_url":"https://api.github.com/users/arturas-vitkauskas/following{/other_user}","gists_url":"https://api.github.com/users/arturas-vitkauskas/gists{/gist_id}","starred_url":"https://api.github.com/users/arturas-vitkauskas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturas-vitkauskas/subscriptions","organizations_url":"https://api.github.com/users/arturas-vitkauskas/orgs","repos_url":"https://api.github.com/users/arturas-vitkauskas/repos","events_url":"https://api.github.com/users/arturas-vitkauskas/events{/privacy}","received_events_url":"https://api.github.com/users/arturas-vitkauskas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-26T15:07:20Z","updated_at":"2016-10-28T15:35:59Z","closed_at":"2016-10-28T15:35:59Z","body":"Steps to reproduce.\r\nCreate a new workbook, print it and then save it in Excel as xlsx. When you try to read this xlsx file with the exceljs package, the following error is thrown:\r\n\r\nError: Unexpected xml node in parseOpen: {\"name\":\"cp:lastPrinted\",\"attributes\":{},\"isSelfClosing\":false}\r\n     at [object Object].utils.inherits.parseOpen (/home/gt-st-admin/www/admin-backend/node_modules/exceljs/lib/xlsx/xform/core/core-xform.js:99:17)\r\n     at SAXStream.<anonymous> (/home/gt-st-admin/www/admin-backend/node_modules/exceljs/lib/xlsx/xform/base-xform.js:65:14)\r\n     at emitOne (events.js:90:13)\r\n     at SAXStream.emit (events.js:182:7)\r\n     at Object.me._parser.(anonymous function) [as onopentag] (/home/gt-st-admin/www/admin-backend/node_modules/exceljs/node_modules/sax/lib/sax.js:245:15)\r\n     at emit (/home/gt-st-admin/www/admin-backend/node_modules/exceljs/node_modules/sax/lib/sax.js:615:33)\r\n     at emitNode (/home/gt-st-admin/www/admin-backend/node_modules/exceljs/node_modules/sax/lib/sax.js:620:3)\r\n     at openTag (/home/gt-st-admin/www/admin-backend/node_modules/exceljs/node_modules/sax/lib/sax.js:801:3)\r\n     at Object.write (/home/gt-st-admin/www/admin-backend/node_modules/exceljs/node_modules/sax/lib/sax.js:1169:26)\r\n     at SAXStream.write (/home/gt-st-admin/www/admin-backend/node_modules/exceljs/node_modules/sax/lib/sax.js:227:16)\r\n     at Entry.ondata (_stream_readable.js:536:20)\r\n     at emitOne (events.js:90:13)\r\n     at Entry.emit (events.js:182:7)\r\n     at readableAddChunk (_stream_readable.js:153:18)\r\n     at Entry.Readable.push (_stream_readable.js:111:10)\r\n     at Entry.Transform.push (_stream_transform.js:128:32)\r\n\r\nAttached [test-last-printed.xlsx](https://github.com/guyonroche/exceljs/files/553659/test-last-printed.xlsx) is a sample file to reproduce the issue."}}
{"actor":{"display_login":"guyonroche"}}