Re: [Psgml-user] Still serious problems with psgml 1.2.5
Brought to you by:
lenst
From: Joachim Z. <zi...@mp...> - 2003-06-11 16:45:47
|
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 |