-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Anthony Bryan wrote:
>> I just thought how clients should treat URL if priority is missing.
>> If a Metalink contains URL with priority and URL without it, should
>> client assume that URL without it have lowest priority or opposite?
>
> I'd guess lowest if it wasn't important enough to put in there. what
> do you think? we can save that for the client spec.
>
I think we should state that client should treat resources at lowest
priority if priority attribute is missing, because we need consensus
between generator and clients that client will use resources in the
order as generators expect.
I propose to add following at the end of 4.2.8.1 and 4.2.16.1:
If priority attribute is missing, clients should treat those elements
as lowest priority.
>> I also found metalink:logo and metalink:origin has metalinkUri construct
>> with parenthesis.
>>
>> metalinkOrigin =
>> element metalink:origin {
>> metalinkCommonAttributes,
>> attribute dynamic { xsd:boolean }?,
>> (metalinkUri)
>> }
>>
>> Other elements have not parenthesis.
>>
>> metalinkMetaURL =
>> element metalink:metaurl {
>> metalinkCommonAttributes,
>> attribute priority { xsd:positiveInteger {
>> maxInclusive = "999999"}}?,
>> attribute type { text },
>> attribute name { text }?,
>> metalinkUri
>> }
>>
>> I think this is not significant for validation. But should we remove
>> parenthesis?
>
> I noticed that too. I'm not sure, but looking at Atom schema
> http://tools.ietf.org/html/rfc4287#appendix-B
> it looks like it is always in paretheses.
>
>
> atomIcon = element atom:icon {
> atomCommonAttributes,
> (atomUri)
> }
>
> atomId = element atom:id {
> atomCommonAttributes,
> (atomUri)
>
>
OK, I think we can leave them untouched, because it causes no harm.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkszbYIACgkQfoQD1dZzw2Y7vgCg2bqceo+iXSduYjxly9lFyWvT
ZrkAoNArNBI2cSzF3kOsWAqT8BTy8QQU
=lrSb
-----END PGP SIGNATURE-----
--
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.