Re: XmlValidatingReader and XmlResolver problems
From: damien morton (google_at_bitfurnace.com)
Date: 06/20/04
- Previous message: Oleg Tkachenko [MVP]: "Re: XmlValidatingReader and XmlResolver problems"
- In reply to: Oleg Tkachenko [MVP]: "Re: XmlValidatingReader and XmlResolver problems"
- Messages sorted by: [ date ] [ thread ]
Date: 19 Jun 2004 23:27:13 -0700
"Oleg Tkachenko [MVP]" <oleg@no_!spam!_please!tkachenko.com> wrote in message news:<eOBjtNiVEHA.2700@TK2MSFTNGP10.phx.gbl>...
> damien morton wrote:
>
> Well, your XML document has no reference to a schema and you don't
> provide schema for http://ReflectionXmlSerializer/1/1 namespace in your
> C# code - how do you think XmlValidatingReader is supposed to figure out
> where the schema is? So you hacve either add xsi:schemaLocation
> attribute to your document or add the schema to
> XmlValidatingReader.Schemas collection.
Thanks for your response Oleg. I thought that XmlValidatingReader used
the namespace declarations to find the schema through the XmlResolver.
Obviously this belief was not correct.
- Previous message: Oleg Tkachenko [MVP]: "Re: XmlValidatingReader and XmlResolver problems"
- In reply to: Oleg Tkachenko [MVP]: "Re: XmlValidatingReader and XmlResolver problems"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|