[Mono-list] xml schema support

Jonathan Stowe jns@gellyfish.com
Thu, 20 May 2004 12:11:41 +0100

On Thu, 2004-05-20 at 11:01, Mahen Perera wrote:
> hi...
> This is regarding the System.Xml.Schema namespace. The current
> implementation of XmlSchema class gives an exception in the
> Read(XmlTextReader, ValidationEventHandler) method when the parsed
> XmlTextReader refers to a xml schema with the xsd namespace other than
> "http://www.w3.org/2001/XMLSchema". 
> If the schema namespace is http://www.w3.org/1999/XMLSchema the read
> method will not parse the xml schema document and will throw an
> exception.

Yes.  That is precisely what the documentation says:


> How can we support the 1999 schema version also using the xmlSchema
> class. 

I guess if one were looking for full compliance with the de facto
specification a whole new class would have to be created to do this,
with some kind of multiplexing front-end to dispatch to the correct
class to hand the schema version.

> The System.Xml.Schema.XmlSchemaDatatype class has a mapping
> between xsd types and .NET types. Here, is the xsd types
> concerned are 2001 schema version types? 
> if so,
> How can we add schema version 1999 types to this.
> Waiting for a quick reply..
> Thank you
> Mahen 
> ______________________________________________________________________
> MSN 8 helps ELIMINATE E-MAIL VIRUSES.  Get 2 months FREE*.
> _______________________________________________ Mono-list maillist -
> Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list