[OpenLayers-Dev] [Bug] IE8:XML.js Attributes with null-value

Tim Schaub tschaub at opengeo.org
Tue May 25 12:32:46 EDT 2010


Dipl. Inf. Carsten Eider wrote:
> Hi list,
> 
> when serializing features with null values on attributes on IE8,
> then there is a exception  in XML.createTextNode.
> Line 247  "node = this.xmldom.createTextNode(text);" fails,
> as text is a null-Object.
> Placing             "if (text==null) text='';" before works fine.
> 

Could you create a ticket with a description of this issue?  We made a 
change some time ago related to this, and I'd like to keep the logic 
consistent with regard to handling null values.

Please specify what format you are using to serialize features.

Thanks,
Tim

> Any better suggestions?
> FF works fine!
> 
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev


-- 
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.



More information about the Dev mailing list