NVDL and XForms+XHTML

We've been asked by the ISO/IEC committee for RNG to look at NVDL and it seems like it's a good plan.

This tutorial explores integration of XHTML with SVG and XHTML with XSLT, and touches many of the issues we might encountere with XHTML+XForms.

http://jnvdl.sourceforge.net/tutorial.html


In particular, as I mentioned in the teleconference this morning, it is valuable to be able to validate the following:

  <table>
   <tbody>
     <xf:repeat...>
       <tr>
         <xf:repeat ...>
           <td>...<xf:input>...</td>
         </xf:repeat>
       </tr>
     <xf:repeat>
    <tbody>
   <table>

and


   <ul>
     <xf:repeat...>
       <li>
           ...<xf:input>...
       </tr>
     <xf:repeat>
   </ul>

In XForms 1.1, we added xf:repeat-nodeset to work around this issue, and the text specifically mentions DTDs.

In the RNG integration you might do this by redefining the RNG groups for tbody, tr, and ul with different content models using the interleave and include-redefine mechanism.

It would be good to explore the NVDL option and see how expressive and how close to correct we can get with allowing thse content models intermixed with XHTML.

Leigh.

Received on Wednesday, 11 August 2010 18:50:01 UTC