Hi Tim, unfortunately I am not allowed to create tickets as I can not press the "new Ticket" button. A prof of error is attached to my mail. FF3.6 and Chrome 5 works, IE8 fails. But results are different:
FF: <feature:dummy></feature:dummy> Chrome:<feature:dummy>null</feature:dummy> IE8: No go! TIA Carsten Am 25.05.2010 18:32, schrieb Tim Schaub: > 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@openlayers.org >> http://openlayers.org/mailman/listinfo/dev >> > > -- 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: ei...@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.
Bug in XML.js
Line 247 in XML.js oder OpenLayers.js 766
createTextNode:function(text){var node;if(this.xmldom){node=this.xmldom.createTextNode(text);}else{node=document.createTextNode(text);
In IE8 this.xmldom.createTextNode(text) fails as text is null !!
Workaround: insert if(text==null) text='';
<<attachment: eider.vcf>>
_______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev