[yelp-xsl] mal2html-ui: No deprecation warning when using old and new expanded



commit d0d9ab82db93e554c9ec63e2b8f8d962d09b8187
Author: Shaun McCance <shaunm gnome org>
Date:   Tue Nov 20 16:01:55 2012 -0500

    mal2html-ui: No deprecation warning when using old and new expanded

 xslt/mallard/html/mal2html-ui.xsl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xslt/mallard/html/mal2html-ui.xsl b/xslt/mallard/html/mal2html-ui.xsl
index b0a7f9e..dcce2a6 100644
--- a/xslt/mallard/html/mal2html-ui.xsl
+++ b/xslt/mallard/html/mal2html-ui.xsl
@@ -53,7 +53,7 @@ for blocks that produce automatic titles.
 -->
 <xsl:template name="mal2html.ui.expander.data">
   <xsl:param name="node" select="."/>
-  <xsl:if test="$node/@uix:expanded">
+  <xsl:if test="$node/@uix:expanded and not($node/@ui:expanded)">
     <xsl:message>
       <xsl:text>DEPRECATION WARNING: The expanded attribute from the experimental/ui namespace
 is deprecated. Use the expanded attribute from the ui/1.0 namespace instead.



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