[geotk] Illegal argument: uom

Robert Csok robert.csok at gmx.de
Wed Mar 17 12:30:21 EDT 2010


Dear Sir or Madam,

while unmarshalling an ISO 19115 document I got the following exception: "IllegalArgumentException: Illegal argument: "uom=http://standards.iso.org/[...]"".
The exception was caused by org.geotoolkit.internal.jaxb.uom.Measure.setUOM() during the call to Units.valueOf() (Measure.java: line 134).
I am using geotk-SNAPSHOT from March. I think I haven't had such a problem with older Geotoolkit versions. According to ISO 19118 the attribute "uom" is allowed to contain any URI string. How can I go around this problem?

Yours faithfully,

Robert Csok

-- 
GMX DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
http://portal.gmx.net/de/go/dsl02


More information about the Geotoolkit mailing list