title: How can i debug a xform submission?
body: <p>i'm having trouble debbuging an xform in a xhtml file. Previously it was working, but now i changed something in the namespaces of the xf:model and now when i press the submit button it doesn't do anything. I'll give a simple example in order for you to better understand my issue, but keep in mind that i'm working in a xhtml file with 400+ lines and i've been losing hours (almost 40 hours in the last week) debugging line by line, and trial and error to find out what's wrong with my forms.</p>
  
  <pre><code>    &lt;html namespaces come here&gt;
      &lt;head&gt;
         &lt;title&gt;Example&lt;/title&gt;
         &lt;xf:model schema="foobar.xsd"&gt;
           &lt;xf:instance&gt;
              &lt;Persons xmlns=""&gt;
                 &lt;name&gt;&lt;/name&gt;
              &lt;/Persons&gt;
           &lt;xf:/instance&gt;
         &lt;/xf:model&gt;
         &lt;xf:bind id=name nodeset="/Person/aluno" type="xs:string"/&gt;
         &lt;xf:submission id="submit" action="http://localhost:8080/exist/rest/db/apps/foo/bar.xquery" method="post"/&gt;
      &lt;/head&gt;
      &lt;body&gt;
        &lt;h1&gt;Type the name of the Person&lt;/h1&gt;
        &lt;xf:input bind="name"&gt;
         &lt;xf:label&gt;
                  &lt;b&gt;Name:&lt;/b&gt;
         &lt;/xf:label&gt;
        &lt;/xf:input&gt;
        &lt;xf:submit submission="submit"&gt;
          &lt;xf:label&gt;SUBMIT&lt;/xf:label&gt;
        &lt;/xf:submit&gt;
      &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>Ok, this is a simple example (it can have some errors, doesn't matter), but imagine that everytime i press SUBMIT it doesn't do anything. <strong>How can i find what is causing the error?</strong></p>