setFeatureValue(ref.getObject(), feature, obj, ref.getPosition());
}
else if (isEndDocument)
{
error
(new UnresolvedReferenceException
((String) ref.getValue(),
getLocation(),
ref.getLineNumber(),
ref.getColumnNumber()));
}
}
for (Iterator<ManyReference> i = forwardManyReferences.iterator(); i.hasNext(); )
{
ManyReference ref = i.next();
Object[] values = ref.getValues();
boolean failure = false;
for (int j = 0, l = values.length; j < l; j++)
{
String id = (String) values[j];
EObject obj = xmlResource.getEObject(id);
values[j] = obj;
if (obj == null)
{
failure = true;
if (isEndDocument)
{
error
(new UnresolvedReferenceException
(id,
getLocation(),
ref.getLineNumber(),
ref.getColumnNumber()));
}