Ctrl+Shift+F 无法格式化xml文件

今天做项目时出现xml文件无法使用Ctrl+Shift+F格式化的问题,出现 "Format" did not complete normally. Please see the log for more information“.


这可能是因为<web-app></web-app>中有些空格所致,试着将其删掉,或者可以将内容全部删除,然后重新粘贴即可完美解决

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念