dreamstreat / libkml

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

<state> in <ItemIcon> not implemented in SWIG bindings #93

Closed GoogleCodeExporter closed 8 years ago

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

<ListStyle> has no <state> tag attributes in your software. This tag is
still used to my knowledge.

What version of the product are you using? On what operating system?

libkml 1.0a, Ubuntu 9.04, using with PYTHON 2.6.2

Please provide any additional information below.

n/a

Original issue reported on code.google.com by ronald.k...@gmail.com on 8 Jun 2009 at 3:56

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Sorry for the confusion. The <ItemIcon> is supposed to contain the <state> tag. 
This
still needs to be fixed, but now for <ListStyle> as I previously mention.

Original comment by ronald.k...@gmail.com on 8 Jun 2009 at 4:03

GoogleCodeExporter commented 8 years ago
<state> is a child of <ItemIcon>

http://code.google.com/p/libkml/source/browse/trunk/src/kml/dom/liststyle.h#41

Original comment by kml.b...@gmail.com on 8 Jun 2009 at 5:09

GoogleCodeExporter commented 8 years ago
I stated that in the comment I made. I was trying to say that I cannot access 
status
via PYTHON. Here is a sample print out:

In [1]: import kmldom

In [2]: factory = kmldom.KmlFactory_GetFactory()

In [3]: it = factory.CreateItemIcon()

In [4]: it.
it.IsA                  it.__doc__              it.__new__             
it.__subclasshook__     it.clear_id             it.has_targetid
it.SWIGSharedPtrUpcast  it.__format__           it.__reduce__          
it.__swig_destroy__     it.clear_targetid       it.set_href
it.Type                 it.__getattr__          it.__reduce_ex__       
it.__swig_getmethods__  it.get_href             it.set_id
it.__class__            it.__getattribute__     it.__repr__            
it.__swig_setmethods__  it.get_id               it.set_targetid
it.__del__              it.__hash__             it.__setattr__         
it.__weakref__          it.get_targetid         it.this
it.__delattr__          it.__init__             it.__sizeof__           it._s   

           it.has_href             
it.__dict__             it.__module__           it.__str__              
it.clear_href
          it.has_id               

As you can see, there is no status.

Original comment by ronald.k...@gmail.com on 8 Jun 2009 at 5:15

GoogleCodeExporter commented 8 years ago
issue is valid, fix coming

Original comment by kml.mash...@gmail.com on 8 Jun 2009 at 9:34

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/libkml/source/detail?r=587

Original comment by kml.mash...@gmail.com on 8 Jun 2009 at 10:31