Bug 111246 - Bebop debug mode missing stylesheet information
Summary: Bebop debug mode missing stylesheet information
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: other
Version: nightly
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Vadim Nasardinov
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks: 109665
TreeView+ depends on / blocked
 
Reported: 2003-12-01 11:41 UTC by Daniel Berrangé
Modified: 2007-04-18 16:59 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-12-03 17:43:25 UTC
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2003-12-01 11:41:05 UTC
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):


How reproducible:


Steps to Reproduce:
1. Set waf.debug=true
2. Visit a page appending ?debug=transform
3.
  
Actual results:
No list of stylesheets displayed

Expected results:
List of stylesheets displayed

Additional info:
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.

Comment 1 Vadim Nasardinov 2003-12-01 21:43:52 UTC
Done in change 38392.

Comment 2 Daniel Berrangé 2003-12-02 12:06:42 UTC
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. 


Comment 3 Vadim Nasardinov 2003-12-02 17:52:14 UTC
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.



Note You need to log in before you can comment on or make changes to this bug.