diff options
author | xuri <xuri.me@gmail.com> | 2018-10-17 00:28:31 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2018-10-17 00:28:31 +0800 |
commit | 1c45425f12f38012b975c36f4d17bd1cec3c0aba (patch) | |
tree | 51b99939364569dd6e1f2341c2395ec5e7af52ed /chart.go | |
parent | d8a34af384d2fa2493e80bf0259454043b3ff54e (diff) |
resolve #276, add OfficeOpenXML-XMLSchema-Strict mode support
Diffstat (limited to 'chart.go')
-rw-r--r-- | chart.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1097,7 +1097,7 @@ func (f *File) drawingParser(drawingXML string, content *xlsxWsDr) int { _, ok := f.XLSX[drawingXML] if ok { // Append Model decodeWsDr := decodeWsDr{} - _ = xml.Unmarshal([]byte(f.readXML(drawingXML)), &decodeWsDr) + _ = xml.Unmarshal(namespaceStrictToTransitional(f.readXML(drawingXML)), &decodeWsDr) content.R = decodeWsDr.R cNvPrID = len(decodeWsDr.OneCellAnchor) + len(decodeWsDr.TwoCellAnchor) + 1 for _, v := range decodeWsDr.OneCellAnchor { |