pattersonkl / google-refine

Automatically exported from code.google.com/p/google-refine
0 stars 0 forks source link

XML Importer silently fails if file doesn't meet its criteria #260

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The XML importer logs this message if it doesn't like an input file, but the 
user receives no feedback except a completely empty project.

9:37:28.235 [       XmlImportUtilities] No candidate elements were found in 
data - at least 6 similar elements are required (8039ms)

The user should be provided with feedback.  I also don't see why a minimum 
number of records is needed if they are all homogeneous.

Original issue reported on code.google.com by tfmorris on 27 Nov 2010 at 7:47

GoogleCodeExporter commented 8 years ago
The importer doesn't assume that the root contains the array of elements to be 
imported.  It instead looks for a the lowest branch with 6 or more repeated 
elements.  It should probably be changed so that if it doesn't find 6+ repeated 
elements, it imports the elements immediately below the root element.

Original comment by iainsproat on 27 Nov 2010 at 8:11

GoogleCodeExporter commented 8 years ago
I'm not sure I understand why this is considered an enhancement.  Is reporting 
errors solely to the (hidden) console, not considered a bug?

Original comment by tfmorris on 27 Nov 2010 at 10:00

GoogleCodeExporter commented 8 years ago
The new importer UI provides the user with interactive record selection 
mechanism for the XML importer.

Original comment by tfmorris on 21 Oct 2011 at 3:51