Re: Recursive DTD error

2001-10-29 Thread Shashank
Hi ! I need to do something similar.  For generating XML file based on DTD, I have to give the DTD file a tree view, so that user can insert the tags directly from the Tree. Problem coming to me is in displaying the Tree view of DTD file, with all consraints (showing ?/* etc) so that handler code

RE: Recursive DTD error

2001-10-29 Thread Anderson, John
Title: RE: Recursive DTD error No, your DTD isn't correct, though the erroir is a bit weird. Mixed content (ie, with #PCDATA) must be declared as an unbounded choice, with #PCDATA first: and so on. If name must ONLY appear one or zero times, then you need to split up your stru

Re: Recursive DTD error

2001-10-28 Thread Andy Clark
"Hoad, Sandra (Sandra)** CTR **" wrote: > > > > > > > > This DTD is wrong. The only time you are allowed to use #PCDATA is in a mixed content model that looks like one of the two following examples: If the parser is not reporting the errors in your DTD, then that is a bug that need