void () { final MyElement element = createElement("<a><string-buffer>zzz</string-buffer></a>"); final XmlTag tag = element.getStringBuffer().getXmlTag(); assertTrue(tag.getContainingFile().findReferenceAt(tag.getValue().getTextRange().getStartOffset()).isSoft()); }