Hi everybody!
If I use the NG Orbeon engine can I use XML Schema for validation? Or I have to use Relax NG? Thanks in advance! Tania -- 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 XForms, you have to use XML Schema or xforms:bind.
In XPL, you can as before use XML Schema or Relax NG. -Erik Tania Magnenat wrote: > Hi everybody! > If I use the NG Orbeon engine can I use XML Schema for validation? Or I > have to use Relax NG? > > Thanks in advance! > > Tania -- 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 Erik!
Thank you for your answer. I would validate XForms with XML Schema, but I have a problem. I add the schema attribute to the model (<xforms:model xmlns:xforms="http://www.w3.org/2002/xforms" schema="form-schema.xsd">) and I have this error: Cannot read from file /ops/pfc/form-schema.xsd I don't understand why the engine search the XML schema in the directory /ops/pfc/ and not in the current working directory. Tania Erik Bruchez wrote: > In XForms, you have to use XML Schema or xforms:bind. > > In XPL, you can as before use XML Schema or Relax NG. > > -Erik > > Tania Magnenat wrote: >> Hi everybody! >> If I use the NG Orbeon engine can I use XML Schema for validation? Or >> I have to use Relax NG? >> >> Thanks in advance! >> >> Tania > > > > ------------------------------------------------------------------------ > > > -- > 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 -- 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
|
Tania Magnenat wrote:
> Hi Erik! > Thank you for your answer. > > I would validate XForms with XML Schema, but I have a problem. I add the > schema attribute to the model (<xforms:model > xmlns:xforms="http://www.w3.org/2002/xforms" schema="form-schema.xsd">) > and I have this error: > > Cannot read from file /ops/pfc/form-schema.xsd > > I don't understand why the engine search the XML schema in the directory > /ops/pfc/ and not in the current working directory. In this case, the base was not correctly resolved as it was for xforms:instance/src. I have fixed that in the latest CVS. In the meanwhile, you can use an absolute URL ("oxf:/..."), which is what you should do anyway if you are loading the schema from the OPS resources (as opposed to retrieving it through HTTP). -Erik -- 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 |