problems with emacs xml-mode

Dave Carlson dcarlson at ontogenics.com
Sat Jan 31 03:38:29 GMT 1998


I have the xml-mode installed for emacs (running on WinNT 4.0), using the
most current versions of each.  Although I can edit XML docs reasonably
well, I have a couple of significant problems.  I'm not a regular emacs
user, so maybe the solution lies is configuring emacs for NT.

1.  The right mouse button doesn't bring up the context menu, but
shift-rightMouse does bring up the menu.  Right mouse button alone does nothing.

2.  The DTD is parsed, but all element names are folded into all lower case.
Does the current version of xml-mode support mixed-case element names?  If
so, what am I doing wrong?

3.  The attributes defined for an element are added into the document tag in
reverse order compared to their definition in the DTD.  I'd prefer
consistent ordering.
         For example:
                <!ELEMENT Class ( Comment?, (field)* ) >
                <!ATTLIST Class name ID #REQUIRED >
                <!ATTLIST Class extends IDREF #IMPLIED >

        Produces the XML document:
                <class extends="bar" name="foo">
                </class>

4.  Font highlighting has some problems.  I've configuring my _emacs file
according to earlier posts in this list, but the text  highlighing only
appears after I've used the context menu to insert a new tag.  Then, the
text is only highlighted from that point *backward* in the document.  When I
first load a document, no text is highlighted.

I'd be very grateful for any suggetions to fix these problems!

Cheers,
  Dave Carlson


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list