Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2 Missing support for DTD-less xml.

open-postponed
nobody
None
5
2001-03-08
2001-03-06
Brian Ewins
No

This is not so much a bug as a feature request. In DTD-
less XML the following functions do not do anything
under psgml v1.2.2, XEmacs 21.1 (patch
9) "Canyonlands" :
sgml-insert-element
sgml-insert-attribute
sgml-tag-region (only inserts end tags)
sgml-split-element
sgml-insert-entity (there are 4 default entities which
are not being loaded in xml-mode)
sgml-add-element-menu (this throws a wrong argument
type error)

The following fns produce incorrect results:
sgml-next-trouble-spot - thinks everything is wrong!
(it may be right ;o) )
sgml-normalize - destroys file! all of the attributes
are dropped. This should probably not attempt anything
if the DTD is missing.

There will be more; these were the ones I tried on the
menus.

Lenart I'm willing to help out on this but is there
any documentation on how you'd like the code to evolve?

Discussion

  • Logged In: YES
    user_id=30503

     
    • status: open --> open-postponed
     
  • Jens
    Jens
    2005-02-14

    Logged In: YES
    user_id=1216150

    I would also appreciate a DTD-less XML mode.

    The consider the indenting most important, but although XML
    indenting should be rather easy compared to other modes with
    indenting (all tags must have an end tag) there seem to be
    no mode for this.

    Please correct me if I am mistaken.