From 608c0e55989d40c0f8f3a47c244356acf5002f48 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Fri, 10 Oct 2014 16:41:22 +0200 Subject: Add a warning when d:wrefcat is being ignored. --- org/madore/damlengine/TodoWrefAttr.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'org') diff --git a/org/madore/damlengine/TodoWrefAttr.java b/org/madore/damlengine/TodoWrefAttr.java index f58f7a3..aeb8bb2 100644 --- a/org/madore/damlengine/TodoWrefAttr.java +++ b/org/madore/damlengine/TodoWrefAttr.java @@ -62,6 +62,8 @@ public class TodoWrefAttr extends TodoAttr { // Choose file portion of link target if ( esum != null && esum.doSinglePage != null && ! wrefSupplementStr.equals("") ) { // Linking to a _fragment_ of an entry that has a single page. + if ( wrefCat != null ) + System.err.println("warning: ignoring d:wrefcat attribute!"); if ( ctx.wsc != null && ctx.wsc.sel != null && ctx.wsc instanceof Context.WeblogSingleSelectionContext && ((Context.WeblogSingleSelectionContext)ctx.wsc).number == wrefNumber ) -- cgit v1.2.3