Summary: | .jspx produce one long line of HTML output | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | Firepica <vspa> |
Component: | Jasper | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED LATER | ||
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 5.0.29 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP |
Description
Firepica
2004-10-19 15:24:00 UTC
The spec says in XML syntax, white spaces between tags must be ignored. So this is at best an enchancement. It may be possible to add an option to pretty print the output, but that's a low priority task. You can also insert a listener to do the pretty-printing. With your permission I changed it to an enchancement. Hope entire community would benefit from it if it's implemented. Kin-Man: how would you insert a listener? I'm just personally curious... OP: I don't think anyone feels like working on this at the moment, so the quickest way to get anything done is to post a patch yourself ;) Not happening, I see. I recently developed a servlet filter which does some beautifying of XML output produced by a servler (e.g. the JSP servlet). This filter may help reading xhtml code sent to the browser. As far as I see this filter works fine, but it was not tested under production enviroments (yet!). |