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

Dipl. Inf. Carsten Eider eider at fh-bingen.de
Tue May 25 04:06:21 EDT 2010


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.

Any better suggestions?
FF works fine!
-- 

Mit freundlichen Grüßen / Yours faithfully
Carsten Eider

Dipl. Inf. (FH)

Kompetenzzentrum für Innovative Informationssysteme

c/o Fachhochschule Bingen / University of applied sciences Bingen

Berlinstraße 109
55411 Bingen

Tel: +49 (0) 6721 / 409-179
Fax: +49 (0) 6721 / 994-251
email: eider at fh-bingen.de
Internet: iis.fh-bingen.de 

Diese E-Mail, inklusive anhängender Dateien, kann vertrauliche und/oder rechtlich geschützte Inhalte enthalten.
Wenn Sie nicht der richtige Adressat sind und diese E-Mail irrtümlich erhalten haben, benachrichtigen Sie bitte sofort den Absender und vernichten Sie sodann die Originalnachricht.
Die unbefugte Kopie, Weiterleitung oder sonstige Verbreitung dieser Nachricht ist nicht gestattet.

This e-mail, including attachments, may contain confidential and/or privileged information.
If you are not the intended recipient, please notify the sender immediately then delete the original message.
Any copying forwarding and/or distribution without permission of the sender is forbidden.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eider.vcf
Type: text/x-vcard
Size: 1142 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20100525/4115f00b/eider.vcf


More information about the Dev mailing list