Le mercredi 19 janvier 2005 � 16:52 -0800, Alessandro Vernet a �crit : > --- Eric van der Vlist <[EMAIL PROTECTED]> wrote: > > > When I attach a schema to my XForms form, I get this ugly excpetion when > > the instance isn't valid: [...] > > Eric, I wrote a test case (attached, will be added to the tests-xforms.xml > series of tests), but was unable to reproduce this. Could you send me some > code that I could use to reproduce the problem you are experimenting?
Hmmm... it looks like that was my version mismatch that had created the problem: with my brand new 2.7.2 I can't reproduce that, sorry! > > > What can be the reason for that and is it possible to perform a schema > > validation using the same decoration mechanism that is used with > > xforms:bind constraints? > > Using a schema works as if you had <xforms:bind> elements, with the > exception that only the first invalid node in the instance is marked as > invalid. This is an annoying restriction of the XML Schema validator we > are using (see bug http://tinyurl.com/5xsyn). Thanks for pointing that out! I think I should rather keep my <xforms:bind/> if that's the case: raising only the first error will drive users crazy! Eric > > Alex -- If you have a XML document, you have its schema. http://examplotron.org ------------------------------------------------------------------------ Eric van der Vlist http://xmlfr.org http://dyomedea.com (ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema ------------------------------------------------------------------------ ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ orbeon-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/orbeon-user
