OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

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

RE: DTD Notation

Title: DTD Notation
None.  The parens are probably an artifact of someone cutting and
pasting, or  thought the choices were going to be extended


Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h

-----Original Message-----
From: Boyse, Jim [mailto:Jim_Boyse@foremost.com]

Can someone help with a DTD notation question, please?

I'm looking at a DTD furnished by an outside source.  In the DTD, most "optional repeating" elements are defined with an asterisk, for example, <!ELEMENT Test1 (ItemA, ItemB?, ItemC*)>.  But a few are defined with additional parentheses, for example, <!ELEMENT Test2 (ItemA, ItemB?, (ItemC)*)>.

What's the difference between "ItemC*" and "(ItemC)*"?

Thanks for any insight into this (subtlety | confusion) you can give.