Re: Still serious problems with psgml 1.2.5
Joachim Ziegler <[email protected]>
| Newsgroups | gmane.emacs.psgml.user |
|---|---|
| Organization | Max-Planck-Institut für Informatik |
| Message-ID | <[email protected]> |
Lennart Staflin wrote:
>
> On söndag, maj 25, 2003, at 16:30 Europe/Stockholm, Joachim Ziegler
wrote:
>
>> Lennart Staflin wrote:
>>
>>> Make sure you byte compile with the same version of emacs that you
>>> are using. The above looks strange and could be caused by some
>>> version mismatch.
>>
>>
>> OK, the same experiment now with GNU Emacs 21.1.2:
>
>
> I tried to reproduce this with Emacs 21.1 and the latest from CVS but it
> work for me.
>
>
>
>> Pressing Tab gives the following list (which must be nonsense; I
>> suppose every DocBook element is contained in it):
>>
>> Click <mouse-2> on a completion to select it.
>> In this buffer, type RET to select the completion near point.
>>
>> Possible completions are:
>> ABBREV ABSTRACT
>> ACCEL ACKNO
>> ACRONYM ACTION [...]
>
>
> Definitely looks like all elements are listed. It is also odd that they
> are in upper case. It is the XML DTD isn't it?
>
Yes. The prolog of the master file is
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE book
PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"/KM/usr/ziegler/DocBook/DocBookXML4.2/docbookx.dtd"
[...]>
> I tried with DocBook XML DTD V4.1.2 and the elements have lower case
> names. Is psgml picking up the correct DTD?
>
I've gone (in the master file) to the menu SGML -> File Options ->
Doctype and get:
sgml-doctype's value is nil
Then I've clicked on DTD -> Parse DTD. The minubuffer says
Loading "/KM/usr/ziegler/DocBook/DocBookXML4.2/docbook.cat"
the emacs parses the DocBook DTD (which takes several minutes).
After that, teh context sensitive inserting mechanism works in the
master document, but still not in chapter1.xml.
Joachim
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge