Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Use of blockDefault="#all"

From: David Carver <d_a_carver@-----.--->
To: xmlschema-dev@--.---
Date: 11/9/2007 11:41:00 AM
I think I'm running into an interpretation issue by the various XML 
tools on how to handle #all value for block and blockDefault attributes.

It appears that xsi:types are still allowed to appear in a document if 
the type value is the same as the value defined for an element.  Some 
data binding tools seem to be outputing xsi:types when not necessary and 
this is causing some tool interoperability issues.

Xerces 2.8.1 and 2.9 seem to allow xsi:type to be included, as to XML 
Spy (I take with a grain of salt).   I'm curious how Saxon interprets 
the #all value.

My interpretation would be that xsi:type would not be allowed at all in 
the xml instance if a schema has the blockDefault attribute set to #all, 
but it seems that, isn't the case at least with Xerces.

Dave


From knoaman@c... Sat Nov 10 14:06:35 2007
Receiv


transparent
Print
Mail
Like It
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