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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.

Reply via email to