Index: OsmPrimitive.java
===================================================================
--- OsmPrimitive.java	(Revision 2300)
+++ OsmPrimitive.java	(Arbeitskopie)
@@ -368,13 +368,13 @@
      * @param id the id. > 0 required
      * @param version the version > 0 required
      * @throws IllegalArgumentException thrown if id <= 0
-     * @throws IllegalArgumentException thrown if version <= 0
+     * @throws IllegalArgumentException thrown if version < 0
      */
     public void setOsmId(long id, int version) {
         if (id <= 0)
             throw new IllegalArgumentException(tr("ID > 0 expected. Got {0}.", id));
-        if (version <= 0)
-            throw new IllegalArgumentException(tr("Version > 0 expected. Got {0}.", version));
+        if (version < 0)
+            throw new IllegalArgumentException(tr("Version >= 0 expected. Got {0}.", version));
         this.id = id;
         this.version = version;
         this.incomplete = false;
