From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.9 (X11; Linux i686; U;) Gecko/20030314 Description of problem: The BebopApplicationServlet class uses its own custom XSLT transfomration code instead of the standard PresentationManager APIs. As a results if your app uses this class for serving requests there will be a number of problems: * ?output=xml to view RAW XML document * ?output=xsl to download XSLT files as JAR * The XSLT 'encoding' output property is not set * The character set encoding on the Writer is never set * Setting of default cache control headers To elminate these problems & achieve consistency across all applications in the system BebopApplicationServlet should be changed to use the standard presentation APIs & implementations. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Uncomment getServletPath in Forum.java 2. Redeploy code 3. Try requesting /forum/index.jsp?output=xml Actual Results: Continues with normal display Expected Results: Shows raw XML Additional info:
I fixed this in 36402 since it is really killing developers trying to write applications with the new servlets & it is unlikely that the refactoring the stuff in PageTransformer will happen in the near future.