From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Pokorný Date: Thu, 5 Dec 2013 18:24:12 +0100 Subject: [Cluster-devel] [PATCH 3/6] rgmanager: ra2rng.xsl: common params: just refer to named pattern In-Reply-To: <1386264255-22340-1-git-send-email-jpokorny@redhat.com> References: <1386264255-22340-1-git-send-email-jpokorny@redhat.com> Message-ID: <1386264255-22340-4-git-send-email-jpokorny@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ...in resources.rng.tail where it has been moved out Signed-off-by: Jan Pokorn? --- rgmanager/src/resources/ra2rng.xsl | 117 +++-------------------------- rgmanager/src/resources/resources.rng.tail | 93 +++++++++++++++++++++++ 2 files changed, 102 insertions(+), 108 deletions(-) diff --git a/rgmanager/src/resources/ra2rng.xsl b/rgmanager/src/resources/ra2rng.xsl index 78fbe35..d781dbe 100644 --- a/rgmanager/src/resources/ra2rng.xsl +++ b/rgmanager/src/resources/ra2rng.xsl @@ -13,109 +13,6 @@ helper definitions --> - - - - - \s+[12]\s+|[Yy][Ee][Ss]|[Nn][Oo][Nn][-][Cc][Rr][Ii][Tt][Ii][Cc][Aa][Ll] - - - - - - - \s+[1-9][0-9]*\s+|[Yy][Ee][Ss] - - - - - - - - - - - 0 - - - - - .*[1-9][0-9]*([SsMmHhDdWwYy].*|) - - - - - - - - - 0 - - - - - - - - - .*[1-9][0-9]*([SsMmHhDdWwYy].*|) - - - - - - - - - - - - - - - 0 - - - - - .*[1-9][0-9]*([SsMmHhDdWwYy].*|) - - - - - - - - - 0 - - - - - - - - - .*[1-9][0-9]*([SsMmHhDdWwYy].*|) - - - - - - - - - @@ -474,13 +371,17 @@ select="concat($global-init-indent, $global-indent)"/> + - - - - + + + + + diff --git a/rgmanager/src/resources/resources.rng.tail b/rgmanager/src/resources/resources.rng.tail index 4434631..d2c1fcb 100644 --- a/rgmanager/src/resources/resources.rng.tail +++ b/rgmanager/src/resources/resources.rng.tail @@ -4,6 +4,99 @@ + + + + + \s+[12]\s+|[Yy][Ee][Ss]|[Nn][Oo][Nn][-][Cc][Rr][Ii][Tt][Ii][Cc][Aa][Ll] + + + + + + + \s+[1-9][0-9]*\s+|[Yy][Ee][Ss] + + + + + + + + + + + 0 + + + + + .*[1-9][0-9]*([SsMmHhDdWwYy].*|) + + + + + + + + + 0 + + + + + + + + + .*[1-9][0-9]*([SsMmHhDdWwYy].*|) + + + + + + + + + + + + + + + 0 + + + + + .*[1-9][0-9]*([SsMmHhDdWwYy].*|) + + + + + + + + + 0 + + + + + + + + + .*[1-9][0-9]*([SsMmHhDdWwYy].*|) + + + + + + + + + -- 1.8.1.4