![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: DTD Any vs. XML Schema anyType [Thread Next] Re: DTD Any vs. XML Schema anyTypeTo: NULL Date: 3/2/2005 12:07:00 AM Razvan wrote: > In XMLSpy">XMLSpy 2005 I tried the above. When DTDs are used for validation > only elements are that are declared are allowed inside the "ANY" > element. That is correct. > However, if I try the same with an associated XML Schema > anything is permitted inside an element of type "anyType". Is XMLSpy">XMLSpy > broken ? It sounds like it, but I don't know if W3C Schemas follow the same rule as DTDs on this point. My $0.02 is that they should, but doubtless someone can come up with a convincing reason why they shouldn't. ///Peter -- "The cat in the box is both a wave and a particle" -- Terry Pratchett, introducing quantum physics in _The Authentic Cat_ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
