[Expat-discuss] Parsing xml files with multiple external entities

Karl Waclawek karl@waclawek.net
Wed Apr 24 11:21:17 2002


> > Hi all,
> > 
> > [Forgive me if this is a stupid question, but I've only recently started
> > using expat and I can't find a solution in the archives].
> > 
> > I have an xml file that references three dtds, like this:
> > 
> > <!DOCTYPE intervalscript SYSTEM 'intervalscript.dtd' [
> >     <!ENTITY % worldupdtd SYSTEM 'worldup.dtd'>
> >     %worldupdtd;
> >     <!ENTITY % visiondtd SYSTEM 'vision.dtd'>
> >     %visiondtd;
> > ]>

<snip>

> I posted this same type of problem almost exactly a year ago, where I could not 
> get external entity declarations within multiple/nested DTD's to parse correctly 
> with 1.95.2. If a resolution was made about this problem, I do not remember what 
> it was. If you report this as a bug then maybe something can be done this time 
> around.

I posted this (or a related?) bug under the bug # 544679.
Could you please review - and add, if something is missing?

Karl