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 problem Re: MSXML4(SP2) StyleSheet load problemTo: NULL Date: 7/5/2007 2:59:00 AM On 4 Jul, 15:11, Martin Honnen <mahotr...@yahoo.de> wrote: > mark.toot...@talk21.com wrote: > > Does anyone have any ideas what the problem might be, and how I can > > overcome it? > > What does the reason property of the parseError object tell? > > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ Martin 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 Additional information: The line number and line position given by parseError refers to the line below <TITLE xmlns="urn:something" xmlns:title="urn:something" xmlns:xsi="http://www.w3.org/2001/ XMLSchema-instance" xsi:schemaLocation="urn:something TITLESchema.xsd"> which reads <xsl:text> 
 </xsl:text>. However, when I remove this line parseError still provides the same details. This is what lead me to check the namespace line, and how I found the issue with the "xsi" definition. Mark | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
