Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: schema issue [Thread Next] Re: schema issueTo: NULL Date: 5/17/2008 11:09:00 AM
Uzytkownik "Joe Fawcett" <joefawcett@n...> napisal w wiadomosci
news:6C419E56-151C-40E7-BD9E-F1C42F820F0C@m......
> Seems to explain it.
Thx for confirmation my supposition.
Don't you consider it is very interesting schema issue following many
different xml documents which every would be valid against the same schema.
That document may have e.g. 20 B or even 20 MB.
Example:
<xs:schema ...>
<xs:element name="rootElement"/>
</xs:schema>
rootElement hasn't data type reference so it can contains both empty string
or freely length string or even big document fragment. Result would be the
same: element's content won't be validated.
That phenomenon permits for "light" schema allowing any content data and
document always will be valid with schema. Of course better not to abuse
that fact :)
--
td
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
