diff options
author | xuri <xuri.me@gmail.com> | 2020-07-19 00:10:42 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-07-19 00:10:42 +0800 |
commit | ca43c6511538f50581ec3bbe1e4ee275444f8049 (patch) | |
tree | 942920612683cb0838057c686aa2a6adf432c915 /lib.go | |
parent | c922c32fb7571d3d40d3244e5635142bc390a3db (diff) |
Update test for addTable
Diffstat (limited to 'lib.go')
-rw-r--r-- | lib.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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{ |