We're updating the issue view to help you get more done. 

GMT-## zones aren't in pathheader or coverage

Description

Deleted Component: xxx-tools

GMT-## need to be excluded via pathheader, so we can remove more special case code in ST.

make sure the following are correctly reflected in pathheader/coverage:

'''"skipped always"'''

1 2 3 4 5 6 excludeAlways = Pattern.compile("^//ldml/segmentations.*|" + "^//ldml/measurement.*|" + ".*week/minDays.*|" + ".*week/firstDay.*|" + ".*/usesMetazone.*|" + ".*week/weekendEnd.*|" + ".*week/weekendStart.*|" + // "^//ldml/dates/.*localizedPatternChars.*|" + "^//ldml/posix/messages/.*expr$|" + "^//ldml/dates/timeZoneNames/.*/GMT.*exemplarCity$|" + "^//ldml/dates/.*default");// no defaults

'''skip under "misc"'''

1 2 3 4 5 mostPattern = Pattern.compile("^//ldml/localeDisplayNames.*|" + // these are excluded when 'misc' is chosen. "^//ldml/characters/exemplarCharacters.*|" + "^//ldml/numbers.*|" + "^//ldml/units.*|" + "^//ldml/references.*|" + "^//ldml/dates/timeZoneNames/zone.*|" + "^//ldml/dates/timeZoneNames/metazone.*|" + "^//ldml/dates/calendar.*|" + "^//ldml/identity.*");

'''other ugly stuff'''

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 boolean excludeCurrencies = false; boolean excludeCalendars = false; boolean excludeGrego = false; boolean excludeTimeZones = false; boolean excludeMetaZones = false; boolean excludeMost = false; boolean doExcludeAlways = true; boolean isReferences = false; String continent = null; /* ** Determine which xpaths to show */ if (xpathPrefix.equals("//ldml")) { excludeMost = true; } else if (xpathPrefix.startsWith("//ldml/units")) { canName = false; excludeMost = false; doExcludeAlways = false; } else if (xpathPrefix.startsWith("//ldml/numbers")) { if (-1 == xpathPrefix.indexOf("currencies")) { doExcludeAlways = false; excludeCurrencies = true; // = "//ldml/numbers/currencies"; canName = false; // sort numbers by code } else { canName = false; // because symbols are included // hackCurrencyDisplay = true; } } else if (xpathPrefix.startsWith("//ldml/dates")) { if (xpathPrefix.startsWith("//ldml/dates/timeZoneNames/zone")) { // System.err.println("ZZ0"); excludeTimeZones = false; } else if (xpathPrefix.startsWith("//ldml/dates/timeZoneNames/metazone")) { excludeMetaZones = false; int continentStart = xpathPrefix.indexOf(DataSection.CONTINENT_DIVIDER); if (continentStart > 0) { continent = xpathPrefix.substring(xpathPrefix.indexOf(DataSection.CONTINENT_DIVIDER) + 1); } if (false) System.err.println(xpathPrefix + ": -> continent " + continent); if (!xpathPrefix.contains("@type")) { // if it's not a // zoom-in.. workPrefix = "//ldml/dates/timeZoneNames/metazone"; } // System.err.println("ZZ1"); } else { excludeTimeZones = true; excludeMetaZones = true; if (xpathPrefix.indexOf("gregorian") == -1) { excludeGrego = true; // nongreg } else { } } } else if (xpathPrefix.startsWith("//ldml/localeDisplayNames/types")) { } else if (xpathPrefix.equals("//ldml/references")) { isReferences = true; canName = false; // disable 'view by name' for references } isCalendar = xpathPrefix.startsWith("//ldml/dates/calendars"); isMetazones = xpathPrefix.startsWith("//ldml/dates/timeZoneNames/metazone");

Environment

xpath

None

locale

None

Status

Assignee

Steven R. Loomis

Reporter

Steven R. Loomis

tracReporter

srl

tracOwner

srl

tracResolution

fixed

tracStatus

closed

Reviewer

John Emmons

tracCreated

Apr 09, 2012, 7:23 PM

Fix versions

Priority

major