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 ops-users@objectweb.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws