Ticket #2782 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Localization problem with XML format's createTextNode method in IE

Reported by: fvanderbiest Owned by: tschaub
Priority: critical Milestone: 2.10 Release
Component: Format.XML Version: SVN
Keywords: Cc:
State: Complete

Description

When IE's locale is set to French, the decimal separator is a comma instead of a point. In this particular case, xmldom.createTextNode(4.2) creates a node with a value of "4,2" instead of "4.2"

The following patch includes tests and a fix for this. Tests pass on FF3, IE7, Chrome6

Attachments

ol_2782_A0.diff Download (2.0 KB) - added by fvanderbiest 3 years ago.
ol_2782_A1.diff Download (3.2 KB) - added by elemoine 3 years ago.

Change History

Changed 3 years ago by fvanderbiest

Changed 3 years ago by fvanderbiest

  • owner set to tschaub
  • component changed from general to Format.XML

Changed 3 years ago by elemoine

Changed 3 years ago by elemoine

ol_2782_A1.diff Download adds more tests for createTextNode.

Changed 3 years ago by fredj

  • state changed from Review to Commit

looks good, please commit

Changed 3 years ago by elemoine

  • status changed from new to closed
  • state changed from Commit to Complete
  • resolution set to fixed

(In [10676]) Fix a localization problem with the XML format's createTextNode method in IE, p=fvanderbiest,me r=fredj (closes #2782)

Note: See TracTickets for help on using tickets.