From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Pokorný Date: Mon, 9 Dec 2013 21:43:17 +0100 Subject: [Cluster-devel] [PATCHv2 3/6] rgmanager: ra2rng.xsl: common params: just refer to named pattern In-Reply-To: <1386264255-22340-4-git-send-email-jpokorny@redhat.com> References: <1386264255-22340-4-git-send-email-jpokorny@redhat.com> Message-ID: <1386621797-6380-1-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 | 113 +++-------------------------- rgmanager/src/resources/resources.rng.tail | 93 ++++++++++++++++++++++++ 2 files changed, 102 insertions(+), 104 deletions(-) diff --git a/rgmanager/src/resources/ra2rng.xsl b/rgmanager/src/resources/ra2rng.xsl index 8d22c60..d781dbe 100644 --- a/rgmanager/src/resources/ra2rng.xsl +++ b/rgmanager/src/resources/ra2rng.xsl @@ -13,105 +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].*|) - - - - - - - - - @@ -470,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..752b7af 100644 --- a/rgmanager/src/resources/resources.rng.tail +++ b/rgmanager/src/resources/resources.rng.tail @@ -4,6 +4,95 @@ + + + + + \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