For business as well as service names the spec says: If a language markup is specified, the search results report a match only on those entries that match both the name value and language criteria. The match on language is a leftmost case-insensitive comparison of the characters supplied. This allows one to find all businesses whose name begins with an "A" and are expressed in any dialect of French, for example. Values which can be passed in the language criteria adornment MUST obey the rules governing the xml:lang data type as defined in Section 3.3.2.3 name.
So Lang matching only comes into play when specified in the search. Only when a Lang is specified on the query a name without Lang setting should be omitted. So I think we have a bug in find_services. --Kurt On Mar 13, 2013, at 6:43 PM, "Alex O'Ree" <[email protected]> wrote: > I just noticed that when running find_business with an > approximateMatch and a "%" as a search name, business with and without > a language value defined are returned. > > Find_services with the same scenario only seems to return services > with a language defined. Services without a lang are omitted from the > search results. > > The spec only talks about % applying to a few fields and lang isn't > one of them. Does anyone recall what the 'correct' behavior is?
