diff --git a/src/Type/y-xml/YXmlFragment.js b/src/Type/y-xml/YXmlFragment.js index d1439ee5..f8dd5908 100644 --- a/src/Type/y-xml/YXmlFragment.js +++ b/src/Type/y-xml/YXmlFragment.js @@ -163,7 +163,7 @@ export default class YXmlFragment extends YArray { case 'attributes': let name = mutation.attributeName // check if filter accepts attribute - if (this._domFilter(dom, [name]).length > 0) { + if (this._domFilter(dom, [name]).length > 0 && this.constructor !== YXmlFragment) { var val = dom.getAttribute(name) if (yxml.getAttribute(name) !== val) { if (val == null) {