GNOME Bugzilla – Bug 136209
Infinite expansion of some DTDs when generating RELAX NG schema
Last modified: 2004-12-22 21:47:04 UTC
Sometimes the DTD->RELAX NG importer messes up and tries to fully expand a recursive content model - infinitely. I'm attaching a test case
Created attachment 25172 [details] Test OPML DTD
(i) It miscalculates the number of refs to <outline> as 1; I believe it should be 2. (ii) But we also should special-case and check that a content model isn't "directly recursive" before expanding it inline.
I've fixed (i) in CVS, and I believe there are no situations in which (ii) can be a problem (there will always be cross-references in this case, leading to the (i) code to be used) So marking this as FIXED