I'd like to add a tool to generate an outline of the CLDR paths, generated from DtdData, since it is useful to see what is going on. Here is data generated locally.
There is a key at the bottom for annotation superscripts like ᵛ and ˀ.
A few things it shows:
We have many paths with the same attribute names on multiple elements in the path. (Typical for @type and @alt)
2. For a given element, the distinguishing attrs don't always come before all the value attrs in the path.
Example: pattern[@typeᴰ][@numbersᵛˀ][@countˀ][@altˀ], where @numbers is a value parameter)
3. There are a few value parameters that are not on leaf elements.
For more regularity:
We could fix #2. There are not many of these, but would have to check the possible use in regexes.
We could fix #3. There is an old ticket to for that. Would have to touch places again in the code that depend on that.