[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: psgml - support for XML namespaces and schemas?

From: D. D. Brierton
Subject: Re: psgml - support for XML namespaces and schemas?
Date: Fri, 08 Nov 2002 16:59:33 +0000
User-agent: Pan/0.11.4 (Unix)

On Fri, 08 Nov 2002 16:14:10 +0000, Stefan Monnier <> wrote:

> You can try out Emacs' built-in sgml-mode which is much less featureful than
> PSGML but doesn't require anything like a DTD. The version that comes with
> Emacs-21.2 is severely under-featured in many respects, but the version in
> the development code
> supposedly works with Emacs-21.2 and provides XML support and indentation.
> I'd be interested to hear any comment about it,

Hi Stefan,

I downloaded the development code and tried it with 21.1. (I commented out
the section of my .emacs on PSGML.) I tried it with this docment:

<?xml version="1.0"?>
<!ENTITY content SYSTEM "content.xml">
<html xmlns=""; xml:lang="en-GB">
    <title>Emacs/PSGML Wrapper</title>

The syntac highlighting is nice (nicer than PSGML's). Indenting seems to work
nicely too. However, SGML -> Insert Attributes allows returns "Wrong context
for adding attribute" regardless of where the cursor is. If I attempt to tab
complete on SGML -> Insert Tag it gives ! and then a further tab gives me the
choice of:

Possible completions are:
![                                 !attlist
!doctype                           !element

I wasn't really expecting any tab completion (I assume no parsing or attempt
to read the DTD takes place), but why does it offer to insert things which
belong in the internal subset of the document type declaration regardless of
where I am in the document? Is that expected behaviour? Are there any
specific tests you'd like me to run before I re-enable PSGML?

Best, Darren

D. D. Brierton   
       Trying is the first step towards failure (Homer Simpson)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]