[
http://issues.apache.org/jira/browse/COCOON-1535?page=comments#action_12430524
]
Mark Lundquist commented on COCOON-1535:
----------------------------------------
+1
I like the ":*" syntax, and in light of that I also agree with you about not
dropping the check in XModuleSource. While I still think it's
"philosophically" better that XModuleSource not be the one to enforce a
condition for the InputModule, dropping this would mean that every other
InputModule would have to be changed to check for a null attribute (I didn't
think of that before :/).
> [PATCH] enhancement to {global:} input module: return all sitemap globals
> -------------------------------------------------------------------------
>
> Key: COCOON-1535
> URL: http://issues.apache.org/jira/browse/COCOON-1535
> Project: Cocoon
> Issue Type: Bug
> Components: - Components: Avalon
> Affects Versions: 2.1.8
> Environment: Operating System: other
> Platform: Other
> Reporter: Mark Lundquist
> Assigned To: 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