This is the mail archive of the
mailing list for the DocBook project.
Re: [docbook] Re: XML Editors
- From: Joachim Ziegler <ziegler at mpi-sb dot mpg dot de>
- To: Steinar Bang <sb at dod dot no>
- Cc: docbook at lists dot oasis-open dot org
- Date: Fri, 02 May 2003 16:34:39 +0200
- Subject: Re: [docbook] Re: XML Editors
- References: <20030426115135.GA12131@nic.fr> <Pine.LNX.4.44.0304261225090.31688-100000@dell> <email@example.com>
Steinar Bang wrote:
I use GNU Emacs/psgml, which works great for me, with DTD-aware
element insertion and attribute editing, XML tree navigation and
editing, folding, and validation. But I wouldn't dream of even
_proposing_ it to someone who today uses MSWord.
I'm also using Emacs+psgml. Most of the time it works great, but it has
some annoying bugs:
a) using entities to break a document in smaller pieces as described in
"The Definite Guide" does not work for me:
<!ENTITY chap1 SYSTEM "chap1.sgm">
<!ENTITY chap2 SYSTEM "chap2.sgm">
<book><title>My First Book</title>
Emacs (and Xemacs neither) does not parse the DTD in the smaller files.
(Yes, I have tried something like
This mechanism only works for small documents (at least on my machine.)
but not when the documents get large. i don't know how to fix this.
b) Editing of attributes does not work. It always turns
*all* attribute values to lowercase. Sometimes it inserts funny markup
like an extra ">". (Unfotunately, this behaviour cannot be reproduced
This is very dangerous because it can make files unvalid (by lowercasing
IDs or IDREfs.)
c) psgml sometimes becomes confused when I type something like
<para>The number which is half as big as n is n/2. </para>
It sometimes (but not always!) misinterprets the "/" division operator
as belonging to an end-tag. After this "/" the set of elements it offers
for this context is complete nonsense.
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com