Applicable to SketchUp Pro 2019, SketchUp Pro 2018, SketchUp Pro 2017, & SketchUp Make 2017
Applicable to SunDAT Pro, Standard, & Essential
When trying to import a KMZ/KML file the following error appears: ERROR DURING KMZ/KML IMPORT. REASON: EXCEPTION: UNDEFINED PREFIX XSI FOUND
In the KMZ/KML, there is a "XSI" prefix to an XML attribute that is throwing an error on import.
The "XSI" prefix needs to be removed from the KMZ/KML.
- If the file in question is a KMZ, it needs to be saved as KML format. This can be done by opening the KMZ in Google Earth and then saving the place as a KML.
- Right-click on the KML file and open with text editorlike WordPad, Notepad, or Sublime text 2
- Look for "xsi:schemaLocation" or anything with "xsi". Delete that and the link (see the example) below.
4. Save the file and then import the KML in SunDAT
If you're using a GIS platform to generate these KMLs there may be a way to eliminate that attribute during your export process