|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Deterministic content models???
>John Cowan scripsit: > > <!ENTITY % paracontent "(%text; | %list; | (table , tabnote*) | figure)+" > > > > This works fine in SGML. XML does not like it. For XML versions of the > > DTD, we had to take the parens out and change the , to |. > I am willing to bet that "%text;" expands to some choice of elements and > #PCDATA, and XML can only cope with #PCDATA in the very limited frame > "(#PCDATA | element1 | element2 ...)", no extra parens or commas allowed. Exactly. But I can see where someone with an SGML DTD background (like me, for instance) might initially try use this construct out of habit in an XML DTD -- until of course it fails to validate in XML and requires debugging. :) _______________________________________ Doug Rudder drudder@d...
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








