From 90bdd3632f16244583525e580fa3edd42361db68 Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 18 Oct 2018 10:23:08 +0800 Subject: Fix the issue caused by missing tradition to strict conversion for `sharedStringsReader()`, relate issue #276 --- rows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rows.go') diff --git a/rows.go b/rows.go index 5c384c8..b633633 100644 --- a/rows.go +++ b/rows.go @@ -249,7 +249,7 @@ func (f *File) sharedStringsReader() *xlsxSST { if len(ss) == 0 { ss = f.readXML("xl/SharedStrings.xml") } - _ = xml.Unmarshal([]byte(ss), &sharedStrings) + _ = xml.Unmarshal(namespaceStrictToTransitional(ss), &sharedStrings) f.SharedStrings = &sharedStrings } return f.SharedStrings -- cgit v1.2.1