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 35440] New: - [PATCH] enhancement to {global:} input module: return all sitemap globals
Date Tue, 21 Jun 2005 03:00:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35440>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35440

           Summary: [PATCH] enhancement to {global:} input module: return
                    all sitemap globals
           Product: Cocoon 2
           Version: Current SVN 2.1
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: mlundquist2@comcast.net


If invoked with an empty attribute name, serializes all the global variables to a SAX stream
all in one 
whack.  This allows for the following:

    <match pattern="globals">
        <generate src="xmodule:global:" />
        <serialize>
    </match>

The idea is that this pipeline is a convnient way to get visibility to sitemap globals from
within an XSLT 
stylesheet, without having to pass them in as stylesheet parameters.

This patch also relaxes XModuleSource to accept an input module name with an empty attribute
name.  
It should be up to the input module whether an empty attribute is valid.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message