From 49257c5918f3aa9f2730021a7e6a24b4835646fd Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 9 Jul 2020 01:24:11 +0800 Subject: support case-sensitive doc parts to improve compatibility --- rows.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'rows.go') diff --git a/rows.go b/rows.go index 392cc5d..87576c3 100644 --- a/rows.go +++ b/rows.go @@ -282,10 +282,6 @@ func (f *File) sharedStringsReader() *xlsxSST { if f.SharedStrings == nil { var sharedStrings xlsxSST ss := f.readXML("xl/sharedStrings.xml") - if len(ss) == 0 { - ss = f.readXML("xl/SharedStrings.xml") - delete(f.XLSX, "xl/SharedStrings.xml") - } if err = f.xmlNewDecoder(bytes.NewReader(namespaceStrictToTransitional(ss))). Decode(&sharedStrings); err != nil && err != io.EOF { log.Printf("xml decode error: %s", err) -- cgit v1.2.1