JEdit
From Chswiki
Editing XML files in JEdit: highlights
By default, elements will appear in blue, attribute values in magenta, and text content in black.
Some of you have set up your JEdit preferences so that you'll see a list of Elements allowed at the caret docked at the top left corner of your JEdit window. (If you haven't yet done that but would like to, select "Global options..." fromt he Utilities menu, and in the left column under "Jedit", select "Docking".) You can enter tags for a legal element either by directly typing the appropriate markup in your file, or by double clicking in this list on the element you want to enter. If the element allows any possible attributes, a dialog box will let you check attributes to include, and will let you enter values for those attributes.
Every time you save a file, JEdit will validate it (that is, compare the file against the TEI ruleset it is supposed to follow). If your file is synatactically valid, you will see a message in the bar at the bottom of the window reading "XML parsing complete, 0 error(s)."
If instead you see a message like "XML parsing complete, SOME NUMBER error(s)," you should try to get more information by choosing “Error List” from the Plugins menu, ErrorList option. Some error messages are more obvious or helpful than others. If you encounter an error in your XML markup that you cannot correct, do not continue. If you can't work out your problem in your team, see your faculty supervisor before going any further: we want to be sure that we keep our shared data in valid XML.

