Re: [Xsltforms-support] XForms Validator
Brought to you by:
alain-couthures
From: William V. <wve...@vi...> - 2014-02-13 15:05:40
|
Thank you Dan for your recommendation. I found a very good NVDL checker at http://sourceforge.net/projects/onvdl/ (I think this one is the engine included on oXygen) It includes a complete example on xforms+xhtml that can be used directly to validate our XForms. For sure it will do the job until I fill my piggy bank to buy oXygen. - Bill De: Dan McCreary [mailto:dan...@gm...] Enviado el: miércoles, 05 de febrero de 2014 11:32 p. m. Para: William Velasquez CC: xsl...@li... Asunto: Re: [Xsltforms-support] XForms Validator Hi William, I would suggest you use a namespace validation language NVDL syntax checker if you can get your hands on the oXygen IDE. It is expensive but worth it if you do a lot of XForms editing. I have had to change the XForms schema a few times to get it to work correctly with various patterns I use. For example we allow the class attribute in our XForms. Here is an example of the XML PI done by the brilliant Alex Bleasdale of MarkLogic, http://blog.msbbc.co.uk/2008/04/validating-xforms-syntax-with-oxygen.html - Dan On Wed, Feb 5, 2014 at 1:40 PM, William Velasquez <wve...@vi...<mailto:wve...@vi...>> wrote: Hi list, After 4 years writing XForms I became accustomed to write XForms source by hand, and to check the syntax myself. but sometimes it makes me and my colleagues loss a lot of time for little unintentional mistakes, like using nodeset="" instead of ref="" in an xf:group Neither the editor (Notepad++ with XML Tools) or the processor (XSLTForms) emit any error because it's valid XML and XSLTForms just ignore unknown attributes. My question is: Does anybody know a way to validate XForms against the XSD Schema provided by W3C? I tried to download the schema form http://www.w3.org/MarkUp/Forms/2002/XForms-Schema.xsd and register it on Visual Studio (and also in XMLSpy), but the HTML DTD doesn't allow additional namespace declarations on the root element, so the XForms cannot be validated. Thank you my friends for all your help, William David Velásquez Director de Investigación y Desarrollo Visión Tecnológica S.A.S. www.visiontecnologica.com<http://www.visiontecnologica.com> Tel (57 4) 444 7292<tel:%2857%204%29%20444%207292> Movil (57) 311 709 8421 Follow me @williamda ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Xsltforms-support mailing list Xsl...@li...<mailto:Xsl...@li...> https://lists.sourceforge.net/lists/listinfo/xsltforms-support -- Dan McCreary http://danmccreary.com Co-author: Making Sense of NoSQL<http://manning.com/mccreary> office: (952) 931-9198 cell: (612) 986-1552 skype: dmccreary47 |