Section 3.2.3.2 of the W3C XML Schema recommendation states that if "default definition" and "use" are present in the attribute definition, "use" should have the actual value "optional."
I do not understand why. What's wrong with something like xs: attribute name = "..." type = "..." use = "required" default = "xy"? How can I simulate something like the attribute can not missing and has a default value of "xy"?
source share