remove lot of duplicated code. The design of the format is not ideal but
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Fri, 17 Mar 2006 10:38:32 +0000 (10:38 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Fri, 17 Mar 2006 10:38:32 +0000 (10:38 +0000)
commitea4c6334c432b29bfaee55fd984ce56d5faa4ea1
tree10a59e39fc45a662a6632f967044b9ae4bb71dd1
parent5b38eb9ace0c04d9be2ff6fec01d890d296d0da7
remove lot of duplicated code. The design of the format is not ideal but
is a bit late to change. So I prefer to iterate once per inheritance
level to find corresponding tags, slower, but not really noticiable.
Also remove warnings about unknowwn tags found because
3 different functions now parse the same dom looking
for different tags. The validation is done via relaxng anyway.

So now, only 1 function parsing dependencies, and 1 looking for
resolvable common data.
zypp/parser/xmlstore/XMLParserData.cc
zypp/parser/xmlstore/XMLParserData.h
zypp/parser/xmlstore/XMLPatchParser.cc
zypp/parser/xmlstore/XMLPatternParser.cc
zypp/parser/xmlstore/XMLProductParser.cc
zypp/parser/xmlstore/XMLResObjectParser.cc
zypp/parser/xmlstore/XMLResObjectParser.h
zypp/target/store/XMLFilesBackend.cc