From 2abda0237cd3c2c10f17da2c708a08074f2df02e Mon Sep 17 00:00:00 2001 From: "Yang,Yu-chu" Date: Fri, 27 Aug 2021 17:58:01 -0700 Subject: [PATCH] config-tools: refine misc_cfg.h.xsl and lib.xsl The whitespaces between delimiter saperated elemnts of a list causes acrn:get-common-clos-max and acrn:find-list-min returns unexpected numbers. Translate the whitespaces to nothing and rewrite acrn:find-list-min and acrn:get-common-clos-max. Tracked-On: #6515 Signed-off-by: Yang,Yu-chu --- misc/config_tools/xforms/lib.xsl | 121 +++++++++--------------- misc/config_tools/xforms/misc_cfg.h.xsl | 7 +- 2 files changed, 50 insertions(+), 78 deletions(-) diff --git a/misc/config_tools/xforms/lib.xsl b/misc/config_tools/xforms/lib.xsl index 32a47425d..66b5f3dfc 100644 --- a/misc/config_tools/xforms/lib.xsl +++ b/misc/config_tools/xforms/lib.xsl @@ -11,6 +11,7 @@ xmlns:func="http://exslt.org/functions" xmlns:str="http://exslt.org/strings" xmlns:set="http://exslt.org/sets" + xmlns:exslt="http://exslt.org/common" xmlns:acrn="http://projectacrn.org" extension-element-prefixes="func"> @@ -55,22 +56,6 @@ - - - - - - - - - - - - - - - - @@ -147,9 +132,9 @@ - + - + @@ -392,8 +377,8 @@ - - + + @@ -405,60 +390,35 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -636,4 +596,17 @@ + + + + + + + + + + + + + diff --git a/misc/config_tools/xforms/misc_cfg.h.xsl b/misc/config_tools/xforms/misc_cfg.h.xsl index 2b6d8bbc8..e0d7de901 100644 --- a/misc/config_tools/xforms/misc_cfg.h.xsl +++ b/misc/config_tools/xforms/misc_cfg.h.xsl @@ -145,20 +145,19 @@ - - - + + - +