This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 213850 - [xslt] [debug] Debugger should prompt for input on Stylesheet debugging
Summary: [xslt] [debug] Debugger should prompt for input on Stylesheet debugging
Status: CLOSED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xsl (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.1   Edit
Assignee: Doug CLA
QA Contact: David Williams CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-25 12:51 EST by David Carver CLA
Modified: 2009-04-30 14:28 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Carver CLA 2007-12-25 12:51:40 EST
If a debug configuration for the current stylesheet hasn't been set, then the Debug As -> XSLT Transformation should either:

1. Prompt to use one of the XML Source documents that may already be open.

2. Prompt to use an XML document that may reside within the workspace

3. Prompt to use an XML Document that may reside externally (i.e. on the web or external file system).

It would also be nice to be able to switch which file is used as input once in the debugger.

Currently the debugger just creates a new launch configuration, without prompting for which XML input file to be used.
Comment 1 David Carver CLA 2008-01-12 12:22:51 EST
Doug, re-asssigning to you as you noted in the requirements page on 1/09/08 that this was completed.   Does it have a unit test?

I've put into the whiteboard, an M1 to indicate that this is target for our M1 build.
Comment 2 Doug CLA 2008-01-12 14:41:25 EST
I've changed the launch shortcut to behave as follows depending on the current selection:

Exactly 1 XML file, 0 XSL files: Launch assuming embedded stylesheet instruction
0 XML files, 1 or more XSL files: Open dialog - prompt for input file
Exactly 1 XML file, 1 or more XSL files: Launch

Of course, other situations are possible with XSLT 2.0, but this is too complicated to implement at the moment.
Comment 3 David Carver CLA 2008-06-05 09:34:01 EDT
Mass Migration to wtp.inc.xsl
Comment 4 Doug CLA 2008-06-05 10:07:08 EDT
Closing
Comment 5 David Carver CLA 2009-04-30 14:28:39 EDT
mass update to 3.1 target due to movement from wtp incubator to wtp source editing lost the original milestones.