Add tool for showing features of CLDR paths

Description

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.

https://docs.google.com/spreadsheets/d/1XHG-Rd4P6OiTjXrsKqn7UOmpLVP5XT7rnGd76p1P7U0/edit?usp=sharing

There is a key at the bottom for annotation superscripts like ᵛ and ˀ.

A few things it shows:

  1. 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.

  • Example: .../territory[@type][@gdpᵛ][@literacyPercentᵛ][@populationᵛ][@altˀ]/languagePopulation...

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.

xpath

None

locale

None

Status

Priority

medium

Assignee

Mark Davis

Reporter

Mark Davis

tracReporter

mark

Reviewer

None

Labels

None

Components

Fix versions

phase

dsub