Lists Home |
Date Index |
Wouldn't you rather bound that in the code (Just In Time) over the
Recursion is a natural feature of marking structures, so abstaining from
completely in the schema leads to more problems. Please forgive the
truncated DTD notation following:
<ELEMENT section1 (section2) ...
<ELEMENT section2 (section3)...
lot uglier to me.
I agree that recursion can be extremely useful.
In fact, recursion is fun!
However, "runaway recursion" is not useful, nor is it
The recursive capability in XML Schemas does not (as
Len noted) allow you to specify a maximum depth of recursion. Thus, it
is runaway recursion. Consequently, I contend that it's best to
completely abstain from the recursion that is provided by XML