eth4io / libkml

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

Feature set_phonenumber() not working #101

Closed GoogleCodeExporter closed 8 years ago

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

import kmldom
factory = kmldom.KmlFactory_GetFactory()
doc = factory.CreateDocument()
doc.set_phonenumber('911')
print kmldom.SerializeRaw(doc)

What is the expected output? What do you see instead?

Expected:
<Document><phoneNumber>911</phoneNumber></Document>

Got:
<Document/>

What version of the product are you using? On what operating system?
libkml 1.0a, Ubuntu 9.04, PYTHON 2.6

Did you run the unit test suite that comes with the project? Did all tests
pass?

Yes. Yes.

Please provide any additional information below.
n/a

Original issue reported on code.google.com by ronald.k...@gmail.com on 12 Jun 2009 at 1:42

GoogleCodeExporter commented 8 years ago
Looks like <phoneNumber> has never been serialized correctly. The unknown 
element
handling logic has been (correctly) preserving the parsed string. Fix coming.

Original comment by kml.mash...@gmail.com on 12 Jun 2009 at 5:11

GoogleCodeExporter commented 8 years ago
This issue was closed by r600.

Original comment by kml.mash...@gmail.com on 13 Jun 2009 at 12:04

GoogleCodeExporter commented 8 years ago
Fixed in r600

Original comment by kml.mash...@gmail.com on 13 Jun 2009 at 12:04