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 20443] New: - util:include-expr does not work
Date Tue, 03 Jun 2003 08:11:20 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=20443>.
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=20443

util:include-expr does not work

           Summary: util:include-expr does not work
           Product: Cocoon 2
           Version: 2.1m2
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: sitemap components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: matomira@acm.org


1. If one attempts in XSP:




<util:include-expr><util:expr><xsp:expr>foo</xsp:expr></util:expr></util:
include-expr>




where foo is a Java String variable, it generates bad Java code which does not 
compile (in addition to apparently trying to include the literal "foo" instead


of the variable's value).




2. If instead one attempts:




<util:include-expr expr="foo"/>




where is again a Java String variable, one gets a ProcessingException "Content 
is not allowed in prolog" and no code is generated at all.

Mime
View raw message