From cff12ba247bb189d59b6e43ef966989c47c5ce54 Mon Sep 17 00:00:00 2001 From: Martin Vidner Date: Thu, 2 Mar 2006 14:55:22 +0000 Subject: [PATCH] properly override included definitions (there is still one error) brought rng back to sync --- zypp/parser/yum/schema/patterns.rng | 28 +---- zypp/parser/yum/schema/product.rng | 118 ++++++++----------- zypp/parser/yum/schema/rpm-ns.rng | 66 ++++++++++- zypp/parser/yum/schema/suse-primary.rnc | 4 +- zypp/parser/yum/schema/suse-primary.rng | 193 +++++++++++++++++++++++++++++--- 5 files changed, 291 insertions(+), 118 deletions(-) diff --git a/zypp/parser/yum/schema/patterns.rng b/zypp/parser/yum/schema/patterns.rng index 34b8f54..4f956d8 100644 --- a/zypp/parser/yum/schema/patterns.rng +++ b/zypp/parser/yum/schema/patterns.rng @@ -70,32 +70,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/zypp/parser/yum/schema/product.rng b/zypp/parser/yum/schema/product.rng index 5c92fd3..0834afd 100644 --- a/zypp/parser/yum/schema/product.rng +++ b/zypp/parser/yum/schema/product.rng @@ -1,29 +1,6 @@ - - - - package - patch - script - message - product - - - - - - - - - - - - - - - @@ -55,96 +32,95 @@ - - - - - - - - - - - + + + + + + + + + + + + + + - - - + - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - 1 - 0 - - - - - + + + + + + 1 + 0 + + + + + + + - - - + - - - + - - - + - - - + diff --git a/zypp/parser/yum/schema/rpm-ns.rng b/zypp/parser/yum/schema/rpm-ns.rng index 67ebc28..dfe843f 100644 --- a/zypp/parser/yum/schema/rpm-ns.rng +++ b/zypp/parser/yum/schema/rpm-ns.rng @@ -79,11 +79,6 @@ - - - - - @@ -93,6 +88,17 @@ + + + + package + patch + script + message + product + + + @@ -126,6 +132,28 @@ + + + + + + + + + + + + + + + + + + + + + + @@ -281,4 +309,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/zypp/parser/yum/schema/suse-primary.rnc b/zypp/parser/yum/schema/suse-primary.rnc index 8234bc2..75e1988 100644 --- a/zypp/parser/yum/schema/suse-primary.rnc +++ b/zypp/parser/yum/schema/suse-primary.rnc @@ -3,8 +3,7 @@ namespace suse = "http://novell.com/package/metadata/suse/common" namespace ns1 = "http://linux.duke.edu/metadata/common" namespace ns2 = "http://linux.duke.edu/metadata/rpm" -include "primary.rnc" -include "rpm-ns.rnc" +include "primary.rnc" { element-format = element ns1:format { suse-format } @@ -27,6 +26,7 @@ include "rpm-ns.rnc" ( element suse:obsoletes { suse-obsoletes } | element ns2:obsoletes { obsoletes } ) dependencies = suse-dependencies +} element-capability = element ns1:capability { diff --git a/zypp/parser/yum/schema/suse-primary.rng b/zypp/parser/yum/schema/suse-primary.rng index d3663e7..58e094b 100644 --- a/zypp/parser/yum/schema/suse-primary.rng +++ b/zypp/parser/yum/schema/suse-primary.rng @@ -1,12 +1,110 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -33,6 +131,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -90,20 +259,18 @@ - - - + + + + + + + + - - - - - - - - + -- 2.7.4