[Mono-bugs] [Bug 336739] Unable to use GroupWise SOAP WSDL bindings with Mono 1.2.4

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 26 07:37:02 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=336739#c4





--- Comment #4 from Atsushi Enomoto <atsushi at ximian.com>  2007-10-26 05:37:01 MST ---
There are couple of issues. I have already fixed the case that code property is
not properly escaped ("default" instead of "@default"). There is another case
to fix:

<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'
  xmlns:b='urn:bar'
  targetNamespace='urn:bar'>
  <xs:complexType name='PhoneList'>
    <xs:sequence>
      <!-- this case doesn't work -->
      <xs:element name='Content' type='b:DayOfWeek' />
      <!-- this case works -->
      <!-- xs:element name='Content' type='b:WeekDay' / -->
    </xs:sequence>
    <xs:attribute name='default' type='xs:string' />
  </xs:complexType>
  <xs:element name='Foo' type='b:PhoneList'>
  </xs:element>
        <xs:complexType name="DayOfWeek">
                <xs:simpleContent>
                        <xs:extension base="b:WeekDay">
                        </xs:extension>
                </xs:simpleContent>
        </xs:complexType>
        <xs:simpleType name="WeekDay">
                <xs:restriction base="xs:string">
                        <xs:enumeration value="Sunday"/>
                        <xs:enumeration value="Monday"/>
                        <xs:enumeration value="Tuesday"/>
                        <xs:enumeration value="Wednesday"/>
                        <xs:enumeration value="Thursday"/>
                        <xs:enumeration value="Friday"/>
                        <xs:enumeration value="Saturday"/>
                </xs:restriction>
        </xs:simpleType>

</xs:schema>

simpleContent/extension causes omitted base type, which should be emitted.


-- 
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