[Mono-bugs] [Bug 332875] Exception with ReadXmlSchema

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 16 09:38:08 EST 2008


User guttorm.husveg at nimsoft.com added comment

Guttorm Husveg <guttorm.husveg at nimsoft.com> changed:

           What    |Removed                                         |Added
                 CC|                                                |guttorm.husveg at nimsoft.com

--- Comment #3 from Guttorm Husveg <guttorm.husveg at nimsoft.com>  2008-01-16 07:38:07 MST ---
We've discovered similar bug, a rather simple xsd-file causes ReadXmlSchema to
fail when running under MONO (both on Windows and Ubuntu).
If same xsd and testprogram is running under .NET and Windows, it works OK.
The content of the xsd provoking the bug follows: 

<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" 
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" >
  <xs:complexType name = "PanelType">
      <xs:element name="Name"           type="xs:string"          
minOccurs="1" maxOccurs="1" />
      <xs:element name="Content"                type="ContentType"       
minOccurs="0" maxOccurs="unbounded" />
  <xs:complexType name = "ContentType">
     <xs:element name="Panel"             type="PanelType"             
minOccurs="0" maxOccurs="1" />
     <xs:element name="Source"          type="SourceType"       minOccurs="0"
maxOccurs="1" />          
  <xs:complexType name = "SourceType">
      <xs:element name="Name"             type="xs:string"      minOccurs="0"
  <xs:element name="DashboardNode" msdata:IsDataSet="true" >
              <xs:element name="Panel" type = "PanelType"></xs:element>

If f.ex. changing Source's type from SourceType to xs:string, it works ok.

If anybody have workarounds or similar, please contact me as this makes it
currently difficult for us to make use of MONO.


Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list