W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2000

Element self-reference???

From: <Mike.Baker@ivans.com>
Date: 06 Oct 2000 16:15:34 -0400
To: www-xml-schema-comments@w3.org
Message-Id: <"1006201215-Element self-reference???*/G=Mike/S=Baker/O=ivans/PRMD=notes/ADMD=mailconnect/C=us/"@MHS>

Hi All.  These are DTD syntax, but are the following constructs legal?

<!ELEMENT person (adr | bday | person | phone | photo)*>

<!ELEMENT person (adr, bday, person, phone, photo)*>

In other words, is it OK for 'person' to refer to 'person' ?

I would think the second one would be invalid, but how about the first one ?

Thanks in advance for the help!!

Mike Baker
Received on Friday, 6 October 2000 16:15:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:48 GMT