I'm excited to get a peek at the beta... hopefully that queue isn't too long.. I've been wandering when FM was going to update things...
For my own education, I'm writing a metalink parser/generator in PHP. I'm going to make a database of metalinks for all the packages in the Fedora YUM repository as a test, and I've run into a couple things...
I can see that you've put some work into the XML vocabulary, but it seems ill-suited for efficient parsing. I have two specific elements in mind:
<verification> and <resources>
In the verification element, you use <md5> as a sub-element. I assume this is because you plan to have multiple verification methods, for example, let's add an SHA1 option:
This means that a parser must look for 2 different element names, even though the element is the same thing - a hash type and key.
A more efficient method might be something like this:
With this, a parser can very simply parse all the verificiation options with a simple loop for each <hash /> element.
Same thing for <resources>, where you use the protocol name as the element, such as <magnet>.
Again, it would be more efficient to do something like:
Just a couple thoughts....