xml:lang attribute optional for cs:locale in CSL styles

I am a bit surprised that the xml:lang attribute is optional for cs:locale
in CSL styles. The annotation says:

Where localization is other than that of the style, use the

xml:lang attribute.

attribute xml:lang { xsd:language }?

Wouldn’t it be clearer to just require xml:lang? If we decide to leave it
optional, what is the fall-back locale? The one specified in default-locale,
or, when that is absent, the provided (application)-locale?

Rintze

I am a bit surprised that the xml:lang attribute is optional for cs:locale
in CSL styles. The annotation says:

Where localization is other than that of the style, use the

xml:lang attribute.

attribute xml:lang { xsd:language }?

Wouldn’t it be clearer to just require xml:lang? If we decide to leave it
optional, what is the fall-back locale? The one specified in default-locale,
or, when that is absent, the provided (application)-locale?

Agree that it would be more clear to require xml:lang on locale nodes
inside the style file. It’s not obvious what the default would be.

I think this is thinking of the case of it’s inclusion in the style.
If we’re getting rid of xml:lang on the root, then this potential
redundancy goes away. So I’m fine requiring it.

Bruce