[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #10860(accepted tools)

Opened 3 months ago

Last modified 4 weeks ago

Failed to build JSON for CLDR 32.0.1

Reported by: mlocati@… Owned by: emmons
Component: json Data Locale:
Phase: final Review:
Weeks: Data Xpath:
Xref:

Description

I'm not able to build the JSON data.

I'm on Windows 10 64 bit (Italian locale), with:

$ java -version
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) Client VM (build 25.151-b12, mixed mode, sharing)

$ ant -version
Apache Ant(TM) version 1.10.1 compiled on February 2 2017

Here's the command line I'm using:
java -Duser.language=en -Duser.country=US -DCLDR_DIR="C:/path/to/cldr/32.0.1/svn" -DCLDR_GEN_DIR="C:/path/to/cldr/32.0.1/json/locales/en" -jar "C:/path/to/cldr/32.0.1/svn/tools/java/cldr.jar" ldml2json -o true -t main -r true -m "en"

And here's the command output

Error 1: >> org.unicode.cldr.json.Ldml2JsonConverter
[-o, true, -t, main, -r, true, -m, en]
#-c     commondir       ?       C:\path\to\cldr\32.0.1\svn\common\
#-d     destdir ?       C:\path\to\cldr\32.0.1\json\locales\en\
#-m     match   ?       en
#-t     type    ?       main
#-r     resolved        ?       true
#-s     draftstatus     ?       unconfirmed
#-l     coverage        ?       optional
#-n     fullnumbers     ?       false
#-o     other   ?       true
#-p     packages        ?       false
#-i     identity        ?       true
Processing file main/en
  languages.json = 628 values
  scripts.json = 185 values
  territories.json = 309 values
  variants.json = 89 values
  measurementSystemNames.json = 5 values
  localeDisplayNames.json = 287 values
  contextTransforms.json = 10 values
  layout.json = 4 values
  characters.json = 25 values
  delimiters.json = 6 values
  ca-buddhist.json = 328 values
  ca-chinese.json = 1021 values
  ca-coptic.json = 337 values
  ca-dangi.json = 1021 values
  ca-ethiopic.json = 337 values
  ca-ethiopic-amete-alem.json = 334 values
  ca-generic.json = 331 values
  ca-gregorian.json = 344 values
  ca-hebrew.json = 349 values
  ca-indian.json = 328 values
  ca-islamic.json = 328 values
  ca-islamic-civil.json = 328 values
  ca-islamic-rgsa.json = 328 values
  ca-islamic-tbla.json = 328 values
  ca-islamic-umalqura.json = 328 values
  ca-japanese.json = 1033 values
  ca-persian.json = 328 values
  ca-roc.json = 331 values
  dateFields.json = 350 values
  timeZoneNames.json = 793 values
  currencies.json = 1301 values
  numbers.json = 110 values
  units.json = 1310 values
  listPatterns.json = 26 values
  posix.json = 4 values
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.unicode.cldr.tool.Main.main(Main.java:61)
Caused by: java.lang.IllegalArgumentException: Malformed xPath '' at 0
        at org.unicode.cldr.util.XPathParts.parseError(XPathParts.java:687)
        at org.unicode.cldr.util.XPathParts.addInternal(XPathParts.java:565)
        at org.unicode.cldr.util.XPathParts.set(XPathParts.java:530)
        at org.unicode.cldr.json.CldrItem.split(CldrItem.java:228)
        at org.unicode.cldr.json.Ldml2JsonConverter.convertCldrItems(Ldml2JsonConverter.java:595)
        at org.unicode.cldr.json.Ldml2JsonConverter.processDirectory(Ldml2JsonConverter.java:1238)
        at org.unicode.cldr.json.Ldml2JsonConverter.main(Ldml2JsonConverter.java:119)
        ... 5 more

Attachments

Change History

comment:1 Changed 3 months ago by emmons

  • Owner changed from anybody to emmons
  • Phase changed from dsub to rc
  • Priority changed from assess to medium
  • Status changed from new to accepted
  • Milestone changed from UNSCH to 33

comment:2 Changed 2 months ago by emmons

  • Phase changed from rc to final

comment:3 Changed 4 weeks ago by emmons

  • Milestone changed from 33 to 34
View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.