Hello JoeZ,
>I am using XMLValidatingReader to validate an xml instance against the xml
schema.
Currently the schema has the targetnamespace, but the instance doesn't
have a namespace.
>Can I still use XMLValidatingReader to do the validation, without
modifying either the schema or the instance?
It seems to me you just said that this is what you're currently doing?!?
If it's not, could you please describe what problem you're seeing?
I don't do this all the time - I seem to remember I've usually used
namespaces in XML files that I wanted to validate against a schema. I
guess there may be a problem in your situation, but there may as well be a
workaround - let us know what exactly you're doing and how it fails and
maybe we can come up with some ideas.
Oliver Sturm
--
http://www.sturmnet.org/blog