Index: trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSource.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSource.java	(revision 5143)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSource.java	(revision 5144)
@@ -166,4 +166,5 @@
         String lineIdx = null;
         HashMap<String, LinemodPrototype> overlayMap = new HashMap<String, LinemodPrototype>();
+        boolean isNotArea = OsmUtils.isFalse(primitive.get("area"));
         for (String key : primitive.keySet()) {
             String val = primitive.get(key);
@@ -172,5 +173,5 @@
             LinemodPrototype styleLinemod;
             String idx = "n" + key + "=" + val;
-            if ((styleArea = areas.get(idx)) != null && (closed || !styleArea.closed)) {
+            if ((styleArea = areas.get(idx)) != null && (closed || !styleArea.closed) && !isNotArea) {
                 p.area = update(p.area, styleArea, scale, mc);
             }
@@ -187,5 +188,5 @@
             }
             idx = "b" + key + "=" + OsmUtils.getNamedOsmBoolean(val);
-            if ((styleArea = areas.get(idx)) != null && (closed || !styleArea.closed)) {
+            if ((styleArea = areas.get(idx)) != null && (closed || !styleArea.closed) && !isNotArea) {
                 p.area = update(p.area, styleArea, scale, mc);
             }
@@ -202,5 +203,5 @@
             }
             idx = "x" + key;
-            if ((styleArea = areas.get(idx)) != null && (closed || !styleArea.closed)) {
+            if ((styleArea = areas.get(idx)) != null && (closed || !styleArea.closed) && !isNotArea) {
                 p.area = update(p.area, styleArea, scale, mc);
             }
@@ -218,5 +219,5 @@
         }
         for (AreaPrototype s : areasList) {
-            if ((closed || !s.closed) && s.check(primitive)) {
+            if ((closed || !s.closed) && !isNotArea && s.check(primitive)) {
                 p.area = update(p.area, s, scale, mc);
             }
