Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: schema issue >Thread Next - Re: schema issue Re: schema issueTo: NULL Date: 5/17/2008 8:41:00 AM "TOUDIdel" <toudidel@o...> wrote in message news:#wIAyR6tIHA.5268@T...... > > 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 > Seems to explain it. -- Joe Fawcett (MVP - XML) http://joe.fawcett.name | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
