summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSalvador Zalapa2013-01-09 14:08:25 (EST)
committer Nick Sandonato2013-01-09 14:18:08 (EST)
commit2ad34106bf6bb9de4f5fe4aadf975283a8b72d7d (patch)
tree904798e0d7064971fae0fd4bfe5360e9d9d862d0
parent35ab2fbaad6f25bf121345dbf475be5d0ccaaea6 (diff)
downloadwebtools.sourceediting-2ad34106bf6bb9de4f5fe4aadf975283a8b72d7d.zip
webtools.sourceediting-2ad34106bf6bb9de4f5fe4aadf975283a8b72d7d.tar.gz
webtools.sourceediting-2ad34106bf6bb9de4f5fe4aadf975283a8b72d7d.tar.bz2
[Bug397779] - Tag name generation does not recognize lowercase tags in Turkish locale
-rw-r--r--bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/XMLGeneratorImpl.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/XMLGeneratorImpl.java b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/XMLGeneratorImpl.java
index 75c61b7..0bf409d 100644
--- a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/XMLGeneratorImpl.java
+++ b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/XMLGeneratorImpl.java
@@ -605,10 +605,9 @@ public class XMLGeneratorImpl implements ISourceGenerator {
String newName = tagName;
switch (getTagNameCase(xe)) {
case DocumentTypeAdapter.UPPER_CASE :
- newName = tagName.toUpperCase();
+ newName = tagName.toUpperCase(Locale.ENGLISH);
break;
case DocumentTypeAdapter.LOWER_CASE :
- //https://bugs.eclipse.org/bugs/show_bug.cgi?id=397779#c0
newName = tagName.toLowerCase(Locale.ENGLISH);
break;
}