You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2006/11/15 08:57:37 UTC
[jira] Commented: (AXIS2-1704) Schema imports without namespaces
[ http://issues.apache.org/jira/browse/AXIS2-1704?page=comments#action_12449929 ]
Deepal Jayasinghe commented on AXIS2-1704:
------------------------------------------
There is definitely a bug in Axis2 code , but as I can see there are couple of xsd in the archive file without having a targetNamespace so that might be one of the reason to have import with empty string namespace
> 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