[Mono-list] xml schema support

Mahen Perera mahens80@hotmail.com
Thu, 20 May 2004 10:01:13 +0000


<html><div style='background-color:'><DIV class=RTE>hi...</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>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 "<A href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</A>". </DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>If the schema namespace is <A href="http://www.w3.org/1999/XMLSchema">http://www.w3.org/1999/XMLSchema</A>&nbsp;the read method will not parse the xml schema document and will throw an exception.</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>How can&nbsp;we support the 1999&nbsp;schema version also using the xmlSchema class. </DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>The&nbsp;System.Xml.Schema.XmlSchemaDatatype class has a mapping between&nbsp;xsd types and .NET types. Here, is&nbsp;the xsd types concerned&nbsp;are&nbsp;2001 schema version types? </DIV>
<DIV class=RTE>if so,</DIV>
<DIV class=RTE>How can we add schema version 1999 types to this.</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Waiting for a quick reply..</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Thank you</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Mahen&nbsp;</DIV></div><br clear=all><hr>MSN 8 helps <a href="http://g.msn.com/8HMAEN/2743??PS=47575">ELIMINATE E-MAIL VIRUSES. </a> Get 2 months FREE*.</html>