Eclipse Java Debugging Support for Xalan Extensions
Are you missing a feature? Request its implementation here.
-
- Posts: 2
- Joined: Tue Nov 21, 2006 2:47 pm
Eclipse Java Debugging Support for Xalan Extensions
Not sure whether this has already been requested. Haven't managed to find anything similar browsing through this forum in the last 2 hours.
I'm developing Xalan extensions to simplify the process of creating SVG from XML (piecharts, barcharts and the like). It would be great if one could add breakpoints or watch variables inside their java code. I guess this should already be possible as long as you know what to tweak. Maybe this could be incorporated in a future feature? Any workarounds to make it work for now?
I'm developing Xalan extensions to simplify the process of creating SVG from XML (piecharts, barcharts and the like). It would be great if one could add breakpoints or watch variables inside their java code. I guess this should already be possible as long as you know what to tweak. Maybe this could be incorporated in a future feature? Any workarounds to make it work for now?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Eclipse Java Debugging Support for Xalan Extensions
Post by sorin_ristache »
Hello,
Regards,
Sorin
No, it is not possible. The XSLT engine does not send notifications when an extension is executed. You have to debug that part using Java techniques.xvolver wrote:It would be great if one could add breakpoints or watch variables inside their java code. I guess this should already be possible as long as you know what to tweak.
Regards,
Sorin
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
-
- Posts: 2
- Joined: Tue Nov 21, 2006 2:47 pm
Sorin, George
Thanks for your replies
I found a way round this. Just using oXygen standalone with JAVA_OPTS tweaked in the batch file to start the VM in debug mode. Then I use the remote debug feature of eclipse and it all works fine. Had to download version 8 to get the correct line numbers to display though. Not sure what might have caused that...
A couple of further thoughts:
1. Allow multiple jar selection in the Extensions add dialog.
2. Make it a bit clearer in the documentation that extension jars as well as their dependencies need to be added via the extensions dialog (in the transformation scenario)
Thanks for your replies

I found a way round this. Just using oXygen standalone with JAVA_OPTS tweaked in the batch file to start the VM in debug mode. Then I use the remote debug feature of eclipse and it all works fine. Had to download version 8 to get the correct line numbers to display though. Not sure what might have caused that...
A couple of further thoughts:
1. Allow multiple jar selection in the Extensions add dialog.
2. Make it a bit clearer in the documentation that extension jars as well as their dependencies need to be added via the extensions dialog (in the transformation scenario)
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
We will remove the Add extension dialog and we will add the file browser buttons in the Edit extensions dialog to allow adding multiple files in one step.xvolver wrote:1. Allow multiple jar selection in the Extensions add dialog.
The dependencies of your extensions are extensions too, that is jars or classes which are not included in the standard distribution of the XSLT engine used in your transformation scenario. That means all the jars/classes containing your XSLT extensions should be added in the Extensions dialog.xvolver wrote:2. Make it a bit clearer in the documentation that extension jars as well as their dependencies need to be added via the extensions dialog (in the transformation scenario)
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re:
Post by sorin_ristache »
Hello,
Regards,
Sorin
I wanted to let you know that now the file browser allows you to add multiple extensions in the scenario in one step. Just download the current version of Oxygen and see how adding extensions works.sorin wrote:We will remove the Add extension dialog and we will add the file browser buttons in the Edit extensions dialog to allow adding multiple files in one step.xvolver wrote:1. Allow multiple jar selection in the Extensions add dialog.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service