Empty AttlistDecl

Stefan Mintert (sm@irb.informatik.uni-dortmund.de)
Tue, 27 Jan 1998 14:40:32 +0100


Hi!

Production [52] of the XML spec reads

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

A legal AttlistDecl would be

<!ATTLIST>

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!

Bye,

Stefan.

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

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

(Jackson Browne)