On Sunday 26 July 2009 00:21:55 Anthony Bryan wrote:
> thanks for the help & info, Eran.
>
> yes, please guys, I'm at the point where I'm going loopy re-reading
> this thing :)
>
> please review, esp the relax ng schema. I think there are some problems
> there...
>
Hi,
I think the order of the elements of metalink:file and metalink:files should
be changed.
First the required elements and then the optional. All elements that exist for
both could be grouped or at least have the same order, that would make
implementing it easier imo as one could have one class for these similar
elements.
metalinkFiles =
element metalink:files {
metalinkCommonAttributes,
(metalinkFile+
& metalinkCopyright?
& metalinkDescription?
& metalinkIdentity?
& metalinkLanguage?
& metalinkLicense?
& metalinkLogo?
& metalinkOS?
& metalinkPublisher?
& metalinkVersion?
& extensionElement*)
}
metalinkFile =
element metalink:file {
metalinkCommonAttributes,
attribute name { text },
(metalinkResources
& metalinkCopyright?
& metalinkDescription?
& metalinkIdentity?
& metalinkLanguage?
& metalinkLicense?
& metalinkLogo?
& metalinkOS?
& metalinkPublisher?
& metalinkVersion?
& metalinkSize?
& metalinkVerification?
& extensionElement*)
}
Cheers
matthias
PS.: I could also provide a patch if you want one, though I haven't checked
out the source yet.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Metalink Discussion" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/metalink-discussion?hl=en
-~----------~----~----~----~------~----~------~--~---