summaryrefslogtreecommitdiff
path: root/lib.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib.go')
-rw-r--r--lib.go5
1 files changed, 1 insertions, 4 deletions
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{