Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11597 - /trunk/libzypp/zypp/parser/ProductFileReader.cc
  • From: mlandres@xxxxxxxxxxxxxxxx
  • Date: Thu, 06 Nov 2008 15:28:09 -0000
  • Message-id: <20081106152809.BAF4B338DC@xxxxxxxxxxxxxxxx>
Author: mlandres
Date: Thu Nov 6 16:28:09 2008
New Revision: 11597

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11597&view=rev
Log:
fix schema

Modified:
trunk/libzypp/zypp/parser/ProductFileReader.cc

Modified: trunk/libzypp/zypp/parser/ProductFileReader.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/parser/ProductFileReader.cc?rev=11597&r1=11596&r2=11597&view=diff
==============================================================================
--- trunk/libzypp/zypp/parser/ProductFileReader.cc (original)
+++ trunk/libzypp/zypp/parser/ProductFileReader.cc Thu Nov 6 16:28:09 2008
@@ -131,20 +131,20 @@
, _pdata( pdata_r )
{
(*this)
- ("vendor", OPTIONAL, xml::parseDefAssignText(
_pdata._vendor ) )
- ("name", MANDTAORY, xml::parseDefAssignText( _pdata._name
) )
- ("version", OPTIONAL, xml::parseDefAssignText( _version ) )
- ("release", OPTIONAL, xml::parseDefAssignText( _release ) )
- ("arch", OPTIONAL, xml::parseDefAssignText( _pdata._arch
) )
- ("productline", OPTIONAL, xml::parseDefAssignText(
_pdata._productline ) )
+ ("vendor", OPTIONAL, xml::parseDefAssignText(
_pdata._vendor ) )
+ ("name", MANDTAORY, xml::parseDefAssignText(
_pdata._name ) )
+ ("version", MANDTAORY, xml::parseDefAssignText( _version ) )
+ ("release", MANDTAORY, xml::parseDefAssignText( _release ) )
+ ("arch", MANDTAORY, xml::parseDefAssignText(
_pdata._arch ) )
+ ("productline", OPTIONAL, xml::parseDefAssignText(
_pdata._productline ) )
("register", OPTIONAL)
- ("updaterepokey", OPTIONAL, xml::parseDefAssignText(
_pdata._updaterepokey ) )
+ ("updaterepokey", OPTIONAL, xml::parseDefAssignText(
_pdata._updaterepokey ) )
("upgrades", OPTIONAL)
;

(*this)["register"]
- ("target", OPTIONAL, xml::parseDefAssignText(
_pdata._registerTarget ) )
- ("release", OPTIONAL, xml::parseDefAssignText(
_pdata._registerRelease ) )
+ ("target", OPTIONAL, xml::parseDefAssignText(
_pdata._registerTarget ) )
+ ("release", OPTIONAL, xml::parseDefAssignText(
_pdata._registerRelease ) )
;

(*this)["upgrades"]
@@ -152,11 +152,11 @@
;

(*this)["upgrades"]["upgrade"]
- ("name", OPTIONAL, xml::parseDefAssignText(
_upgrade._name ) )
- ("summary", OPTIONAL, xml::parseDefAssignText(
_upgrade._summary ) )
- ("repository", OPTIONAL, xml::parseDefAssignText(
_upgrade._product ) )
- ("notify", OPTIONAL, xml::parseDefAssignText(
_upgrade._notify ) )
- ("status", OPTIONAL, xml::parseDefAssignText(
_upgrade._status ) )
+ ("name", OPTIONAL, xml::parseDefAssignText(
_upgrade._name ) )
+ ("summary", OPTIONAL, xml::parseDefAssignText(
_upgrade._summary ) )
+ ("repository", OPTIONAL, xml::parseDefAssignText(
_upgrade._product ) )
+ ("notify", OPTIONAL, xml::parseDefAssignText(
_upgrade._notify ) )
+ ("status", OPTIONAL, xml::parseDefAssignText(
_upgrade._status ) )
;

// Not a clean way to collect the END_ELEMENT calls, but

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages