OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xri message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: XRI Resolution working draft 9 sec 3.2.5


WD9 in section 3.2.5 (Construction of the Next Service Endpoint URI) 
states that:
"For the selected Service element, select the highest priority URI 
element that contains an HTTP or HTTPS URI (depending on the desired 
transport protocol.)"

This would be an expensive query, because you would first have to go 
through -all- of the <URI> elements in the relevant Service section, 
determine which ones match the desired scheme (http or https) by 
examining the text node in each element, and then go back through the 
URI elements that match the desired scheme to determine which has the 
highest priority.

I'd propose therefore that for processing efficiency the <URI> element 
also have a xrid:scheme attribute, thus making it possible to select 
the URIs matching the desired scheme before comparing their priority 
attributes.

=vg



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]