Note that there are some explanatory texts on larger screens.

plurals
  1. PONo grammar constraints (DTD or XML schema) detected for the document
    primarykey
    data
    text
    <p>I have this dtd : <a href="http://fast-code.sourceforge.net/template.dtd" rel="noreferrer">http://fast-code.sourceforge.net/template.dtd</a> But when I include in an xml I get the warning : No grammar constraints (DTD or XML schema) detected for the document. The xml is : </p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!DOCTYPE templates PUBLIC "//UNKNOWN/" "http://fast-code.sourceforge.net/template.dtd"&gt; &lt;templates&gt; &lt;template type="INSTANCE_OF_CLASS"&gt; &lt;description&gt;Used to Create instance of class&lt;/description&gt; &lt;variation&gt;asasa&lt;/variation&gt; &lt;variation-field&gt;asasa&lt;/variation-field&gt; &lt;class-pattern&gt;asasa&lt;/class-pattern&gt; &lt;getter-setter&gt;setter&lt;/getter-setter&gt; &lt;allowed-file-extensions&gt;java&lt;/allowed-file-extensions&gt; &lt;number-required-classes&gt;1&lt;/number-required-classes&gt; &lt;allow-multiple-variation&gt;false&lt;/allow-multiple-variation&gt; &lt;template-body&gt; &lt;![CDATA[ // Creating new instance of ${class_name} final ${class_name} ${instance} = new ${class_name}(); #foreach ($field in ${fields}) ${instance}.${field.setter}(${field.value}); #end ]]&gt; &lt;/template-body&gt; &lt;/template&gt; &lt;/templates&gt; </code></pre> <p><strong>EDIT</strong> : I changed the xml, I am getting this error now:</p> <blockquote> <p>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)".</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload