Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package suse-xsl-stylesheets for 
openSUSE:Factory checked in at 2026-04-15 16:04:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-xsl-stylesheets (Old)
 and      /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "suse-xsl-stylesheets"

Wed Apr 15 16:04:07 2026 rev:109 rq:1347084 version:2.95.35

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/suse-xsl-stylesheets/suse-xsl-stylesheets.changes    
    2026-04-01 19:55:48.058008260 +0200
+++ 
/work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.21863/suse-xsl-stylesheets.changes
     2026-04-15 16:05:44.537889030 +0200
@@ -1,0 +2,13 @@
+Wed Apr 15 07:54:46 UTC 2026 - Thomas Schraitle <[email protected]> - 
2.95.35
+
+- Update 2.95.35
+  SUVA / AskGeeko integration in #789
+
+-------------------------------------------------------------------
+Tue Apr 14 11:00:03 UTC 2026 - Thomas Schraitle <[email protected]> - 
2.95.34
+
+- Update 2.95.34
+  * JSON-LD/mentions: Look for nearest info element in #796
+  * Fix DOCTEAM-2221: Introduce dateCreated in #797
+
+-------------------------------------------------------------------

Old:
----
  suse-xsl-2.95.33.tar.bz2

New:
----
  suse-xsl-2.95.35.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ suse-xsl-stylesheets.spec ++++++
--- /var/tmp/diff_new_pack.WIMJdc/_old  2026-04-15 16:05:45.485928004 +0200
+++ /var/tmp/diff_new_pack.WIMJdc/_new  2026-04-15 16:05:45.489928169 +0200
@@ -22,7 +22,7 @@
 %define suse_styles_dir   %{db_xml_dir}/stylesheet
 #
 Name:           suse-xsl-stylesheets
-Version:        2.95.33
+Version:        2.95.35
 Release:        0
 Summary:        SUSE-Branded Stylesheets for DocBook
 License:        GPL-2.0-only OR GPL-3.0-only

++++++ _service ++++++
--- /var/tmp/diff_new_pack.WIMJdc/_old  2026-04-15 16:05:45.601932773 +0200
+++ /var/tmp/diff_new_pack.WIMJdc/_new  2026-04-15 16:05:45.617933431 +0200
@@ -1,10 +1,11 @@
+<!-- osc service runall -->
 <services>
   <service name="tar_scm" mode="disabled">
-    <param name="versionformat">2.95.33</param>
+    <param name="versionformat">2.95.35</param>
     <param name="versionprefix"></param>
     <param name="url">https://github.com/openSUSE/suse-xsl.git</param>
     <param name="scm">git</param>
-    <param name="revision">2.95.33</param>
+    <param name="revision">2.95.35</param>
   </service>
   <service name="recompress" mode="disabled">
     <param name="file">*.tar</param>

++++++ suse-xsl-2.95.33.tar.bz2 -> suse-xsl-2.95.35.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.33/.versionrc 
new/suse-xsl-2.95.35/.versionrc
--- old/suse-xsl-2.95.33/.versionrc     2026-04-01 08:18:52.000000000 +0200
+++ new/suse-xsl-2.95.35/.versionrc     2026-04-15 09:52:11.000000000 +0200
@@ -1,4 +1,4 @@
-version: 2.95.33
+version: 2.95.35
 files: Makefile README.adoc
 changesfile: ChangeLog
 format: (0|[1-9][0-9]*)\.(0|[1-9][0-9]{0,1})\.(0|[1-9][0-9]{0,1})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.33/ChangeLog 
new/suse-xsl-2.95.35/ChangeLog
--- old/suse-xsl-2.95.33/ChangeLog      2026-04-01 08:18:52.000000000 +0200
+++ new/suse-xsl-2.95.35/ChangeLog      2026-04-15 09:52:11.000000000 +0200
@@ -1,4 +1,15 @@
 -------------------------------------------------------------------
+Wed Apr 15 07:51:31 UTC 2026 - [email protected]
+
+* Update to 2.95.35
+  - SUVA / AskGeeko integration (#789)
+-------------------------------------------------------------------
+Tue Apr 14 10:54:15 UTC 2026 - [email protected]
+
+* Update to 2.95.34
+  - Revise JSON-LD/Dublin Core dates for metadata (#797)
+  - JSON-LD/mentions: Look for nearest info element (#796)
+-------------------------------------------------------------------
 Wed Apr 01 06:18:02 UTC 2026 - [email protected]
 
 * Update 2.95.33
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.33/Makefile 
new/suse-xsl-2.95.35/Makefile
--- old/suse-xsl-2.95.33/Makefile       2026-04-01 08:18:52.000000000 +0200
+++ new/suse-xsl-2.95.35/Makefile       2026-04-15 09:52:11.000000000 +0200
@@ -11,7 +11,7 @@
 
 SHELL         := /bin/bash
 PACKAGE       := suse-xsl-stylesheets
-VERSION       := 2.95.33
+VERSION       := 2.95.35
 CDIR          := $(shell pwd)
 SUSE_XML_PATH := $(PREFIX)/xml/suse
 DB_XML_PATH   := $(PREFIX)/xml/docbook
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/suse-xsl-2.95.33/source-assets/styles2022/sass/custom/major-elements-new.sass
 
new/suse-xsl-2.95.35/source-assets/styles2022/sass/custom/major-elements-new.sass
--- 
old/suse-xsl-2.95.33/source-assets/styles2022/sass/custom/major-elements-new.sass
   2026-04-01 08:18:52.000000000 +0200
+++ 
new/suse-xsl-2.95.35/source-assets/styles2022/sass/custom/major-elements-new.sass
   2026-04-15 09:52:11.000000000 +0200
@@ -3,7 +3,6 @@
 html,
 body
   font-size: 18px
-  height: 100%
   scroll-behavior: smooth
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/suse-xsl-2.95.33/suse2022-ns/static/css/style-new.css 
new/suse-xsl-2.95.35/suse2022-ns/static/css/style-new.css
--- old/suse-xsl-2.95.33/suse2022-ns/static/css/style-new.css   2026-04-01 
08:18:52.000000000 +0200
+++ new/suse-xsl-2.95.35/suse2022-ns/static/css/style-new.css   2026-04-15 
09:52:11.000000000 +0200
@@ -1285,7 +1285,6 @@
 html,
 body {
   font-size: 18px;
-  height: 100%;
   scroll-behavior: smooth; }
 
 body {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.33/suse2022-ns/xhtml/docbook.xsl 
new/suse-xsl-2.95.35/suse2022-ns/xhtml/docbook.xsl
--- old/suse-xsl-2.95.33/suse2022-ns/xhtml/docbook.xsl  2026-04-01 
08:18:52.000000000 +0200
+++ new/suse-xsl-2.95.35/suse2022-ns/xhtml/docbook.xsl  2026-04-15 
09:52:11.000000000 +0200
@@ -284,11 +284,38 @@
   </xsl:if>
 
   <xsl:if test="$include.html.dublincore">
+    <xsl:variable name="candidate-created">
+      <xsl:choose>
+        <!-- Select the nearest revision date and retrieve the last (=oldest) 
date -->
+        <xsl:when 
test="($node/ancestor-or-self::*/d:info/d:revhistory)[last()]/d:revision[last()]/d:date">
+          <xsl:value-of 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:revhistory)[last()]/d:revision[last()]/d:date)"/>
+        </xsl:when>
+        <xsl:otherwise />
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:variable name="candidate-submitted">
+      <xsl:variable name="date">
+        <xsl:choose>
+          <xsl:when test="function-available('date:date-time')">
+            <xsl:value-of select="date:date-time()" />
+          </xsl:when>
+          <xsl:when test="function-available('date:dateTime')">
+            <!-- Xalan quirk -->
+            <xsl:value-of select="date:dateTime()" />
+          </xsl:when>
+        </xsl:choose>
+      </xsl:variable>
+      <xsl:call-template name="datetime.format">
+        <xsl:with-param name="date" select="$date"/>
+        <xsl:with-param name="format">Y-m-d</xsl:with-param>
+        <xsl:with-param name="padding"  select="1"/>
+      </xsl:call-template>
+    </xsl:variable>
     <xsl:variable name="candidate-modified">
       <xsl:choose>
-        <!-- Select the nearest first revision date from the ancestor axis -->
-        <xsl:when 
test="$node/ancestor-or-self::*/d:info/d:revhistory/d:revision[1]/d:date">
-          <xsl:value-of 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:revhistory/d:revision[1]/d:date)[last()])"/>
+        <!-- Select the nearest revision and retrieve the first (=most 
current) date -->
+        <xsl:when 
test="($node/ancestor-or-self::*/d:info/d:revhistory)[last()]/d:revision[1]/d:date">
+          <xsl:value-of 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:revhistory)[last()]/d:revision[1]/d:date)"/>
         </xsl:when>
         <!-- Fallback -->
         <xsl:when test="$node/ancestor-or-self::*/d:info/d:pubdate">
@@ -299,28 +326,19 @@
         </xsl:when>
       </xsl:choose>
     </xsl:variable>
-    <xsl:variable name="candidate-published">
-      <xsl:choose>
-        <!-- Select the nearest last revision date from the ancestor axis -->
-        <xsl:when 
test="$node/ancestor-or-self::*/d:info/d:revhistory/d:revision[last()]/d:date">
-          <xsl:value-of 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:revhistory/d:revision[last()]/d:date)[last()])"/>
-        </xsl:when>
-        <!-- Fallback: We don't distinguish between modified and published if 
we can't find a revhistory  -->
-        <xsl:when test="$node/ancestor-or-self::*/d:info/d:date">
-          <xsl:value-of 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:date)[last()])"/>
-        </xsl:when>
-        <xsl:when test="$node/ancestor-or-self::*/d:info/d:pubdate">
-          <xsl:value-of 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:pubdate)[last()])"/>
-        </xsl:when>
-      </xsl:choose>
-    </xsl:variable>
 
     <!-- For Dublin Core metadata -->
     <link rel="schema.dc"      href="http://purl.org/dc/elements/1.1/"; />
     <link rel="schema.dcterms" href="http://purl.org/dc/terms/"; />
     <xsl:text>&#10;</xsl:text>
+    <xsl:if test="$candidate-created != ''">
+      <meta name="dcterms.created" content="{$candidate-created}" />
+      <xsl:text>&#10;</xsl:text>
+    </xsl:if>
     <meta name="dcterms.modified" content="{$candidate-modified}" />
-    <meta name="dcterms.created" content="{$candidate-published}" />
+    <xsl:text>&#10;</xsl:text>
+    <meta name="dcterms.dateSubmitted" content="{$candidate-submitted}" />
+    <xsl:text>&#10;</xsl:text>
   </xsl:if>
 
   <xsl:if test="$html.script != ''">
@@ -389,6 +407,20 @@
       <xsl:comment>END WEBSITE FEEDBACK SNIPPET</xsl:comment>
     <xsl:text>&#10;</xsl:text>
   </xsl:if>
+  <xsl:if test="number($generate.suva) != 0">
+    <xsl:comment>SUVA/AskGeeko start</xsl:comment>
+    <xsl:comment><xsl:value-of select="$suva.copyright"/></xsl:comment>
+    <xsl:text>&#10;</xsl:text>
+    <script type="text/javascript" 
src="{$suva.url}/Allow/an.js?{$suva.id}"><xsl:comment /></script>
+    <xsl:text>&#10;</xsl:text>
+    <script type="text/javascript" 
src="{$suva.url}/js/index.js?q=gAAAAABp3JBN9VuEJTi5tFafLIMwgMkCPdJS3Qm56lSYx93ir3Twt9hgSvd3OHEt6-nYfSbY3yHq0Zv8PRPsSy4nbqZiaJ4cZvRc6ItVZdvwz9Urf35cH6OUyPOwdA0phlS-zVIznQ2rWW438p-91NlTHuxJuOFpnA=="><xsl:comment
 /></script>
+    <xsl:text>&#10;</xsl:text>
+    <link rel="stylesheet" href="{$suva.css.url}"><xsl:comment /></link>
+    <xsl:text>&#10;</xsl:text>
+    <div id="searchUnifyChatbot"><xsl:comment /></div>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:comment>SUVA/AskGeeko end</xsl:comment>
+  </xsl:if>
 </xsl:template>
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.33/suse2022-ns/xhtml/json-ld.xsl 
new/suse-xsl-2.95.35/suse2022-ns/xhtml/json-ld.xsl
--- old/suse-xsl-2.95.33/suse2022-ns/xhtml/json-ld.xsl  2026-04-01 
08:18:52.000000000 +0200
+++ new/suse-xsl-2.95.35/suse2022-ns/xhtml/json-ld.xsl  2026-04-15 
09:52:11.000000000 +0200
@@ -117,6 +117,37 @@
   <xsl:key name="docserv-dcfiles" match="dc" use="."/>
   <xsl:key name="docserv-dcsubdelivfiles" match="subdeliverable" 
use="concat('DC-', .)"/>
 
+   <!-- Build time (used in JSON-LD metadata -->
+  <xsl:variable name="buildtime">
+    <!-- Create the build date by first creating the date, then the time.
+         This was needed as the "datetime.format" seems not to format date and 
time
+         together. :(
+    -->
+    <xsl:variable name="date">
+      <xsl:choose>
+        <xsl:when test="function-available('date:date-time')">
+          <xsl:value-of select="date:date-time()" />
+        </xsl:when>
+        <xsl:when test="function-available('date:dateTime')">
+          <!-- Xalan quirk -->
+          <xsl:value-of select="date:dateTime()" />
+        </xsl:when>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:call-template name="datetime.format">
+      <xsl:with-param name="date" select="$date"/>
+      <xsl:with-param name="format">Y-m-d</xsl:with-param>
+      <xsl:with-param name="padding"  select="1"/>
+    </xsl:call-template>
+    <xsl:text>T</xsl:text>
+    <xsl:call-template name="datetime.format">
+      <xsl:with-param name="date" select="$date"/>
+      <xsl:with-param name="format">H:M</xsl:with-param>
+      <xsl:with-param name="padding"  select="1"/>
+    </xsl:call-template>
+    <xsl:text>+02:00</xsl:text><!-- Our timezone -->
+  </xsl:variable>
+
   <!--
     Validates a date
 
@@ -187,6 +218,7 @@
   -->
   <xsl:template name="sanitize-date">
     <xsl:param name="date"/>
+    <xsl:param name="timezone" select="$json-ld-date-timezone" />
 
     <!-- We format the date with format-number. If there is a string which 
can't be converted,
          we get "NaN". This is a hint to reject the converted string and just 
return an empty
@@ -203,7 +235,7 @@
           <xsl:value-of select="concat(format-number($year, '#-'),
                                        format-number($month, '00-'),
                                        format-number($day, '00'),
-                                       $json-ld-date-timezone)"/>
+                                       $timezone)"/>
         </xsl:when>
         <!-- Check if the date is in the format YYYY-MM -->
         <xsl:when test="string-length($date) = 7 and substring($date, 5, 1) = 
'-'">
@@ -211,7 +243,7 @@
           <xsl:variable name="month" select="substring($date, 6, 2)"/>
           <xsl:value-of select="concat(format-number($year, '0000-'),
                                        format-number($month, '00-'), '01',
-                                       $json-ld-date-timezone)"/>
+                                       $timezone)"/>
         </xsl:when>
         <!-- Check if the date is in the format YYYY-M -->
         <xsl:when test="string-length($date) = 6 and substring($date, 5, 1) = 
'-'">
@@ -219,7 +251,7 @@
           <xsl:variable name="month" select="substring($date, 6, 1)"/>
           <xsl:value-of select="concat(format-number($year, '0000-'),
                                        format-number($month, '00-'), '01',
-                                       $json-ld-date-timezone)"/>
+                                       $timezone)"/>
         </xsl:when>
         <!-- Check if the date is in the format YYYY-M-D -->
         <xsl:when test="string-length($date) = 8 and
@@ -230,7 +262,7 @@
           <xsl:value-of select="concat(format-number($year, '####-'),
                                        format-number($month, '00-'),
                                        format-number($day, '00'),
-                                       $json-ld-date-timezone)"/>
+                                       $timezone)"/>
         </xsl:when>
         <!-- Check if the date is in the format YYYY-MM-D -->
         <xsl:when test="string-length($date) = 9 and
@@ -241,7 +273,7 @@
           <xsl:value-of select="concat(format-number($year, '####-'),
                                        format-number($month, '00-'),
                                        format-number($day, '00'),
-                                       $json-ld-date-timezone)"/>
+                                       $timezone)"/>
         </xsl:when>
         <!-- Check if the date is in the format YYYY-M-DD -->
         <xsl:when test="string-length($date) = 9 and
@@ -252,7 +284,7 @@
           <xsl:value-of select="concat(format-number($year, '####-'),
                                        format-number($month, '00-'),
                                        format-number($day, '00'),
-                                       $json-ld-date-timezone)"/>
+                                       $timezone)"/>
         </xsl:when>
         <xsl:otherwise>
           <!-- Return an empty string if the date does not match any of the 
specified formats -->
@@ -782,50 +814,65 @@
 
   <xsl:template name="json-ld-dateModified-and-Published">
     <xsl:param name="node" select="."/>
-    <xsl:variable name="candidate-modified">
+    <xsl:variable name="candidate-created">
       <xsl:choose>
-        <!-- Select the nearest first revision date from the ancestor axis -->
-        <xsl:when 
test="$node/ancestor-or-self::*/d:info/d:revhistory/d:revision[1]/d:date">
-          <xsl:value-of 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:revhistory/d:revision[1]/d:date)[last()])"/>
+        <!-- Select the nearest revision date and retrieve the last (=oldest) 
date -->
+        <xsl:when 
test="($node/ancestor-or-self::*/d:info/d:revhistory)[last()]/d:revision[last()]/d:date">
+          <xsl:value-of 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:revhistory)[last()]/d:revision[last()]/d:date)"/>
         </xsl:when>
         <!-- Fallback -->
-        <xsl:when test="$node/ancestor-or-self::*/d:info/d:pubdate">
-          <xsl:value-of 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:pubdate)[last()])"/>
+        <xsl:when test="($node/ancestor-or-self::*)[last()]/d:info/d:pubdate">
+          <xsl:value-of 
select="normalize-space((($node/ancestor-or-self::*)[last()]/d:info/d:pubdate)[last()])"/>
         </xsl:when>
-        <xsl:when test="$node/ancestor-or-self::*/d:info/d:date">
-          <xsl:value-of 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:date)[last()])"/>
+        <xsl:when test="($node/ancestor-or-self::*)[last()]/d:info/d:date">
+          <xsl:value-of 
select="normalize-space((($node/ancestor-or-self::*)[last()]/d:info/d:date)[last()])"/>
         </xsl:when>
       </xsl:choose>
     </xsl:variable>
-    <xsl:variable name="candidate-published">
+    <xsl:variable name="candidate-modified">
       <xsl:choose>
-        <!-- Select the nearest last revision date from the ancestor axis -->
-        <xsl:when 
test="$node/ancestor-or-self::*/d:info/d:revhistory/d:revision[last()]/d:date">
-          <xsl:value-of 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:revhistory/d:revision[last()]/d:date)[last()])"/>
+        <!-- Select the nearest revision and retrieve the first (=most 
current) date -->
+        <xsl:when 
test="($node/ancestor-or-self::*/d:info/d:revhistory)[last()]/d:revision[1]/d:date">
+          <xsl:value-of 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:revhistory)[last()]/d:revision[1]/d:date)"/>
         </xsl:when>
         <!-- Fallback -->
-        <xsl:when test="$node/ancestor-or-self::*/d:info/d:date">
-          <xsl:value-of 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:date)[last()])"/>
+        <xsl:when test="($node/ancestor-or-self::*)[last()]/d:info/d:pubdate">
+          <xsl:value-of 
select="normalize-space((($node/ancestor-or-self::*)[last()]/d:info/d:pubdate)[last()])"/>
         </xsl:when>
-        <xsl:when test="$node/ancestor-or-self::*/d:info/d:pubdate">
-          <xsl:value-of 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:pubdate)[last()])"/>
+        <xsl:when test="($node/ancestor-or-self::*)[last()]/d:info/d:date">
+          <xsl:value-of 
select="normalize-space((($node/ancestor-or-self::*)[last()]/d:info/d:date)[last()])"/>
         </xsl:when>
       </xsl:choose>
     </xsl:variable>
-    <xsl:variable name="date-modified">
-      <xsl:if test="$candidate-modified != ''">
+<!--    <xsl:variable name="candidate-published" select="$buildtime" />-->
+    <xsl:variable name="date-created">
+      <xsl:if test="$candidate-created != ''">
         <xsl:call-template name="sanitize-date">
-          <xsl:with-param name="date" select="$candidate-modified"/>
+          <xsl:with-param name="date" select="$candidate-created"/>
         </xsl:call-template>
       </xsl:if>
     </xsl:variable>
-    <xsl:variable name="date-published">
-      <xsl:if test="$candidate-published != ''">
+    <xsl:variable name="date-modified">
+      <xsl:if test="$candidate-modified != ''">
         <xsl:call-template name="sanitize-date">
-          <xsl:with-param name="date" select="$candidate-published"/>
+          <xsl:with-param name="date" select="$candidate-modified"/>
         </xsl:call-template>
       </xsl:if>
     </xsl:variable>
+    <xsl:variable name="date-published" select="$buildtime" />
+
+    <xsl:variable name="is-created-valid">
+      <xsl:choose>
+        <xsl:when test="$date-created != ''">
+          <xsl:call-template name="validate-date">
+            <xsl:with-param name="date" select="$date-created"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="false()"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
     <xsl:variable name="is-modified-valid">
       <xsl:choose>
         <xsl:when test="$date-modified != ''">
@@ -854,27 +901,29 @@
       <xsl:choose>
         <xsl:when test="$is-published-valid = true() and $is-modified-valid = 
true()">
           <xsl:call-template name="compare-dates">
-            <xsl:with-param name="date1" select="$date-published" />
-            <xsl:with-param name="date2" select="$date-modified" />
+            <xsl:with-param name="date1" select="$date-modified" />
+            <xsl:with-param name="date2" select="$date-published" />
           </xsl:call-template>
         </xsl:when>
         <xsl:otherwise>100</xsl:otherwise><!-- In case some problem with one 
of the dates -->
       </xsl:choose>
     </xsl:variable>
 
-<!--    <xsl:message>DEBUG:
-    current element=<xsl:value-of select="local-name($node)"/>
+    <xsl:message>DEBUG:
+    current element=<xsl:value-of select="local-name($node)"/><!--
     count = <xsl:value-of 
select="count($node//ancestor-or-self::*/d:info/d:revhistory)"/>
     candidate-modified="<xsl:value-of select="$candidate-modified"/>"
     candidate-published="<xsl:value-of select="$candidate-published"/>"
+    -->
+    created=<xsl:value-of select="$date-created"/> => <xsl:value-of 
select="$is-created-valid"/>
     modified=<xsl:value-of select="$date-modified"/> => <xsl:value-of 
select="$is-modified-valid"/>
     published=<xsl:value-of select="$date-published"/> => <xsl:value-of 
select="$is-published-valid"/>
-    <xsl:text>&#10;</xsl:text>
+      <!--<xsl:text>&#10;</xsl:text>
     <xsl:value-of select="$date-published"/> => <xsl:call-template 
name="validate-date">
         <xsl:with-param name="date" select="$date-modified"></xsl:with-param>
-      </xsl:call-template>
+      </xsl:call-template>-->
     </xsl:message>
- -->
+ 
 
     <!-- TODO: compare the two dates
       Condition: datePublished <= dateModified
@@ -917,8 +966,24 @@
     </xsl:choose>
 
     <xsl:choose>
+      <xsl:when test="$date-created != ''">
+        <xsl:text>&#10;    "dateCreated": </xsl:text>
+        <xsl:value-of select="concat('&quot;', $date-created, '&quot;,')"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="log.message">
+          <xsl:with-param name="level">warn</xsl:with-param>
+          <xsl:with-param name="context-desc">JSON-LD</xsl:with-param>
+          <xsl:with-param name="message">
+            <xsl:text>Could not create "dateCreated" property as no element 
was appropriate.</xsl:text>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:choose>
       <xsl:when test="$date-modified != ''">
-    "dateModified": "<xsl:value-of select="$date-modified"/>",
+        <xsl:text>&#10;    "dateModified": </xsl:text>
+        <xsl:value-of select="concat('&quot;', $date-modified, '&quot;,')"/>
       </xsl:when>
       <xsl:otherwise>
         <xsl:call-template name="log.message">
@@ -932,7 +997,8 @@
     </xsl:choose>
     <xsl:choose>
       <xsl:when test="$date-published != ''">
-    "datePublished": "<xsl:value-of select="$date-published"/>",
+        <xsl:text>&#10;    "datePublished": </xsl:text>
+        <xsl:value-of select="concat('&quot;', $date-published, '&quot;,')"/>
       </xsl:when>
       <xsl:otherwise>
         <xsl:call-template name="log.message">
@@ -1104,9 +1170,9 @@
 
   <xsl:template name="json-ld-software">
     <xsl:param name="node" select="."/>
-    <xsl:variable name="info-productnumber" 
select="normalize-space($node/d:info/d:productnumber)"/>
-    <xsl:variable name="info-productname" 
select="normalize-space($node/d:info/d:productname)"/>
-    <xsl:variable name="meta-productname" 
select="$node/d:info/d:meta[@name='productname']/d:productname"/>
+    <xsl:variable name="info-productnumber" 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:productnumber)[last()])"/>
+    <xsl:variable name="info-productname" 
select="normalize-space(($node/ancestor-or-self::*/d:info/d:productname)[last()])"/>
+    <xsl:variable name="meta-productname" 
select="($node/ancestor-or-self::*/d:info/d:meta[@name='productname']/d:productname)[last()]"/>
     <xsl:variable name="tmp-productname-with-version">
       <xsl:if test="$info-productname">
         <productname xmlns="http://docbook.org/ns/docbook"; 
version="{$info-productnumber}"
@@ -1115,7 +1181,7 @@
     </xsl:variable>
     <xsl:variable name="productname-with-version" 
select="exsl:node-set($tmp-productname-with-version)/*"/>
     <xsl:variable name="productname" select="($productname-with-version | 
$meta-productname)"/>
-    <xsl:variable name="archs" 
select="$node/d:info/d:meta[@name='architecture']/d:phrase"/>
+    <xsl:variable name="archs" 
select="$node/ancestor-or-self::*/d:info/d:meta[@name='architecture']/d:phrase"/>
     <xsl:variable name="candidate-arch">
       <xsl:for-each select="$archs">
         <xsl:value-of select="."/>
@@ -1123,6 +1189,13 @@
       </xsl:for-each>
     </xsl:variable>
 
+<!--    <xsl:message>mentions processed...
+      current node:        <xsl:value-of select="local-name($node)"/>
+      info-productname:    <xsl:value-of select="$info-productname"/>
+      info-productnumber:  <xsl:value-of select="$info-productnumber"/>
+      meta-productname:    <xsl:value-of select="$meta-productname"/>
+    </xsl:message>-->
+
     <xsl:if test="$productname">
     "mentions": [
       <xsl:for-each select="$productname">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/suse-xsl-2.95.33/suse2022-ns/xhtml/param.xsl 
new/suse-xsl-2.95.35/suse2022-ns/xhtml/param.xsl
--- old/suse-xsl-2.95.33/suse2022-ns/xhtml/param.xsl    2026-04-01 
08:18:52.000000000 +0200
+++ new/suse-xsl-2.95.35/suse2022-ns/xhtml/param.xsl    2026-04-15 
09:52:11.000000000 +0200
@@ -549,4 +549,12 @@
 
   <!-- The survey URL to be used. Change it accordingly -->
   <xsl:param 
name="doc.survey.url">https://suselinux.fra1.qualtrics.com/jfe/form/SV_bEiGZbUNzLD8Tcy</xsl:param>
+
+  <!-- SUVA engine -->
+  <xsl:param name="generate.suva" select="0" />
+  <xsl:param name="suva.id">c485cb3c-93d4-4942-99e8-91f3b8ca5636</xsl:param>
+  <xsl:param 
name="suva.url">https://suse.searchunify.com/suva-resources/suva_clients_custom/<xsl:value-of
 select="$suva.id"/></xsl:param>
+  <xsl:param name="suva.css.url" select="concat($suva.url, '/css/index.css')" 
/>
+  <xsl:param name="suva.copyright">searchUnifyChatbot ("Ask Geeko") copyright 
2024 Grazitti Interactive - All Rights Reserved. NOTICE: All information 
contained herein is, and remains the property of Grazitti Interactive and its 
suppliers, if any. The intellectual and technical concepts contained herein are 
proprietary to Grazitti Interactive and its suppliers and may be covered by 
India, U.S. and Foreign Patents, patents in process, and are protected by trade 
secret or copyright law. Dissemination of this information or reproduction of 
this material is strictly forbidden unless prior written permission is obtained 
from Grazitti Interactive.</xsl:param>
+
 </xsl:stylesheet>

++++++ suse-xsl-stylesheets.rpmlintrc ++++++
--- /var/tmp/diff_new_pack.WIMJdc/_old  2026-04-15 16:05:56.366375321 +0200
+++ /var/tmp/diff_new_pack.WIMJdc/_new  2026-04-15 16:05:56.378375814 +0200
@@ -1,3 +1,4 @@
+addFilter("no-%check-section")
 addFilter("explicit-lib-dependency libxslt")
 # addFilter("explicit-lib-dependency liberation-fonts")
 # addFilter("incorrect-fsf-address .*/hyphen/czhyphen.il2")

Reply via email to