Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: MSXML4(SP2) StyleSheet load problem [Thread Next] Re: MSXML4(SP2) StyleSheet load problemTo: NULL Date: 7/5/2007 2:53:00 PM mark.tootell@t... wrote: > The reason given by parseError is: > > "Element content is invalid acording to the DTD/Schema. > Expecting: ..." It then lists the elments given in TITLESchema.xsd What happens is that the XML parser finds the xsi:schemaLocation attribute, fetches the schema listed there and tries to validate the element and its contents against the schema. That fails, so you get a parseError with errorCode not equal to zero. You probably don't want to validate the stylesheet at all so set the validateOnParse property of the stylesheet to false before you call the load method. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
