void () { doUnusedDeclarationTest( """ <x:all <warning descr="Namespace declaration is never used">xmlns="http://www.w3.org/2001/XMLS<caret>chema"</warning> xmlns:x="http://www.w3.org/2001/XMLSchema" <warning descr="Namespace declaration is never used">xmlns:y="http://www.w3.org/2001/XMLSchema"</warning>/>""", """ <x:all xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:y="http://www.w3.org/2001/XMLSchema"/>""", XmlAnalysisBundle.message("xml.quickfix.remove.unused.namespace.decl"), false); doOptimizeImportsTest(""" <x:all xmlns:x="http://www.w3.org/2001/XMLSchema" />"""); }