protected URI handleDanglingHREF(EObject object)
{
if (!XMLResource.OPTION_PROCESS_DANGLING_HREF_DISCARD.equals(processDanglingHREF))
{
DanglingHREFException exception = new DanglingHREFException(
"The object '" + object + "' is not contained in a resource.",
resource == null || resource.getURI() == null ? "unknown" : resource.getURI().toString(), 0, 0);
if (danglingHREFException == null)
{