This sounds like a bug in XML Spy. I do not use it but am confident that
syntax is correct.
"Munter, Joel D" wrote:
> Farrukh,When I load the schema into XML Spy (3.5), I get the
> following error: name="xml:lang" cannot have a namespace prefix.
> Please remove prefix or use ref= instead!The error occurrence point in
> the schema file is:
>
> <xsd:element
> name="RequestAcceptedResponse">http://www.oasis-open.org/registry/1.1/schemas/Registry.xsd"/>
>
> > >
> > > <message name="GetRootClassificationNodesRequest">
> > > <part name="GetRootClassificationNodesRequest"
> element="xsd1:GetRootClassificationNodesRequest"/>
> > > </message>
> > >
> > > <message name="GetClassificationTreeRequest">
> > > <part name="GetClassificationTreeRequest"
> element="xsd1:GetClassificationTreeRequest"/>
> > > </message>
> > >
> > > <message name="GetClassifiedObjectsRequest">
> > > <part name="GetClassifiedObjectsRequest"
> element="xsd1:GetClassifiedObjectsRequest"/>
> > > </message>
> > >
> > > <message name="SubmitAdhocQueryRequest">
> > > <part name="SubmitAdhocQueryRequest"
> element="xsd1:SubmitAdhocQueryRequest"/>
> > > </message>
> > >
> > > <message name="GetContentsRequest">
> > > <part name="GetContentsRequest"
> element="xsd1:GetContentsRequest"/>
> > > </message>
> > >
> > > <message name="RegistryResponse">
> > > <part name="RegistryResponse"
> element="xsd1:RegistryResponse"/>
> > > </message>
> > >
> > > <portType name="ObjectQueryManagerPortType">
> > > <operation name="getRootClassificationNodes">
> > > <input
> message="tns:GetRootClassificationNodesRequest"/>
> > > <output message="tns:RegistryResponse"/>
> > > </operation>
> > >
> > > <operation name="getClassificationTree">
> > > <input
> message="tns:GetClassificationTreeRequest"/>
> > > <output message="tns:RegistryResponse"/>
> > > </operation>
> > >
> > > <operation name="getClassifiedObjects">
> > > <input
> message="tns:GetClassifiedObjectsRequest"/>
> > > <output message="tns:RegistryResponse"/>
> > > </operation>
> > >
> > > <operation name="submitAdhocQuery">
> > > <input
> message="tns:SubmitAdhocQueryRequest"/>
> > > <output message="tns:RegistryResponse"/>
> > > </operation>
> > >
> > > <operation name="getContents">
> > > <input message="tns:GetContentsRequest"/>
> > > <output message="tns:RegistryResponse"/>
> > > </operation>
> > >
> > > </portType>
> > >
> > > </definitions>
> > >
> > >
> ------------------------------------------------------------------------
>
> > > <?xml version="1.0"?>
> > > <definitions name="ObjectQueryManager"
> > >
> > > <documentation>
> > > $Header: /jse/ebxmlrr/misc/RegistrySOAPBinding.wsdl,v 1.1
> 2001/07/28 20:29:37 najmi Exp $
> > > This is the the normative concrete SOAP/HTTP binding for the OASIS
> ebXML Registry services.
> > > </documentation>
> > >
> > >
> targetNamespace="http://www.oasis-open.org/registry/1.1/RegistrySOAPBinding.wsdl"
>
> > >
> xmlns:tns="http://www.oasis-open.org/registry/1.1/RegistrySOAPBinding.wsdl"
>
> > > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
> > > xmlns="http://schemas.xmlsoap.org/wsdl/">
> > >
> > > <documentation>
> > > Import the definition of the abstract OASIS ebXML Registry
> services
> > > </documentation>
> > > <import
> namespace="http://www.oasis-open.org/registry/1.1/definitions"
> > >
> location="http://www.oasis-open.org/registry/1.1/Registry.wsdl"/>
> > >
> > > <documentation>
> > > The SOAP bindings to the abstract services follow
> > > </documentation>
> > >
> > > <binding name="ObjectQueryManagerSoapBinding"
> type="tns:ObjectQueryManagerPortType">
> > > <soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
> > > <operation name="getRootClassificationNodes">
> > > <soap:operation
> soapAction="http://www.oasis-open.org/registry/1.1/RegistrySOAPBinding/ObjectQueryManager/getRootClassificationNodes"/>
>
> > > <input>
> > > <soap:body use="literal"/>
> > > </input>
> > > <output>
> > > <soap:body use="literal"/>
> > > </output>
> > > </operation>
> > > </binding>
> > >
> > > <documentation>
> > > The concrete services bound to the SOAP bidning follows
> > > </documentation>
> > >
> > > <service name="ObjectQueryManager">
> > > <documentation>The ObjectQueryManager service of OASIS
> ebXML registry version 1.1</documentation>
> > > <port name="ObjectQueryManagerPort"
> binding="tns:ObjectQueryManagerSOAPBinding">
> > > <soap:address
> location="http://www.oasis-open.org/registry/1.1/ObjectQueryManager"/>
>
> > > </port>
> > > </service>
> > >
> > > </definitions>
> >
> > --
> > Regards,
> > Farrukh
>
> --
> Regards,
> Farrukh
>
--
Regards,
Farrukh
--
Regards,
Farrukh