[yelp-xsl] mal2html-ui: Added deprecation warning



commit 11b1d9fe95203b5e17e8a21f6867790b220562bb
Author: Shaun McCance <shaunm gnome org>
Date:   Wed Oct 31 22:40:12 2012 -0400

    mal2html-ui: Added deprecation warning

 xslt/mallard/html/mal2html-ui.xsl |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/xslt/mallard/html/mal2html-ui.xsl b/xslt/mallard/html/mal2html-ui.xsl
index 72e4702..d274654 100644
--- a/xslt/mallard/html/mal2html-ui.xsl
+++ b/xslt/mallard/html/mal2html-ui.xsl
@@ -54,7 +54,12 @@ for blocks that produce automatic titles.
 <xsl:template name="mal2html.ui.expander.data">
   <xsl:param name="node" select="."/>
   <xsl:if test="$node/@uix:expanded">
-    <!-- FIXME: deprecation warning -->
+    <xsl:message>
+      <xsl:text>DEPRECATION WARNING: The expanded attribute from the expander/ui namespace
+is deprecated. Use the expanded attribute from the ui/1.0 namespace instead.
+Note that the non-experimental attribute takes true/false instead of yes/no.
+http://projectmallard.org/ui/1.0/ui_expanded.html</xsl:text>
+    </xsl:message>
   </xsl:if>
   <xsl:if test="$node/mal:title and ($node/@ui:expanded or $node/@uix:expanded)">
     <xsl:variable name="title_e" select="$node/mal:info/mal:title[ type = 'ui:expanded'][1]"/>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]