cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20159] New: - Possible bug (and fix) in soap.xsl
Date Thu, 22 May 2003 16:09:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20159>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20159

Possible bug (and fix) in soap.xsl

           Summary: Possible bug (and fix) in soap.xsl
           Product: Cocoon 2
           Version: 2.0.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: hughleat@hotmail.com


File: src\java\org\apache\cocoon\components\language\markup\xsp\java\soap.xsl

Symptom:
Scope parameter is not passed properly in all cases.  If scope is set 
to 'request' a session is still required.

Cause: (Line 113 - I think)
A call to <xscript:variable name="soap:call"> is made without passing the 
scope parameter.  This means it uses a default of scope='session', even when 
the containing <soap:call> has attribute scope='request'.

Fix:
Change line 113 to
  <xscript:variable name="soap:call" scope="{@scope}">

P.S.:
If this is the right change, can someone email me : hughleat@hotmail.com

Mime
View raw message