Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - schema issue >Thread Next - Re: schema issue Re: schema issueTo: 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
