syntax limitations of DTDs (off topic?)

Subject: syntax limitations of DTDs (off topic?)
From: Holger Klawitter <holger@xxxxxxxxxxxx>
Date: Thu, 30 Sep 1999 11:32:13 +0200
Hi there,

does anyone have a pointer to the limitations for the structure of sgml
DTDs? Apparently the set of available langauges is a subset of LL(1)
as the following example shows:

<!doctype bad [
<!element bad       - - (before,middle?,after)                >
<!element before    - - (#pcdata)                             >
<!element after     - - (#pcdata)                             >
<!element middle    O O (block,(#pcdata,block)*)              >
<!element block     - - (#pcdata)                             >
]>
<bad>
<before>bla bla</before>
<block>bla bla</block> and <block>blo blo</block>
<after>bla bla</after>
</bad>


Regards,
	Holger Klawitter
--
Holger Klawitter                                     +49 (0)251 484 0637
holger@xxxxxxxxxxxx                             http://www.klawitter.de/


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread