HughP / libkml

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

KmlCache::KmlFetchAbsolute does not cache kml files #157

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a kml cache.
KmlCache kml_cache(&your_net_fetcher, cache_size);
2. Try to fetch a Network Kml file.
KmlFilePtr k0 = kml_cache.FetchKmlAbsolute("http://host.com/file.kml");
3.

What is the expected output?
Caching the network KML file.
What do you see instead?
Does not cache a KML file. One has to use the FetchKmlRelative API instead.

What version of the product are you using? On what operating system?
Windows 32 bit XP.
Library 1.2.0

Did you run the unit test suite that comes with the project? Did all tests pass?
Did not run. A visual inspection of the file kml_cache_test.cc seems to 
indicated that there is no test case for fetching a valid network kml file 
only. Only one within a KMZ file.

Please provide any additional information below.

Original issue reported on code.google.com by bruce.fo...@gmail.com on 6 Oct 2010 at 7:50