}
public Location getLocation() {
if (startElementEvent != null) {
PipelineConfiguration pipe = startElementEvent.getPipelineConfiguration();
final LocationProvider provider = pipe.getLocationProvider();
final int locationId = startElementEvent.getLocationId();
if (provider != null) {
return new Location() {
public int getCharacterOffset() {
return -1;
}
public int getColumnNumber() {
return provider.getColumnNumber(locationId);
}
public int getLineNumber() {
return provider.getLineNumber(locationId);
}
public String getPublicId() {
return null;
}
public String getSystemId() {
return provider.getSystemId(locationId);
}
};
}
}
if (currentItem instanceof NodeInfo) {