No grammar constraints (DTD or XML schema) detected for the document

前端 未结 19 2296
时光说笑
时光说笑 2020-11-27 10:35

I have this dtd : http://fast-code.sourceforge.net/template.dtd But when I include in an xml I get the warning : No grammar constraints (DTD or XML schema) detected for the

19条回答
  •  萌比男神i
    2020-11-27 11:18

    What I found to be the solution was something very very simple that I think you should try before tinkering with the preferences. In my case I had this problem in a strings file that had as a base tag "resources" ...all I did was delete the tag from the top and the bottom, clean the project, save the file and reinsert the tag. The problem has since disappeared and never gave me any warnings. It may sound to simple to be true but hey, sometimes it's the simplest things that solve the problems. Cheers

提交回复
热议问题