jsoliveira / javaapiforkml

Automatically exported from code.google.com/p/javaapiforkml
0 stars 0 forks source link

Namespace Issue when creating a Tour #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Take the two attached kml files and play the tours within Google Earth (5.2). 

You will see only one tour is working in terms of showing a moving placemark.

The only difference between those two files is the namespace declaration in the 
second line.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<kml xmlns="http://www.opengis.net/kml/2.2" 
xmlns:atom="http://www.w3.org/2005/Atom" 
xmlns:gx="http://www.google.com/kml/ext/2.2" 
xmlns:xal="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
    <Document>...

If I remove the xal namspace, it works:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" 
xmlns:atom="http://www.w3.org/2005/Atom" 
xmlns:gx="http://www.google.com/kml/ext/2.2" >
<Document>...

=> The XAL namespace seems to break something.

Original issue reported on code.google.com by steffen....@gmail.com on 16 Jun 2010 at 6:42

Attachments: