summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSalvador Zalapa2013-01-09 14:08:25 (EST)
committer Nick Sandonato2013-01-09 14:22:57 (EST)
commit3ef8ef304c2efd98c3386b6884fec38b3b75282f (patch)
tree130741eed0840e520ccb5333c3a39bfde503abf7
parent093959da0678210b3bbdf8687402a4765a2fae6d (diff)
downloadwebtools.sourceediting-3ef8ef304c2efd98c3386b6884fec38b3b75282f.zip
webtools.sourceediting-3ef8ef304c2efd98c3386b6884fec38b3b75282f.tar.gz
webtools.sourceediting-3ef8ef304c2efd98c3386b6884fec38b3b75282f.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;
}