Author: jkupec Date: Wed Feb 27 19:07:18 2008 New Revision: 8939 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8939&view=rev Log: - patch update added Modified: trunk/zypper/src/output/xmlout.rnc Modified: trunk/zypper/src/output/xmlout.rnc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/output/xmlout.rnc?rev=8939&r1=8938&r2=8939&view=diff ============================================================================== --- trunk/zypper/src/output/xmlout.rnc (original) +++ trunk/zypper/src/output/xmlout.rnc Wed Feb 27 19:07:18 2008 @@ -62,18 +62,37 @@ update-status-element = element update-status { attribute version {xsd:string}, - element update-list { - element update { - attribute name { xsd:string }, - attribute edition { xsd:string }, - attribute kind { xsd:string }, - element summary { text }, - element description { text }, - element license { text }, - element source { # repository - attribute url { xsd:anyURI }, - attribute alias { xsd:string } - } - }* + element update-list { ( patch-update | other-update)* } + } + +other-update = + element update { + attribute name { xsd:string }, + attribute edition { xsd:string }, + attribute kind { xsd:string }, # package, pattern, product + element summary { text }, + element description { text }, + element license { text }, + element source { # repository + attribute url { xsd:anyURI }, + attribute alias { xsd:string } + } + } + +patch-update = + element update { + attribute name { xsd:string }, + attribute edition { xsd:string }, + attribute kind { "patch" }, + attribute category { xsd:string }?, # patch category (security, recommended, ...) + attribute pkgmanager { xsd:boolean }, # affect package management? + attribute restart { xsd:boolean }, # needs restart of the machine? + attribute interactive { xsd:boolean },# needs user interaction? + element summary { text }, + element description { text }, + element license { text }, + element source { # repository + attribute url { xsd:anyURI }, + attribute alias { xsd:string } } } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org