From 7f5733638b32553e4031e6101ef6c285ef281cb1 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Fri, 4 Apr 2014 12:47:29 +0200 Subject: [PATCH] fix for linkstructure computation: now also detecting dead links --- htroot/api/linkstructure.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/api/linkstructure.java b/htroot/api/linkstructure.java index 692388b19..146382a07 100644 --- a/htroot/api/linkstructure.java +++ b/htroot/api/linkstructure.java @@ -130,7 +130,7 @@ public class linkstructure { } // we use the errorDocs to mark all edges with endpoint to error documents for (Map.Entry edge: edges.entrySet()) { - if (errorDocs.containsKey(edge.getValue().target)) edge.getValue().type = HyperlinkEdge.Type.Dead; + if (errorDocs.containsKey(edge.getValue().target.toNormalform(true))) edge.getValue().type = HyperlinkEdge.Type.Dead; } // finally just write out the edge array