[Mono-bugs] [Bug 579432] ServiceContractGenerator imports duplicate code for a service
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Feb 15 01:36:53 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=579432
http://bugzilla.novell.com/show_bug.cgi?id=579432#c2
--- Comment #2 from Atsushi Enomoto <aenomoto at novell.com> 2010-02-15 06:36:52 UTC ---
Regarding the last paragraph of the comment above: on .NET, this set of schemas
cannot be imported by XsdDataContractImporter, while they can by
XmlSchemaImporter.
---- ns1.xsd ----
<xs:schema targetNamespace="urn:foo"
xmlns="urn:foo" xmlns:x="urn:bar"
xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="E1" type="T1" />
<xs:complexType name="T1"><xs:complexContent>
<xs:extension base="x:T1">
<xs:sequence>
<xs:element name="T2" />
</xs:sequence>
</xs:extension>
</xs:complexContent></xs:complexType>
<xs:element name="T2" type="xs:string" />
</xs:schema>
---- ns2.xsd ----
<xs:schema targetNamespace="urn:bar" xmlns="urn:bar"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="E1" type="T1" />
<xs:complexType name="T1">
<xs:sequence>
<xs:element name="T2" />
</xs:sequence>
</xs:complexType>
<xs:element name="T2" type="xs:string" />
</xs:schema>
--
Configure bugmail: http://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