Description of problem:
The bebop debugging mode (ie ?debug=transform) is missing the
information about stylesheets. This used to display the contents of
the first stylesheet & provide a list of all included stylesheets.
The list of stylesheets in particular is used by web designers to
identify which stylesheets are being used to render a given page.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set waf.debug=true
2. Visit a page appending ?debug=transform
No list of stylesheets displayed
List of stylesheets displayed
Restoring the display of the contents of the primary stylesheet is
probably not much use, since the primary file normally just
xsl:includes a bunch of other files. More useful would simply be to
make each item in the list of stylesheets a clickable link taking to
the user to the source for the XSL file in question
The lack of a list of stylesheets is blocking APLAWS web designers, so
must be fixed for Dec 5.
Done in change 38392.
We now seem to have 3 copies of the XML appearing on the page:
* XML before transformation
* Original XML document from Bebop
* Generated XML document before transformation
The last one is effectively the same as the first. The second one is
the same as the first too, except when JSPs are using explicit
<show:XXX> tags per component instead of <show:all/>. This is such a
small use case I'd say its not worth having it there by default.
As of change 38413, we only display the colorized XML document,
which is just a pretty-printed representation of the XML that
is being transformed. So, I guess this falls under the "generated
XML before transformation" rubric.
In order to get the pure, no-colorized-frills version, developers
have to click on the "Download XML" link or append output=debug
as a query string.