Support of embedded schemas

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Support of embedded schemas

Eric van der Vlist
Hi,

OPS^H^H^H Orbeon Forms doesn't seem to support W3C XML Schema schemas
embedded in XForms models. Although that may look like a controversial
practice, this would be handy when using the XForms sandbox...

Thanks,

Eric
--
GPG-PGP: 2A528005
Le premier annuaire des apiculteurs 100% XML!
                                                http://apiculteurs.info/
------------------------------------------------------------------------
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
------------------------------------------------------------------------


--
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

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Support of embedded schemas

Erik Bruchez
Administrator
Eric,

Agreed, this would we great for the sandbox.

I see two things in the spec:

o The schema for XForms allows xsd:schema elements in the model.

o Section 3.3.1 also says that "The schema list may include URI
fragments referring to elements located elsewhere in the containing
document; e.g. "#myschema".

I am not sure if it is enough to include a schema in the model for it to
work, or if you need to use @schema="#myschema" in addition!

-Erik

Eric van der Vlist wrote:
> Hi,
>
> OPS^H^H^H Orbeon Forms doesn't seem to support W3C XML Schema schemas
> embedded in XForms models. Although that may look like a controversial
> practice, this would be handy when using the XForms sandbox...
>
> Thanks,
>
> Eric

--
Orbeon Forms - 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
Reply | Threaded
Open this post in threaded view
|

Re: Support of embedded schemas

Eric van der Vlist
Hi Erik,

Le jeudi 09 novembre 2006 à 20:47 +0100, Erik Bruchez a écrit :

> Eric,
>
> Agreed, this would we great for the sandbox.
>
> I see two things in the spec:
>
> o The schema for XForms allows xsd:schema elements in the model.
>
> o Section 3.3.1 also says that "The schema list may include URI
> fragments referring to elements located elsewhere in the containing
> document; e.g. "#myschema".
>
> I am not sure if it is enough to include a schema in the model for it to
> work, or if you need to use @schema="#myschema" in addition!
Yep, the recommendation isn't too clear on that point :-( ...

I would assume that including a schema in the xforms:model element is
enough and that @schema="#myschema" is rather for cases where you would
include the schema elsewhere in the document (you might for instance
want to include a schema straight into the xhtml:head and use it several
times in different XForms models) but that's just a guess!

Eric
--
GPG-PGP: 2A528005
Le premier annuaire des apiculteurs 100% XML!
                                                http://apiculteurs.info/
------------------------------------------------------------------------
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
------------------------------------------------------------------------


--
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

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Support of embedded schemas

Erik Bruchez
Administrator
Eric van der Vlist wrote:

> Hi Erik,
>
> Le jeudi 09 novembre 2006 à 20:47 +0100, Erik Bruchez a écrit :
>> Eric,
>>
>> Agreed, this would we great for the sandbox.
>>
>> I see two things in the spec:
>>
>> o The schema for XForms allows xsd:schema elements in the model.
>>
>> o Section 3.3.1 also says that "The schema list may include URI
>> fragments referring to elements located elsewhere in the containing
>> document; e.g. "#myschema".
>>
>> I am not sure if it is enough to include a schema in the model for it to
>> work, or if you need to use @schema="#myschema" in addition!
>
> Yep, the recommendation isn't too clear on that point :-( ...
>
> I would assume that including a schema in the xforms:model element is
> enough and that @schema="#myschema" is rather for cases where you would
> include the schema elsewhere in the document (you might for instance
> want to include a schema straight into the xhtml:head and use it several
> times in different XForms models) but that's just a guess!
I will forward this email to the working group. I also entered an RFE:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=306382&group_id=168&atid=350207

-Erik

--
Orbeon Forms - 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