[
Lists Home |
Date Index |
Thread Index
]
John Cowan wrote:
>><element ext:ifUnknown="ignore" ext:dependsOn="...list of IDs...">
>> ...
>></element>
> I'd say that ifUnknown needs three values: "ignore", "fail", and
> "continue", where the third means to process the children of this
> element as if they were children of its parent (the way HTML browsers
> work).
Agreed.
> In the nature of things, these can only be advisory, of course.
>
> I'm not sure what dependency means in this context.
>
The ifUnknown attribute gives behaviour for readers; dependsOn gives
behaviour hints for editors. If this element is not understood, then you
need to discard it if you change or discard any of the referenced
elements. Hmmm, perhaps it needs more metadata - what if you change a
child of a reference element? Etc.
Maybe the dependsOn stuff is too complex to try to capture, I'm not sure.
ABS
|