Issue 7834: CORBA Source Annotation Namespace in schema (wsdlcorba-rtf) Source: (Mr. Tom Rutt, nobody) Nature: Uncategorized Issue Severity: Minor Summary: Corba IDL to WSDL interworking: ptc/03-11-02 Section 1.2.3: Identifying the Source IDL The text states that the annotation elements are in the CORBA namespace. However both schema have the wrong targetNamespace. The erroneous schema namespace information should be deleted. Put all the corba namespace type and element definitions in a single normative schema section and file. Solution Proposed by Submitter: In Section 1.2.3: On pages 1-3 and 1-4 Delete the first four lines of each schema: “ <?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.omg.org/IDL-MAPPED" elementFormDefault="qualified" attributeFormDefault="unqualified"> “ and delete the final line of each schema: “ </xsd:schema> Add the following new normative schema for the CORBA namespace, gathering all the type and element definitions spread throughout the document (the schema for objectReference, from issue xxxx, is fixed in this new schema): <?xml version="1.0" encoding="utf-8"?> <!-- WSDL for IDL to WSDL CORBA Namespace Name: corba.wsdl --> <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:corba="http://www.omg.org/IDL-WSDL/1.0/" targetNamespace="http://www.omg.org/IDL-WSDL/1.0/" name="corba"> <types> <xsd:schema targetNamespace="http://www.omg.org/IDL-WSDL/1.0/"> <xsd:element name="SourceIDL" > <xsd:annotation> <xsd:documentation>IDL/WSDL Mapping Info</xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element name="source" type="xsd:string" minOccurs="1" maxOccurs="1"/> <xsd:element name="version" type="xsd:string" minOccurs="1" maxOccurs="1"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="SourceRepositoryID" > <xsd:annotation> <xsd:documentation>IDL Mapped Repository ID </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element name="repositoryID" type="xsd:string" minOccurs="1" maxOccurs="1"/> <xsd:element name="version" type="xsd:string" minOccurs="1" maxOccurs="1"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:complexType name="ObjectReference"> <xsd:sequence> <xsd:element name="url" type="xsd:url" minOccurs="1"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="CORBA.TypeCode"> <xsd:sequence> <xsd:element name="definition" type="xsd:url" maxOccurs="1" minOccurs="1"/> <xsd:element name="typename" type="xsd:string" maxOccurs="1" minOccurs="1"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="CORBA.Any"> <xsd:sequence> <xsd:element name="type" type="corba:CORBA.TypeCode" maxOccurs="1" minOccurs="1"/> <xsd:element name="value" type="xsd:anyType" maxOccurs="1" minOccurs="1"/> </xsd:sequence> </xsd:complexType> <xsd:simpleType name="CORBA.completion_status"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="COMPLETED_YES"/> <xsd:enumeration value="COMPLETED_NO"/> <xsd:enumeration value="COMPLETED_MAYBE"/> </xsd:restriction> </xsd:simpleType> <xsd:complexType name="CORBA.SystemException"> <xsd:sequence> <xsd:element name="minor" type="xsd:unsignedInt" maxOccurs="1" minOccurs="1"/> <xsd:element name="completion_status" type="corba:CORBA.completion_status" maxOccurs="1" minOccurs="1"/> </xsd:sequence> </xsd:complexType> </xsd:schema> </types> <message name="CORBA.SystemExceptionMessage"> <part name="_return" type="corba:CORBA.SystemException"/> </message> </definitions> Resolution: Close with accepting solution proposed by submitter Revised Text: Actions taken: October 4, 2004: received issue March 10, 2005: closed issue Discussion: End of Annotations:===== ssue yyyy: CORBA Source Annotation Namespace in schema (wsdlcorba-rtf) Nature: Typographical error Severity: Minor Summary: Corba IDL to WSDL interworking: ptc/03-11-02 Section 1.2.3: Identifying the Source IDL The text states that the annotation elements are in the CORBA namespace. However both schema have the wrong targetNamespace. The erroneous schema namespace information should be deleted. Put all the corba namespace type and element definitions in a single normative schema section and file. Solution Proposed by Submitter: In Section 1.2.3: On pages 1-3 and 1-4 Delete the first four lines of each schema: . . and delete the final line of each schema: . Add the following new normative schema for the CORBA namespace, gathering all the type and element definitions spread throughout the document (the schema for objectReference, from issue xxxx, is fixed in this new schema): IDL/WSDL Mapping Info IDL Mapped Repository ID Resolution: Revised Text: Actions taken: