Details
Description
KML format is subtype of application/xml with a "kml" root node and (an optional?) "" namespace.
<mime-type
<root-XML
<root-XML
<acronym>KML</acronym>
<_comment>Keyhole Markup Language</_comment>
<glob pattern="*.kml"/>
<sub-class-of
</mime-type>
KMZ files () 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).
Activity
- All
- Work Log
- History
- Activity
- Transitions
I've added some unit tests in r1355776, covering both the mime magic + glob detecton, and the zip container detector.
Please add the following namespace to kml mime-type declaration:
<root-XML
<root-XML
<root-XML
Thanks, additional namespaces added in r1593315.
Thanks! I committed your changes in revision 1355674 and followed up with some further improvements in revision 1355683.