- From: Kresimir Karamazen <k.karamazen@trinite.nl>
- Date: Mon, 27 Oct 2008 11:23:34 +0100
- To: xmlschema-dev@w3.org
To be able to understand clearly the meaning of elementFormDefault I have written a short reminder. Could you please tell me if the following doesn't hold true? When we have elementFormDefault="qualified" in some scope then in the scope: a locally declared element elm1 must appear with a prefix (i.e. pre:elm1) or otherwise it must be implicitly in a namespace of the parent element. This means that a locally declared element elm1 in such a scope (and unless it is used as a root element, what is anyway not the intention) will never violate the "qualified" restriction because if it does not have a prefix than it has an implicit namespace of the parent (which (namespace of the parent) may be empty). However it can happen that the instance does not validate if the elm1 has not been declared in that namespace. When we have elementFormDefault="unqualified" in some scope then in the scope: a locally declared element elm1 is not allowed to appear with a prefix (i.e. unallowed is pre:elm1) . ________________________________________________________________________ K.Karamazen Trinité Automatisering B.V. Post-adres: Postbus 189, 1420 AD Uithoorn Bezoek-adres: J.N. Wagenaarweg 6, 1422 AK Uithoorn Tel. : 0297 382460 Fax : 0297 273049 Email: kk@trinite.nl Website: www.trinite.nl
Received on Monday, 27 October 2008 15:55:52 UTC