cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Crossley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-1535) [PATCH] enhancement to {global:} input module: return all sitemap globals
Date Wed, 01 Mar 2006 07:18:40 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1535?page=all ]

David Crossley updated COCOON-1535:
-----------------------------------

    Bugzilla Id:   (was: 35440)
     Other Info: [Patch available]
    Description: 
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.

  was:
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.


> [PATCH] enhancement to {global:} input module: return all sitemap globals
> -------------------------------------------------------------------------
>
>          Key: COCOON-1535
>          URL: http://issues.apache.org/jira/browse/COCOON-1535
>      Project: Cocoon
>         Type: Bug
>   Components: - Components: Avalon
>     Versions: 2.1.8
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Mark Lundquist
>     Assignee: Cocoon Developers Team
>  Attachments: patch
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message