tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Quaranta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TIKA-941) Detecting KML / KMZ files
Date Thu, 21 Jun 2012 08:43:43 GMT
Marco Quaranta created TIKA-941:

             Summary: Detecting KML / KMZ files
                 Key: TIKA-941
                 URL: https://issues.apache.org/jira/browse/TIKA-941
             Project: Tika
          Issue Type: Improvement
          Components: mime
    Affects Versions: 1.1
            Reporter: Marco Quaranta

KML format is subtype of application/xml with a "kml" root node and (an optional?) "http://www.opengis.net/kml/2.2"

  <mime-type type="application/vnd.google-earth.kml+xml">    
    <root-XML localName="kml"/>
    <root-XML namespaceURI="http://www.opengis.net/kml/2.2" localName="kml"/>    
    <_comment>Keyhole Markup Language</_comment>
    <glob pattern="*.kml"/>    
    <sub-class-of type="application/xml"/>

KMZ files (https://developers.google.com/kml/documentation/kmzarchives) are zip archives with
a KML file inside (the file should be called doc.kml) and one or more folder. A naive approach
consists in adding a further check in ZipContainerDetector (find attached). 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message