You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2007/05/19 14:38:51 UTC

DO NOT REPLY [Bug 42457] - remove meta-stylesheet weirdness from src/webapp/lenya/config/sitemap/pipelines.xmap

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=42457>.
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=42457


nettings@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|1.4                         |1.4.1




------- Additional Comments From nettings@apache.org  2007-05-19 05:38 -------
look at this snippet:

<!-- Lenya GUI screen -->
<map:match pattern="lenya-screen.xsl">
  <map:generate src="fallback://lenya/xslt/util/page2xhtml.xsl"/>
  <map:transform src="lenya/xslt/util/page2xslt.xsl">
    <map:parameter name="contextprefix" value="{request:contextPath}"/>
  </map:transform>
  <map:serialize type="xml"/>
</map:match>

page2xhtml.xsl is a stylesheet that renders a page:page to xhtml.
page2xslt.xsl is an identity stylesheet with one exception:
it matches <xsl:param name="contextprefix"/>, and replaces it with <xsl:param
name="contextprefix" select="$contextprefix"/>.

can i suggest a new bug severity level "howler"?

i don't know what the original intention of this was, but i can't think of
anything that could possibly justify such a baroque extravaganza :P

unless i'm very much mistaken, this whole shebang could be replaced by
  <map:transform  src="fallback://lenya/xslt/util/page2xhtml.xsl"/>
    <map:parameter name="contextprefix" value="{request:contextPath}"/>
  </map:transform>
wherever src="cocoon://lenya-screen.xsl" is used...


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org