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:
> It is the right DTD but it has probably been read using sgml-mode 
> instead of xml-mode. I don't know how that could happen. In some earlier 
> mail you used a precompiled dtd (.ced) file. If that is the case try 
> removing that and PSGML should parse the DTD from source.

I did what you said:

1) removed the .ced file
2) loaded the master file "LEDATutorium.xml" (with status line 
indicating xml mode)
3) parsed the DTD anew
4) an sgml-list-content-elements still prints out uppercase element names:

Element           Content
=======           =======
ABBREV            #PCDATA ACRONYM ANCHOR BEGINPAGE EMPHASIS INDEXTERM
                   INLINEGRAPHIC INLINEMEDIAOBJECT LINK OLINK REMARK
                   SUBSCRIPT SUPERSCRIPT TRADEMARK ULINK
ABSTRACT          FORMALPARA PARA SIMPARA TITLE
.
.
.


5) loading chapter2.xml, I still get the erroneous behaviour.


couriously enough, inserting an element in a context-sensitive way (in 
the master file, in which this mechanism is working) with the right 
mouse button of xemacs, I get a drop down menu with all valid choices
at this point in UPPERCASE LETTERS, but the inserted tags are lowercase 
afterwards.


> 
> The problems are consistent with the DTD parsed in wrong mode. I tried 
> going to the main file and executing sgml-mode and re-parsing the DTD 
> and then load the chapter. I get the same behavior.


So how do I prevent the DTD from being parsed in SGML mode?


> 
> That was just a side point as sgml-parent-document should be 
> ("LEDATutorium.xml" "book" "chapter")

It is!

Greetings and thank you very much for your endeavour to help me,
Joachim



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.