axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brecht Yperman (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-1704) Schema imports without namespaces
Date Wed, 15 Nov 2006 08:58:37 GMT
    [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message