Generated Code does not compile
-------------------------------
Key: AXIS2-1422
URL: http://issues.apache.org/jira/browse/AXIS2-1422
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: codegen
Environment: jdk 1.4 with linux
Reporter: Amila Chinthaka Suriarachchi
Priority: Critical
Attachments: header.wsdl
the header.wsdl file does not compile with jdk1.4. But it compiles with the
jdk1.5.
the reason is the xsl condition always true (in MessageReceiverTemplate.xsl) if
the variable is present.
<xsl:if test="$returntype!=''">
but when I replace the condition using string-length function it works fine.
<xsl:if test="string-length(normalize-space($returntype)) > 0">
--
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]