Hi there.
Doing my first steps with OrbeonPS I'm very enthusiastic building applications with it. BUT I was wondering because it seems that in OrbeonPS it's not possible, to validate user-input (for example like BizDoc does) using a schema. Also reading this article: http://mail.orbeon.com/pipermail/oxf-users/2004-August/000902.html confirms my suggestion. Are there any further plans enabling such a feature? Or am I just not informed correctly? Thank you for advice. Regards, Patrick Seiffert -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi Patrick,
If I'm correct this is possible by adding a schema attribute to the xforms:model element. For example: <xforms:model schema="input-schema.xsd"> <xforms:instance> ... </xforms:instance> </xforms:model> And then look for the red exclamation marks next to your input fields :) Hope that helps, Pepijn -----Original Message----- From: [hidden email] [mailto:[hidden email]] Sent: donderdag 3 augustus 2006 13:33 To: [hidden email] Subject: [ops-users] Validation using a schema Hi there. Doing my first steps with OrbeonPS I'm very enthusiastic building applications with it. BUT I was wondering because it seems that in OrbeonPS it's not possible, to validate user-input (for example like BizDoc does) using a schema. Also reading this article: http://mail.orbeon.com/pipermail/oxf-users/2004-August/000902.html confirms my suggestion. Are there any further plans enabling such a feature? Or am I just not informed correctly? Thank you for advice. Regards, Patrick Seiffert -- The information contained in this communication and any attachments is confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message and destroy all copies of this message and any attachments. ASML is neither liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by patrick.seiffert
Patrick,
We do support XML Schema. The DMV Forms example illustrates how you can validate an entire form with an imported XML Schema. However it is correct that currently OPS does not support the xforms:bind/@type attribute to specify a type imported from a schema: you can only specify built-in datatypes such as xs:integer, xs:date, etc. I should also say for our defense that the XForms specification has taken a lot of time and several errata to exactly specify how XML Schema validation should be performed. But we aim at supporting XML Schema in XForms entirely, so if you find issues please report them. I recommend you look at how the DMV Forms example performs validation with XML Schema (forget about BizDoc which is completely obsolete) and see if this is good enough for you. -Erik [hidden email] wrote: > Hi there. > > Doing my first steps with OrbeonPS I'm very enthusiastic building applications with it. > > BUT I was wondering because it seems that in OrbeonPS it's not possible, to validate user-input (for example like BizDoc does) using a schema. Also reading this article: > > http://mail.orbeon.com/pipermail/oxf-users/2004-August/000902.html > > confirms my suggestion. > > Are there any further plans enabling such a feature? > Or am I just not informed correctly? > > Thank you for advice. > > Regards, > Patrick Seiffert Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |