[
https://wso2.org/jira/browse/COMMONS-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15898#action_15898
]
Dimuthu Gamage commented on COMMONS-52:
---------------------------------------
Hi Jonathan,
That change too doesn't fix the issue. As you suggested this may be a
implementation specific problem. I m using xsltproc and php xsl extension which
use libxslt as the xslt parser.
When I put following code around that area,
<xsl:for-each select="namespace::*">
<xsl:message>
<xsl:value-of
select="position()"/><xsl:text>:</xsl:text><xsl:value-of
select="$this-element/@name"/><xsl:text>:</xsl:text><xsl:value-of
select="local-name()"/>
<xsl:text>,</xsl:text><xsl:value-of select="."/>
</xsl:message>
</xsl:for-each>
I got the following output for the any.wsdl attached above, (just showing
result for the two root nodes)
1:queryString:xml,http://www.w3.org/XML/1998/namespace
2:queryString:tns,urn:partner.soap.sforce.com
3:queryString:wsaw,http://www.w3.org/2006/05/addressing/wsdl
4:queryString:,http://www.w3.org/2001/XMLSchema
1:result:xml,http://www.w3.org/XML/1998/namespace
2:result:tns,urn:partner.soap.sforce.com
3:result:wsaw,http://www.w3.org/2006/05/addressing/wsdl
4:result:,http://www.w3.org/2001/XMLSchema
Here the prefix for "http://www.w3.org/2001/XMLSchema" is only taken as "", and
it has not considered the prefix "xsd". I will check what else we can do to get
this working for php.
Thanks
Dimuthu
> SIG model is incorrect when the schema elements is in the default namespace
> ---------------------------------------------------------------------------
>
> Key: COMMONS-52
> URL: https://wso2.org/jira/browse/COMMONS-52
> Project: WSO2 Commons
> Issue Type: Bug
> Components: dynamic-codegen
> Reporter: Dimuthu Gamage
> Assignee: Jonathan Marsh
> Attachments: manual3.wsdl, sigs_and_wsdl.zip
>
>
> SIG model is incorrect when the schema elements in the wsdl is in default
> namespace.
> The SIG is something like
> <param token="#return" targetNamespace="http://192.168.0.33/manual.php"
> minOccurs="1" maxOccurs="1" name="greetReturn" type="string"
> type-namespace="" simple="no"/>
> Note the simple="no", this should be corrected to simple="yes"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Commons-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/commons-dev