Skip to content
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

Fix SST parsing when SST XML has a tag prefix #271

Closed
wants to merge 1 commit into from

Conversation

morstaine
Copy link

XLSX documents written by DocumentFormat.OpenXml.dll (at least sometimes) contain a tag prefix "x" in the sharedStrings.xml file. This is a fix to the regular expressions that parse this file to handle the prefix if it is present.

mbarzda pushed a commit to groetzi/js-xlsx that referenced this pull request Oct 6, 2016
mbarzda pushed a commit to groetzi/js-xlsx that referenced this pull request Oct 6, 2016
@SheetJSDev
Copy link
Contributor

@morstaine thanks for looking into this! There were quite a few places where the code assumed the XML tags would not be namespaced, not just in the shared string table, and generally Excel 2007-2013 do not write namespaces when they are not needed.

saarCiklum pushed a commit to Folcon/js-xlsx that referenced this pull request Aug 17, 2020
- basic support for parsing BIFF2-4
- basic support for writing BIFF2
- cleaned up some bad substr uses for IE6 compatibility
- added flow type annotations for xlsx.flow.js
- added numerous null guards (fixes SheetJS#255 h/t @martinheidegger)
- README cleanup (fixes SheetJS#539 h/t @oliversalzburg)
- pin jszip to local version (closes SheetJS#408 h/t @limouri)

bower issues:

|  id  | author            | comment                                   |
|-----:|:------------------|:------------------------------------------|
| SheetJS#254 | @kkirsche         | fixes SheetJS#254 by removing version from json  |
| protobi#165 | @vincentcialdella | fixes protobi#165 by changing default script     |
| protobi#180 | @owencraig        | fixes protobi#180 by using xlsx.core.min.js      |

format issues:

|  id  | author            | comment                                   |
|-----:|:------------------|:------------------------------------------|
| SheetJS#271 | @morstaine        | fixes SheetJS#271 by reworking related parse fns |
| SheetJS#504 | @JanSchuermannPH  | fixes SheetJS#504 detect FullPaths h/t @Mithgol  |
| SheetJS#508 | @basma-emad       | fixes SheetJS#508 offending file used `x:` NS    |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants