Presentation Mgr terminated with the following message ...


Type class org.orbeon.oxf.common.ValidationException Message Error unexpected attribute "style"(schema: http://www.w3.org/2002/xforms/controls) Location oxf:/pagesets/checkout/debug-xml-view.xml Line 15 Column 63


... on this test case view:

<>

   <><?xml version="1.0" encoding="UTF-8"?>
   <xhtml:html
       xmlns:xforms="http://www.w3.org/2002/xforms";
       xmlns:f="http://orbeon.org/oxf/xml/formatting";
       xmlns:xhtml="http://www.w3.org/1999/xhtml";>
       <xhtml:head>
           <xhtml:title>A Title</xhtml:title>
       </xhtml:head>
       <xhtml:body>
           <xforms:group ref="/credit-card">
               <table border="1">
                   <tr>
                       <td>
                           <xforms:input ref="expiration-month"
   style="width: 2em">
                               <xforms:alert>Expiration month must be
   between 1 and 12</xforms:alert>
                           </xforms:input>
                       </td>
                   </tr>
               </table>
           </xforms:group>
       </xhtml:body>
   </xhtml:html>

   The above document was derived from the example
   ...xforms-credit-card.view.xml

   In the studio xml editor, thre is an icon (red disc with white x)
   next to line 5,
   but no explanation associated with it in the problems tab.
   When I change the spelling of style to stile, then save the change,
   The faulty
   spelling is not detected.

   Questions
   ---------
   1. Why is style an illegal attribute in this context ?
   2. What does the icon on line 5 mean?
   3. Why does the the studio xml editor not diagnose style as unexpected?
   3. Why does the the studio xml editor not detect illegal attr stile?

--
Bill Winspur
Manager, Wynnon Systems Inc
Mobile: 403-519-5889



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to