[
Lists Home |
Date Index |
Thread Index
]
Wouldn't you rather bound that in the code (Just In Time) over the
Schema?
Recursion is a natural feature of marking structures, so abstaining from
it
completely in the schema leads to more problems. Please forgive the
truncated DTD notation following:
<ELEMENT section1 (section2) ...
<ELEMENT section2 (section3)...
is a
lot uglier to me.
len
I agree that recursion can be extremely useful.
In fact, recursion is fun!
However, "runaway recursion" is not useful, nor is it
fun.
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
Schemas.
|