[ 
http://issues.apache.org/jira/browse/AXIS2-1704?page=comments#action_12449943 ] 
            
Brecht Yperman commented on AXIS2-1704:
---------------------------------------

Ok, but it is perfectly legal not to use a targetNamespace, and to import 
without a namespace. I am however unsure about the difference between "no 
namespace" and "a namespace, being the empty string"...

> Schema imports without namespaces
> ---------------------------------
>
>                 Key: AXIS2-1704
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1704
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1
>         Environment: JRE 1.5
>            Reporter: Brecht Yperman
>
> Hi,
> I'm trying to connect to a webservice, deployed on Axis2, that has a wsdl 
> with several imported XMLschemas.
> The result.xsd schema imports all elements from KlantDeleteID.xsd, which has 
> no namespace.
> <xs:import schemaLocation="KlantDeleteID.xsd" />
> After deploying on Axis2, the generated XmlSchema 
> (isbeurscentrumService?xsd=xsd*), states an empty string as the namespace.
> <xs:import namespace="" schemaLocation="isbeurscentrumService?xsd=xsd*"
> />
> I don't know if (no namespace) == (namespace with empty url), but according 
> to this document: http://www.w3.org/TR/xml-names/ the empty string cannot be 
> used as a namespace declaration (it's a very new document though).
> The fact that this "empty" namespace is declared seems to cause problems for 
> .NET-clients...
> http://www.invenso.com/downloads/isbeurscentrumService.aar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to