You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "David Crossley (JIRA)" <ji...@apache.org> on 2006/03/01 08:18:40 UTC

[jira] Updated: (COCOON-1535) [PATCH] enhancement to {global:} input module: return all sitemap globals

     [ 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