Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: Can XML schema prevent additional unspecified elements? [Thread Next] Re: Can XML schema prevent additional unspecified elements?To: NULL Date: 7/8/2008 8:57:00 AM "J.A." <jonathan_armstrong@r...> wrote in message news:56e1827d-cffc-4550-82ea-d214869d9073@2...... > The funny thing is, I created a "dummy" XSD and wrote a corresponding > XML file with an additional unspecified element. Lo and behold, this > time the parser (correctly) failed validation. > > I'm using .Net parser, as part of a basic .Net Windows XML Schema > validation application. > > The problem must be something to do with the actual XSD and XML file I > am using. The problem is that the XSD file is 2000 lines long, and the > XML file is 81Mb. I will spare you these, and will have to do some > more investigation.... Good luck. We probably don't need the XML though and just the part of the XSD that deals with the container element forr your problem section and any types it references. -- Joe Fawcett (MVP - XML) http://joe.fawcett.name | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
