Re: Still serious problems with psgml 1.2.5

Lennart Staflin <[email protected]>
Newsgroups gmane.emacs.psgml.user
Message-ID <[email protected]>
On fredag, maj 23, 2003, at 13:31 Europe/Stockholm, Joachim Ziegler 
wrote:

> Sorry for the inconvenience, but I was just too quick.
>
> It all works with *small* files, but not with big ones as in my 
> current project. It just seems as if my chapers were too big.

Hmm, tricky.


> I've byte-compiled psgml for Emacs anew (which has no xml-mode in my 
> default installation).
>
> Loading my chaper2.xml, going directly after the <chapter>-tag and 
> pressing C-c C-e (insert element) I get:
>
>
> Debugger entered--Lisp error: (cl-assertion-failed sgml-current-state)
>   signal(cl-assertion-failed (sgml-current-state))
>   (or sgml-current-state (signal (quote cl-assertion-failed) (list 
> ...)))
>   (progn (or sgml-current-state (signal ... ...)) nil)
>   (assert sgml-current-state)
>   (let ((empty ...)) (cond (... ... ... ... ...) (t ... ... ... ... 
> ...)) (assert sgml-current-state))
>   sgml-set-parse-state([\#DOC 0 nil 0 nil nil 0 nil nil nil nil nil 
> nil nil nil nil nil] start)
>   (cond ((sgml-is-goal-after-start goal ...) (setq u ...)) ((and ... 
> ...) (sgml-set-parse-state u ...) nil) ((sgml-is-goal-after-start goal 
> ...) (setq u ...)) (t (sgml-set-parse-state u ...) nil))
>   (while (cond (... ...) (... ... nil) (... ...) (t ... nil)))
>   (let ((u sgml-top-tree)) (while (cond ... ... ... ...)))

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.

> Xemacs instead says "no valid element at this point" - it does not 
> even find the DTD.
>
> BTW: Of course, my files are valid DocBook-documents.
>

This might be the real problem. Could you make a complete example 
available of a couple of files the gives the above error.

//Lennart



-------------------------------------------------------
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
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.