summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2014-10-10 16:41:22 +0200
committerDavid A. Madore <david+git@madore.org>2014-10-10 16:41:22 +0200
commit608c0e55989d40c0f8f3a47c244356acf5002f48 (patch)
treef3cff91c8180338ce1805b6de9898ff4208adc2b
parentcf2ae71372bb49ab83d3db0a093408608faa19d7 (diff)
downloaddamlengine-608c0e55989d40c0f8f3a47c244356acf5002f48.tar.gz
damlengine-608c0e55989d40c0f8f3a47c244356acf5002f48.tar.bz2
damlengine-608c0e55989d40c0f8f3a47c244356acf5002f48.zip
Add a warning when d:wrefcat is being ignored.
-rw-r--r--org/madore/damlengine/TodoWrefAttr.java2
1 files changed, 2 insertions, 0 deletions
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 )