private List<IntPoint> parsePoints(String strPointList) throws JTMXParseException {
		List<IntPoint> points = new ArrayList<IntPoint>();
		
		String[] strPoints = strPointList.split(" ");
		boolean error = false;
		for (String v : strPoints) {
			String[] pointCoords = v.split(",");
			//System.out.println("Points = {" + pointCoords[0] + ", " + pointCoords[1] + "}");
			if (pointCoords.length == 2) {
				int x = 0, y = 0;
				try {
					x = Integer.parseInt(pointCoords[0]);
					y = Integer.parseInt(pointCoords[1]);
				} catch (NumberFormatException e) {
					error = true; break;
				}
				points.add(new IntPoint(x, y));
			} else {
				error = true; break;
			}
		}
		if (error) {
			throw new JTMXParseException(
					"Malformed Polygon/Polyline Coordinates!");
		} else {
			return points;
		}
	}