Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - MSXML and schema >Thread Next - Re: MSXML and schema Re: MSXML and schemaTo: NULL Date: 6/23/2009 8:37:00 PM The URL you posted for the schema looks like xsi:schemaLocation="http://www.mysite.test schedule.xsd" You are missing a slash between the domand and file path. HTH Cheers - Neil On Tue, 23 Jun 2009 06:12:32 -0700 (PDT), Peter Laman <peter.laman@g...> wrote: >I'm trying to process an XML file with MSXML. The file starts with: > ><?xml version="1.0" encoding="UTF-8"?> ><schedule xmlns="http://www.mysite.test" xmlns:xsi="http://www.w3.org/ >2001/XMLSchema-instance" xsi:schemaLocation="http://www.mysite.test >schedule.xsd"> > >So the XML references an XSD. However, when I try to use the >'validate' method, I get the error >"Validate failed because the root element had no associated DTD/ >schema." > >Secondly, I'd expect the nodeValue property of each node to have the >proper datatype as defined in the schema. In stead the nodeValue >property is NULL for each element in the XML file. Is that merely >because the schema doesn't seem to be recognized? > >Can anybody help, please? > >Thankx, Peter ------------------------------------------------ Digital Media MVP : 2004-2009 http://mvp.support.microsoft.com/mvpfaqs | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
