Revision 23641 branches/v2_0_0_prep/libraries/libDwg/src/com/iver/cit/jdwglib/dwg/readers/DwgFileVR2004Reader.java

View differences:

DwgFileVR2004Reader.java
298 298
		if (threeBytes0[0] != 0x0) {
299 299
			logger.warn("Posible error leyendo la cabecera del archivo DWG: " +
300 300
					"En la posicion 0x" + Integer.toHexString(pos)
301
					+ " debería haber un 0x0, pero hay un 0x"
301
					+ " deber?a haber un 0x0, pero hay un 0x"
302 302
					+ Integer.toHexString(threeBytes0[0]));
303 303
		}
304 304
		pos = 0x16;
305 305
		if (threeBytes0[1] != 0x19) {
306 306
			logger.warn("Posible error leyendo la cabecera del archivo DWG: " +
307 307
					"En la posicion 0x" + Integer.toHexString(pos)
308
					+ " debería haber un 0x19, pero hay un 0x"
308
					+ " deber?a haber un 0x19, pero hay un 0x"
309 309
					+ Integer.toHexString(threeBytes0[1]));
310 310
		}
311 311
		pos = 0x17;
312 312
		if (threeBytes0[2] != 0x4C) {
313 313
			logger.warn("Posible error leyendo la cabecera del archivo DWG: " +
314 314
					"En la posicion 0x" + Integer.toHexString(pos)
315
					+ " debería haber un 0x4C, pero hay un 0x"
315
					+ " deber?a haber un 0x4C, pero hay un 0x"
316 316
					+ Integer.toHexString(threeBytes0[2]));
317 317
		}
318 318

  
......
336 336
				logger.warn("Posible error leyendo la cabecera del archivo DWG: " +
337 337
						"(eightyTwoBytes0) En la posicion 0x"
338 338
						+ Integer.toHexString(pos + i)
339
						+ " debería haber un 0, pero hay un 0x"
339
						+ " deber?a haber un 0, pero hay un 0x"
340 340
						+ Integer.toHexString(eightyTwoBytes0[i]));
341 341
			}
342 342
		}
......
904 904

  
905 905
			dwgFile.setHeader("TDUSRTIME", tdusrtime);
906 906

  
907
			//FIXME: En versiones anteriores solo había una variable
908
			// "CECOLOR" de tipo entero, habría que comprobar donde se
907
			//FIXME: En versiones anteriores solo hab?a una variable
908
			// "CECOLOR" de tipo entero, habr?a que comprobar donde se
909 909
			// utiliza para, si es necesario, utilizar apropiadamente
910 910
			// las nuevas.
911 911
			val = DwgUtil.getCmColor(intData, bitPos, dwgFile.getDwgVersion());
......
1521 1521

  
1522 1522
			// common
1523 1523

  
1524
			//FIXME: En versiones anteriores solo había una variable
1525
			// "DIMCLRD" de tipo entero, habría que comprobar donde se
1524
			//FIXME: En versiones anteriores solo hab?a una variable
1525
			// "DIMCLRD" de tipo entero, habr?a que comprobar donde se
1526 1526
			// utiliza para, si es necesario, utilizar apropiadamente
1527 1527
			// las nuevas. Lo mismo con "DIMCLRE" y "DIMCLRT".
1528 1528

  
......
1964 1964
		// appears before the data
1965 1965

  
1966 1966
		if ((sentinel[0] & 0XFF) != 0x8d)
1967
			logger.warn(" ***** sentinel[0] != 0x8d");
1967
			logger.warn(" sentinel[0] != 0x8d");
1968 1968
		if ((sentinel[1] & 0XFF) != 0xa1)
1969 1969
			logger.warn("sentinel[1] != 0xa1");
1970 1970
		if ((sentinel[2] & 0XFF) != 0xc4)
......
2264 2264
				sectionDecompressedData.position(0);
2265 2265
				section.setDecompressedData(sectionDecompressedData);
2266 2266
				if (fullSectionDecompressedBB.position() != section.getStartOffset()){
2267
					logger.warn("Desincronización entre el start offset de la seccion y la posición del ByteBuffer compuesto: " + section.getStartOffset() +" , " + fullSectionDecompressedBB.position() );
2267
					logger.warn("Desincronizaci?n entre el start offset de la seccion y la posici?n del ByteBuffer compuesto: " + section.getStartOffset() +" , " + fullSectionDecompressedBB.position() );
2268 2268
				}
2269 2269
				fullSectionDecompressedBB.put(section.getDecompressedData());
2270 2270
			}
......
2331 2331

  
2332 2332

  
2333 2333
			//FIXME: Esto es para saltarse posibles objetos defectuosos que nos
2334
			//impedirían ver el resto del archivo
2334
			//impedir?an ver el resto del archivo
2335 2335
			if (size == 0 || size>29696) {
2336 2336
				logger.warn("Posible error leyendo un objeto: size = "+size);
2337 2337
				return null;
......
2376 2376

  
2377 2377
						if (obj == null) {
2378 2378
							logger.info(dxfEntityName
2379
									+ " todavia no está implementado");
2379
									+ " todavia no est? implementado");
2380 2380
							return null;
2381 2381
						}// if
2382 2382
					}// if newIndex

Also available in: Unified diff