From ca43c6511538f50581ec3bbe1e4ee275444f8049 Mon Sep 17 00:00:00 2001 From: xuri Date: Sun, 19 Jul 2020 00:10:42 +0800 Subject: Update test for addTable --- lib.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib.go') diff --git a/lib.go b/lib.go index 6dcd97e..0efb074 100644 --- a/lib.go +++ b/lib.go @@ -396,10 +396,7 @@ func (f *File) addNameSpaces(path string, ns xml.Attr) { if !exist { f.xmlAttr[path] = append(f.xmlAttr[path], ns) if !mc { - f.xmlAttr[path] = append(f.xmlAttr[path], xml.Attr{ - Name: xml.Name{Local: "mc", Space: "xmlns"}, - Value: SourceRelationshipCompatibility, - }) + f.xmlAttr[path] = append(f.xmlAttr[path], SourceRelationshipCompatibility) } if !ignore { f.xmlAttr[path] = append(f.xmlAttr[path], xml.Attr{ -- cgit v1.2.1