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

前端 未结 19 2273
时光说笑
时光说笑 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条回答
  •  一整个雨季
    2020-11-27 11:05

    i know this is old but I'm passing trought the same problem and found the solution in the spring documentation, the following xml configuration has been solved the problem for me.

    
    
    

    before I put the line above as sugested in this forum topic , I have the same warning message, and placing this...

    
    
    

    and it give me the following warning message...

    The content of element type "template" must match "
    (description,variation?,variation-field?,allow- multiple-variation?,class-
    pattern?,getter-setter?,allowed-file-extensions?,number-required- 
    classes?,template-body)".
    

    so just try to use the sugested lines of my xml configuration.

提交回复
热议问题