在使用idea进行开发xml文件也会出现如下报错:
Wrong root element less... (Ctrl+F1)This inspection checks if root tag name is the same as in <doctype
因此需要在idea上配置,File->Settings->Inspections->XML->Wrong root element
这样,在实际开发中就不会出现问题。
在使用idea进行开发xml文件也会出现如下报错:
Wrong root element less... (Ctrl+F1)This inspection checks if root tag name is the same as in <doctype
因此需要在idea上配置,File->Settings->Inspections->XML->Wrong root element
这样,在实际开发中就不会出现问题。