Applicable to SketchUp Pro 2019, SketchUp Pro 2018,  SketchUp Pro 2017, & SketchUp Make 2017

Applicable to SunDAT Pro, Standard, & Essential


Issue/Question:

When trying to import a KMZ/KML file the following error appears: ERROR DURING KMZ/KML IMPORT.  REASON: EXCEPTION: UNDEFINED PREFIX XSI FOUND


Cause:

In the KMZ/KML, there is a "XSI" prefix to an XML attribute that is throwing an error on import.


Solution:

The "XSI" prefix needs to be removed from the KMZ/KML.  

  1. 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.  
  2. Right-click on the KML file and open with text editorlike WordPad, Notepad, or Sublime text 2
  3. 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

Prevention:

If you're using a GIS platform to generate these KMLs there may be a way to eliminate that attribute during your export process