Re: [Xsltforms-support] XForms Validator
Brought to you by:
alain-couthures
From: Dan M. <dan...@gm...> - 2014-02-06 04:31:46
|
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...> 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 > > Tel (57 4) 444 7292 > > 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... > 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 |