Lists Home |
Date Index |
> I don't see the contradiction. It just means that the
> validation stage
> would transform the SAX event stream.
> Which is why we did RELAX NG DTD Compatibility
> which provides a standard annotation for doing attribute defaulting.
OK, you're way ahead of me clearly.
> I don't think it's important to support XSD-style element
> defaulting (which
> says what happens not when you omit an element, but when you
> specify an
> empty value for an element).
I'm not entirely sure what the objection to this is. Wouldn't it make more
sense to default an empty element than to insert the element automatically
(which could be taken care of by setting the minimum occurrence to one)? Or
do you think that the whole idea of element defaulting is misguided?