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

Simplify comparator for CLDRFile

Description

Deleted Component: xxx-tools

The ldmlComparator is made just for the ldml DTD. To get a comparator for any different DTD, one has to use

DtdData.getInstance(fileDtdType).getDtdComparator(null)

You can get the fileDtdType from any path in the file, with DtdType.from(path).

We could make this easier by adding:

CLDRFile
public DTDComparator getPathComparator() {...}

Environment

None

xpath

None

locale

None

Status

Assignee

John Emmons

Reporter

Mark Davis

Labels

None

tracReporter

mark

tracOwner

emmons

tracResolution

fixed

tracStatus

closed

Reviewer

Mark Davis

phase

rc

tracCc

None

tracCreated

Dec 13, 2013, 6:53 PM

Fix versions

Priority

medium