Changeset 1225 in josm for trunk/src


Ignore:
Timestamp:
2009-01-09T21:07:37+01:00 (16 years ago)
Author:
stoecker
Message:

fixed bug in XML file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmWriter.java

    r1205 r1225  
    9494            super.header(out);
    9595            for (DataSource s : ds.dataSources) {
    96                 out.println("origin='"+XmlWriter.encode(s.origin)+"' />");
    97                 out.print("  <bounds minlat='" +
    98                         s.bounds.min.lat()+"' minlon='"+
    99                         s.bounds.min.lon()+"' maxlat='"+
    100                         s.bounds.max.lat()+"' maxlon='"+
    101                         s.bounds.max.lon()+"' ");
    102                 out.println("origin='"+XmlWriter.encode(s.origin)+"' />");
     96                out.println("  <bounds minlat='"
     97                + s.bounds.min.lat()+"' minlon='"
     98                + s.bounds.min.lon()+"' maxlat='"
     99                + s.bounds.max.lat()+"' maxlon='"
     100                + s.bounds.max.lon()
     101                +"' origin='"+XmlWriter.encode(s.origin)+"' />");
    103102            }
    104103        }
Note: See TracChangeset for help on using the changeset viewer.