emacs-devel
[Top][All Lists]
Advanced

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

Re: xml-lite.el


From: Karl Eichwalder
Subject: Re: xml-lite.el
Date: Sat, 09 Mar 2002 11:30:15 +0100
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu)

Felix Natter <address@hidden> writes:

> Which characters are allowed at the beginning of a (normal) tag, and
> which characters are allowed for the following characters ?

For XML?  Please, check the XML Standard at www.w3.org; IIRC, Unicode
characters are even allowed for tag names.  You can issue the following
command if you want to know whether "_:d-2" is allowed as an element
name:

{ 
  cat /usr/share/sgml/openjade/xml.dcl
  echo '<!DOCTYPE _:d-2. [ <!ELEMENT _:d-2. (#PCDATA)> ]><_:d-2.>x</_:d-2.>'
} | onsgmls -wxml
onsgmls:<OSFD>0:1:W: SGML declaration was not implied
(_:d-2.
-x
)_:d-2.
C

The warning isn't fatal.  As you can see allowed names depend on the
SGML/XML declaration in use.

> That's why I suggest to tell users who need this to use html-helper-mode
> (http://www.gest.unipd.it/~saint/hth.html) instead.

Others are happy with psgml plus xxml.el (plus some self written macros).

-- 
address@hidden (work) / address@hidden (home):              |
http://www.suse.de/~ke/                                  |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)



reply via email to

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