emacs-devel
[Top][All Lists]
Advanced

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

Re: xml-mode (from sgml-mode) tag skipping fix


From: Karl Eichwalder
Subject: Re: xml-mode (from sgml-mode) tag skipping fix
Date: Fri, 01 Nov 2002 05:02:02 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

"Stefan Monnier" <monnier+gnu/emacs/address@hidden> writes:

> (although I'm not quite sure what <foo/> means in SGML)

   Linkname: Web SGML Adaptations Extension                                     
      
        URL: http://www.sgml.u-net.com/book/sgml-4.htm#Extensions               
      

   Web SGML Adaptations Extension                                               
  
   When the Web SGML adaptations provided by Annex K of SGML are available an   
      
   optional net-enabling start-tag close (NESTC) delimiter can be defined in 
additon  
   to the null-end tag delimiter. When this delimiter has been defined, the 
start-tag 
   of an element to be ended with a null end-tag must end with the NESTC 
delimiter.   
                                                                                
      
   Note: If no NESTC delimiter is defined it is assumed to have the same 
definition   
   as the NET delimiter                                                         
      

The Reference Concrete Syntax used by DocBook, HTML, etc. does not
define a NESTC.  Check the SGML declaration (.dcl or .decl) coming with
DTD; xml.dcl features the following definition:

         DELIM
             GENERAL SGMLREF
             HCRO "&#38;#x" -- 38 is the number for ampersand --
             NESTC "/"
             NET ">"
             PIC "?>"
             SHORTREF NONE

The Reference Concrete Syntax just says:

         DELIM
             GENERAL SGMLREF
             SHORTREF SGMLREF


Note: Annex K "was approved by ISO's SGML technical committee on 5th
December 1997" (Martin Bryan 1997, http://www.sgml.u-net.com/book/ ).

Note 2: As it stands, XML is SGML.

-- 
address@hidden (work) / address@hidden (home):              |
http://www.gnu.franken.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]