Index: /trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java	(revision 2501)
+++ /trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java	(revision 2502)
@@ -86,12 +86,11 @@
         TagModel tag = tags.get(rowIndex);
         switch(columnIndex) {
-            case 0:
-            case 1: return tag;
-
-            default:
-                throw new IndexOutOfBoundsException("unexpected columnIndex: columnIndex=" + columnIndex);
-        }
-    }
-
+        case 0:
+        case 1: return tag;
+
+        default:
+            throw new IndexOutOfBoundsException("unexpected columnIndex: columnIndex=" + columnIndex);
+        }
+    }
 
     /**
@@ -342,4 +341,9 @@
             //
             if (tag.getName().trim().equals("")) {
+                continue;
+            }
+            // tag has an empty value => don't apply the tag
+            //
+            if (tag.getValue().trim().equals("")) {
                 continue;
             }
