void () { doUnusedDeclarationTest(""" <xs:schema attributeFormDefault="unqualified" <warning descr="Namespace declaration is never used">xmlns:xsi="http://www.w3.org/20<caret>01/XMLSchema-instance"</warning> elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <!-- keep formatting here--> <xs:element name="a" type="aType"/> <xs:complexType name="aType"> </xs:complexType> </xs:schema>""", """ <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <!-- keep formatting here--> <xs:element name="a" type="aType"/> <xs:complexType name="aType"> </xs:complexType> </xs:schema>""", XmlAnalysisBundle.message("xml.quickfix.remove.unused.namespace.decl")); }