From: Jan Kupec Date: Wed, 27 Feb 2008 17:44:09 +0000 (+0000) Subject: - update status added X-Git-Tag: BASE-SuSE-Linux-11_0-Branch~386 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ad0181400e60f2fff86084deea669c9e87c1d21;p=platform%2Fupstream%2Fzypper.git - update status added --- diff --git a/src/output/xmlout.rnc b/src/output/xmlout.rnc index ce740ed..0717192 100644 --- a/src/output/xmlout.rnc +++ b/src/output/xmlout.rnc @@ -11,18 +11,17 @@ start = stream-element stream-element = element stream { - ( progress-elements | download-progress-elements | message-element | prompt-element | - update-element )+ + ( progress-elements* | download-progress-elements* | message-element* | prompt-element* | + update-status-element* )+ } progress-elements = ( progress-element | progress-done ) -# todo - restrict and specialize progress by type progress-element = element progress { attribute id { xsd:string }, attribute name { xsd:string }, - attribute value { xsd:integer }? + attribute value { xsd:integer }? # missing value means an 'is alive' notification } progress-done = @@ -60,5 +59,21 @@ prompt-element = text } -update-element = - element update { empty } +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 } + } + }* + } + }