Correct assumptions about derivation by restriction.
Correct assumptions about derivation by restriction.

Empty restrictions are equivalent to empty extensions. Restrictions
are used to explicitly narrow the value range of a type. A restriction
does not implicitly omit fields by not listing them.

droyo/go-xml