cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10763] New: - Invalid XSLT namespace causes XSL to be serialised
Date Fri, 12 Jul 2002 22:04:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10763>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10763

Invalid XSLT namespace causes XSL to be serialised

           Summary: Invalid XSLT namespace causes XSL to be serialised
           Product: Cocoon 2
           Version: 2.0.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: sitemap components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: ross@saafe.org


If a transformation uses an XSLT file that has an invalid namespace declaration
then the complete XSLT file is returned to the browser.

Should you need it, the attached zip contains a minimal application that you can
place in the mount directory to reproduce this problem (no time to write a
proper unit test at present).

Point your browser at
http://localhost:8180/cocoon/mount/xslt-namespace-test/content/test.html and
take a look at the source of the page returned, it is the XSL. Now edit the XSL
and remove the 'bad-namespace' from <xsl:stylesheet
xmlns:xsl="http://bad-namespace.www.w3.org/1999/XSL/Transform" version="1.0">
and reload the page, everything works fine now.

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


Mime
View raw message