Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: reference to element, elementFormDefault unqualified

From: Oliver Kusche <oli@----.--->
To: xmlschema-dev@--.---
Date: 4/13/2006 8:32:00 PM
Thanks for pointing this out. I'm merely setting
elementFormDefault="unqualified" to hide namespaces from my instance documents
so that it's not visible which component an element belongs to (making 
instance
documents a lot more readable).

So do you suggest that's not really a good practice?

cheers,
Oli


Michael Kay <mike@s...> writes:

>
> elementFormDefault="unqualified" means that a locally-declared element (one
> declared with <element name="x"> as part of a complex type) will be in no
> namespace. (I've always thought this was a weird thing to want to do.)
> Elements declared at the top level of a schema are always in the target
> namespace of that schema, regardless of the value of elementFormDefault in
> either their own schema document or in a referencing schema document.
>
> You might be able to achieve what you want using chameleon includes, but
> that's another strange facility that I prefer to admire from a distance.
>
> Michael Kay
> http://www.saxonica.com/


----------------------------------------------------------------




From lists@j... Thu Apr 13 16:46:38 2006
Received: from magg


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent