Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - RE: 'form' property under schema composition [Thread Next] Re: 'form' property under schema compositionTo: "Michael Kay" <mike@--------.---> Date: 1/3/2008 11:58:00 AM
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michael Kay writes:
> I think the rules are as follows:
>
> (a) if "form" isn't specified for an element or attribute, then the
> formDefault attribute of the textually containing xs:schema element provi=
des
> the default. The formDefault attribute of an including/importing schema d=
oes
> not affect the value.
>
> (b) if the resulting value is "qualified", then the element or attribute
> name is qualified by the target namespace of the schema document. In the
> case of a chameleon include, this is the targetNamespace of the including
> schema document.
Those both accord with my understanding. The idea is that
elt/attrFormDefault is just an authoring convenience, and never has
any different impact compared to putting "form='[value of lexically
enclosing appropriate elt/attrformDefault]'" on every elt/attr
declaration.
ht
=2D --
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@i...
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged sp=
am]
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFHfM3EkjnJixAXWBoRAnHNAJ0VNmGABNORaLbRJef8btcBbcFY9gCfTr54
uss/CD10DhkLMMyYa57dIPU=
=en/U
=2D----END PGP SIGNATURE-----
From mike@s... Thu Jan 03 11:59:09 2008
Received: from aji.w3.org ([133.27.2 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
