case STATE_LOCATION:
str = find_attr("href", atts);
if (str)
- repodata_set_location(pd->data, handle, 0, 0, str);
+ {
+ repodata_set_location(pd->data, handle, 0, 0, str);
+ str = find_attr("xml:base", atts);
+ if (str)
+ repodata_set_poolstr(pd->data, handle, SOLVABLE_MEDIABASE, str);
+ }
break;
case STATE_CHECKSUM:
str = find_attr("type", atts);
KNOWNID(PUBKEY_FINGERPRINT, "pubkey:fingerprint"),
KNOWNID(PUBKEY_EXPIRES, "pubkey:expires"),
KNOWNID(PUBKEY_SIGNATURES, "pubkey:signatures"),
+KNOWNID(SOLVABLE_MEDIABASE, "solvable:mediabase"), /* <location xml:base=... > */
KNOWNID(ID_NUM_INTERNAL, 0)