CSL Discourse

Formatting and text-case inheritance by date-parts when date is localized


#1

When a element calls the localized date format through the "form"
attribute, the child elements can inherit (1) formatting and (2)
text-case transformations from two different objects. The can
inherit formatting attributes and text-case attributes from the parent
element - and it can inherit those same attributes from the
corresponding defined in . There are two possible ways
to interpret the order of inheritance.

  1. Attributes declared directly in have highest priority
  2. Attributes declared in element in Locale have medium priority
  3. Attributes declared on parent element have low priority

OR

  1. Attributes declared directly in have highest priority
  2. Attributes declared on parent element have medium priority
  3. Attributes declared in element in Locale have low priority

The CSL processor that I test against does not apply formatting or text-case
transformations that are declared in elements.

I personally don’t know enough about locale variations to make an informed
judgment on this point. My initial thought is that the order of inheritance
should follow the first method where locale-defined elements’
attributes take precedence over attributes defined in the parent
element.–
Sent from: http://xbiblio-devel.2463403.n2.nabble.com/


#2

I might be overlooking something, but I’m pretty sure we don’t allow
formatting in locales, which makes this a moot point. Conceptually, I agree
with your intuition on the right order of priority, though.