Hi,
I hadn't any answer to my question, I just need to know what
XmlSchemaElement.getName should return parsing element like this
<xs:element ref="types:SnpCol">
in order to use correctly XmlSchema.
(with XmlSchema 1.0.3 XmlSchemaElement.getName return "SnpCol" and with
XmlSchema 1.1 XmlSchemaElement.getName return "types:SnpCol")
Thanks for reply
Arnaud
Arnaud MERGEY a écrit :
Hi,
With XmlSchema 1.0.3, parsing something like this
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://www.mycompany.com/ws/work//WSSnpCol/wsdl"
xmlns:types="http://www.mycompany.com/ws/work//WSSnpCol/schema"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
targetNamespace="http://www.mycompany.com/ws/work//WSSnpCol/wsdl"><wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.mycompany.com/ws/work//WSSnpCol/schema"
elementFormDefault="unqualified" attributeFormDefault="unqualified">
<xs:element ref="types:SnpCol">
</xs:element>
<xs:element name="SnpCol">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" type="xs:decimal"
name="I_COL">
................................
</xs:element>
........
......
In XmlSchemaElement instance of this element <xs:element
ref="types:SnpCol"> getName returned "SnpCol".
Now in XmlSchema 1.1, getName return types:SnpCol.
Is it expected behavior ?
I have some issues in my application with XmlSchema I can easily fix,
but before I need to know what XmlSchemaElement.getName() should
return SnpCol or types:SnpCol in my sample.
Thnaks fo help
Arnaud
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]