Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: schema issue

From: "TOUDIdel" <toudidel@----.-->
To: NULL
Date: 5/17/2008 12:30:00 AM


U¿ytkownik "TOUDIdel" <toudidel@o...> napisa³ w wiadomo¶ci 
news:%230ccn$5tIHA.4560@T......
>I define element wihout certaint type declaration (there aren't type 
>attribute, complex or simple type child):
> e.g.
>        <xs:element name="invoice"/>
> MSXML doesn't report any errors when that element contains some text 
> content.
> I believe to MSXML but I cant find in specification why is it possible and 
> correct?


http://www.w3.org/TR/xmlschema-1/#declare-element

"An <element> with no referenced or included type definition will correspond 
to an element declaration which has the same type definition as the head of 
its substitution group if it identifies one, otherwise the .ur-type 
definition.. This has the important consequence that the minimum valid 
element declaration, that is, one with only a name attribute and no 
contents, is also (nearly) the most general, validating any combination of 
text and element content and allowing any attributes, and providing for 
recursive validation where possible."

Does it explains an issue?
-- 
td 




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