You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2005/06/21 05:00:51 UTC

DO NOT REPLY [Bug 35440] New: - [PATCH] enhancement to {global:} input module: return all sitemap globals

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.