Revision 47678
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.file/org.gvsig.fmap.dal.file.gml/src/main/java/org/gvsig/fmap/dal/store/gml/virtualrows/GfsFile.java | ||
---|---|---|
530 | 530 |
String lastName = path_ss[path_ss.length -1]; |
531 | 531 |
String propertyName = StringUtils.replace(path, "/", PROPERTY_NAME_SEPARATOR); |
532 | 532 |
if(StringUtils.endsWith(path, "$v")){ |
533 |
propertyName = StringUtils.replace(propertyName, PROPERTY_NAME_SEPARATOR+lastName+"$v", "");
|
|
533 |
propertyName = StringUtils.replace(propertyName, PROPERTY_NAME_SEPARATOR+lastName, ""); |
|
534 | 534 |
} |
535 | 535 |
String propertyPath = StringUtils.replace(path, "/", PROPERTY_PATH_SEPARATOR); |
536 | 536 |
if(StringUtils.endsWith(path, "$v")){ |
537 |
propertyPath = StringUtils.replace(propertyPath, PROPERTY_PATH_SEPARATOR+lastName+"$v", "");
|
|
537 |
propertyPath = StringUtils.replace(propertyPath, PROPERTY_PATH_SEPARATOR+lastName, ""); |
|
538 | 538 |
} |
539 |
propertyPath = StringUtils.replace(propertyPath, "$v", ""); |
|
540 | 539 |
this.properties.put(propertyName, new PropertyDefn(propertyName, propertyPath, tag.getType(), tag.getSize(), tag.isAttr())); |
541 | 540 |
|
542 | 541 |
} |
Also available in: Unified diff