A
Alain Frisch
Hello,
The following rule in the XML Schema spec, section "Schema Component
Constraint: Attribute Wildcard Intersection" seems strange to me:
=======================================
3 If either O1 or O2 is a pair of not and a value (a namespace name or
·absent·) and the other is a set of (namespace names or ·absent·), then
that set, minus the negated value if it was in the set, minus ·absent· if
it was in the set, must be the value.
=======================================
I don't understand the rationale behind "minus ·absent· if it was in the
set". This means that ·absent· is removed whenever it appears in the set.
It would be natural to remove it iff the second component of the "not"
pair is ·absent·.
Can someone explain the rationale behind the spec ?
-- Alain Frisch
The following rule in the XML Schema spec, section "Schema Component
Constraint: Attribute Wildcard Intersection" seems strange to me:
=======================================
3 If either O1 or O2 is a pair of not and a value (a namespace name or
·absent·) and the other is a set of (namespace names or ·absent·), then
that set, minus the negated value if it was in the set, minus ·absent· if
it was in the set, must be the value.
=======================================
I don't understand the rationale behind "minus ·absent· if it was in the
set". This means that ·absent· is removed whenever it appears in the set.
It would be natural to remove it iff the second component of the "not"
pair is ·absent·.
Can someone explain the rationale behind the spec ?
-- Alain Frisch