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

           Summary: [PATCH] avoid code duplication in <doctype>2xhtml
                    transformation pipeline
           Product: Lenya
           Version: 1.4
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Default Publication
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


currently, we have a selector that checks for the existence of a
doctype-specific xslt, and if it does not exist, falls back to the standard
xhtml one. since that transformation takes a huge number of parameters, this
leads to a big chunk of duplicated code.
the attached patch refactors the selector into a separate pipeline that
generates the stylesheet, so that the parameters do not have to be listed twice.
i'd like to sneak this in before 1.4.0 for aesthetic reasons, but i'd like to
hear some opinions before i do that...

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to