[Home] [By Thread] [By Date] [Recent Entries]
The feature of being able to say that an element should not be present is not redundant, in general. You may be deriving a schema by restriction to say you don't want any foo even though the base type does. Also, the schema shows intention: the developer adds that in for a reason: the implementation can optimize it away or warn about it, but why should it presume that there is some mistake there (in contrast to some redundant statement in a programming language)? (Even in that particular example where there is no type derivation, I could imagine cases where if foo was previously allowed in a schema but now obsolete the developer might want to keep a declaration at that point hoping it would show that the change was not a mistake of omission but a deliberate change.) On Mon, Nov 21, 2016 at 6:20 AM, Costello, Roger L. <costello@m...> wrote:
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



