Re: debugger ignores breakpoints / psgml starts in read only (debugger) mode
Brought to you by:
ovidiu
From: Ovidiu P. <ov...@xe...> - 2001-12-13 17:36:10
|
On Thu, 13 Dec 2001 00:43:44 +0100 (MET), Patrick Dehne <pd...@gm...> wrote: > Hello, > > I am trying to setup XSLT-process 2.1 under emacs 21.1.1 running on Windows > XP. I have discovered two problems: > > 1. > When I try to run Saxon on the current buffer everything works, XSLT-process > processes the xml file and the xsl file and shows the resulting output in > the *xslt results* buffer. If I try to use the debugger my breakpoints are > ignored and XSLT-process simply does exactly the same as described above. It does > not stop at any breakpoint. I try to start the debugger like this: > - I load the xml file and xsl file > - I toggle the buffer with the xsl file into debug mode > - I set a few breakpoints in the xsl file with the "b" command. > - I switch into the buffer with the xml file > - I toggle this buffer into debug mode > - I start the debugger with the "r" command. > Any ideas why XSLT-process is not stopping at my breakpoints? Are you sure the breakpoints are reached? You can try playing with the test5.xml and test5.xsl from the distribution and see if it works. > 2. I have another problem when using psgml 1.2.3 for xml > editing. After opening a xml file, the buffer is read-only and the > XSLT-process menu is in "debugger-mode". The modeline still shows > XSLT though, not XSLTd. If I am using the standard xml (sgml) mode > that is coming with emacs the behavior is ok, so it must be a > problem with psgml and XSLT-process. I have seen Eugene Gross > describing the same problem on this mailing list in a mail from > 08/08/2001 but there was no resolution posted. There's a bug in the xml mode of PSGML. Add the following in your .emacs: (defadvice xml-mode (after run-xml-mode-hooks act) "Invoke `xml-mode-hook' hooks in the XML mode." (run-hooks 'xml-mode-hook)) > XSLT-process is a very good tool despite these problems, but with xslt > debugging working it would be really great! I haven't tested on emacs 21.1.1, and I have no experience with it. It would help knowing whether test5.{xml,xsl} work on it. Best regards, -- Ovidiu Predescu <ov...@cu...> http://orion.nsr.hp.com/ (inside HP's firewall only) http://sourceforge.net/users/ovidiu/ (my SourceForge page) http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff) |