On 25.09.2012 08:43, Rahkonen Jukka wrote: > Hi, > > > ________________________________ > Michaël Michaud wrote: > >> First, to answer Stefan, I was speaking about file name extension, not about >> file format. >> I think the OpenJUMP mechanism preventing it from reading zip files >> containing xml is >> based on file name extension only. >> My argument to remove (or deactivate) xml file extension is that files in >> xml format >> like FME GML or GML2 generally use the gml extension (at least I think so). >> Note that : >> 1 - if deactivating .xml only for zip file is an alternative, it is better >> 2 - having confirmation that xml extension is never or rarely used for gml >> files is required > > About point 2, using .xml extension for gml files is not uncommon. For > example all the topological data that National Land Survey of Finland > delivers in gml format seem to come with .xml extension. > > In practise reading third party gml data from a zipped archive with OpenJUMP > is nowadays very theoretical option which can only work if the gml is stored > as FME variant. Other gml files can not be opened without the special > OpenJUMP template file and nobody delivers such templates. Therefore > deactivating loading xml from zipped file would not do any real harm for > users because it would lead to an error in any case. > > Perhaps some day we can handle GML in a more common way and drop out the > support for the OpenJUMP gml2 + template file system. Has anybody really ever > used it for something? > > Keeping xml support in normal File - Open would not be harmful. Most of the > times it will also lead to an error but it effects only that one file. > Problem with zipped files is that one xml file in the archive prevents > opening all the good stuff that exists in the zip file.
how about simply making the archive loader more robust and issuing a warning to the output window instead of breaking the whole process? just added similar missing dbf output to log and console, not to the output window though. ..ede ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Jump-pilot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
