[ 
https://wso2.org/jira/browse/COMMONS-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15896#action_15896
 ] 

Jonathan Marsh commented on COMMONS-52:
---------------------------------------

The above line certainly could (and should - just checked it in) be simplified 
to 
<xsl:variable name="typeNamespace"><xsl:value-of 
select="namespace::*[local-name() = $typePrefix]"/></xsl:variable>

But that shouldn't change the behavior.

Can you provide the wsdl you are having an issue with?  I can't quite tell what 
the problem is.  The above line looks up the namespace URI from the prefix - 
and it shouldn't matter that other prefixes in scope might map to the same URI.

> 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

Reply via email to