Empty AttlistDecl

Stefan Mintert sm at irb.informatik.uni-dortmund.de
Tue Jan 27 13:40:46 GMT 1998


Production [52] of the XML spec reads

       AttlistDecl ::= '<!ATTLIST' S Name AttDef* S? '>'

A legal AttlistDecl would be


What's the purpose of an empty AttlistDecl?
Shouldn't production [52] read instead as follows?

       AttlistDecl ::= '<!ATTLIST' S Name AttDef+ S? '>'

(+ instead of *)

Why was a "Possibly empty attribute definition list" (K.4.4.1, 
[142], ISO 8879 TC 2, http://www.sgmlsource.com/8879rev/n1955.htm) 
introduced in SGML with the latest revision?

Thanks in advance for any answer!



  Stefan Mintert        
       UniDo:    mintert at irb.informatik.uni-dortmund.de
       private:  stefan at mintert.com
       WWW:      http://www.informatik.uni-dortmund.de/~sm/

        "let the music keep our spirits high..."

                                (Jackson Browne)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list