W3C home > Mailing lists > Public > public-forms@w3.org > August 2010

NVDL and XForms+XHTML

From: Klotz, Leigh <Leigh.Klotz@xerox.com>
Date: Wed, 11 Aug 2010 11:49:21 -0700
Message-ID: <E254B0A7E0268949ABFE5EA97B7D0CF40B6ABC86@USA7061MS01.na.xerox.net>
To: <public-forms@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:54 UTC