Michael,

XML editing is handled by a completely different set of modes than those
that comprise the JDEE.  From emacs' standpoint, Tomcat's web.xml file is
"just another" XML file -- no special role or relation to java, jdee, etc.
So, you'll need to figure out what's wrong with your emacs configuration
vis-a-vis XML editing, and that's not a JDEE issue.

To take a wild guess, you probably have an error in your load path that is
preventing emacs from finding psgml mode.  If you're not experienced with
emacs lisp, I suggest that you approach the problem incrementally: comment
out most (all?) of your .emacs file and gradually add things back in to the
point where they stop working correctly.  You don't need to keep starting
and stopping emacs:  you can just mark a region that you'd like to evaluate
and M-x evaluate-region.  Or you can post your .emacs file to comp.emacs and
ask for help -- that's a general purpose newsgroup and this list is for JDEE
problems exclusively.

Good luck,
Eric

-----Original Message-----
From: Michael Coughlan [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 19, 2003 6:38 AM
To: [EMAIL PROTECTED]
Subject: JDE tools to validate Tomcat's web.xml?


Hello all,

What emacs JDE tools are availble for validating a Tomcat web.xml file?

Yesterday, I could edit my web.xml file and see the emacs JDE color coding
the tags blue and data black. Hurray!

As of today, I seem to have lost the pretty colors.

: (

I treied to explicity set xml-mode, but that didn't fix the trouble.

A test edit of foo.java shows that java-mode is still working for java
files. (more pretty colors)

I would love it if my JDE could help to validate my web.xml in some way.
It's a pain to restart tomcat and parse the logs every time. I'd at least
like to get my color coding back.

Thanks,

MPC


Versions:

I am running a Cignys Xwindows Server on Windows XP to connect to a Red Hat
linux box running both the X Client Tomcat 5.

On lunix...
# rpm -qa | grep emacs
emacs-21.2-33

eieio, speedbar, etc are all latest versions, but not the singular beta
install

Reply via email to