Manchester United 3 - 0 Everton Played on October 7
Lots of errors, mainly unable to allocate points to players. The
commentary referred to Nistelrooy in various ways!
This probalby requires an editing in the players.xml file. Either the
players are missing from this file, or the BBC uses alternative names
for them.
Alternative names are added to the player entry so, for example:
{{{
<player ud="123">
<firstName type="name">Ruud</firstName>
<firstName type="initial">R.</firstName>
<surname type="main">van Nistelrooy</surname>
<surname type="alternative">Nistlerooy</surname>
<surname type="BBCMispelling">Nistleroy</surname>
...
</player>
}}}
The element with type="main" is the one used as output, however,
matches will be made on any of the elements. So "Nistleroy" would
match this entry becasue it is in the list of possible surname, but
"Nistlrooy" would not match. At present only type="main" is
meaninful, so other entries should just have a human readable
descriptive type.
Logged In: YES
user_id=88713
Also:
Newcastle 2 - 1 West Brom Played on October 5
Jason Roberts was shown as #N/A Roberts.
This means the first name is missing in the players.xml file.
Arsenal v Blackburn 26/10/02
Logged In: YES
user_id=631335
Same problem occurs with players who are only referred by
their surnames. Eg Arsenal's 'Edu' does not have a first
name and is referred to as "N/A Edu" in a recent game (ARS v
BLA 26/10/02).
Logged In: YES
user_id=88713
FIxed issues with Man Utd and West Brom players. However, the issue with
Edu is a little more complicated. Does he really have no first name?
Logged In: YES
user_id=631335
I've checked a few sites and can see no first name for Edu .
Logged In: YES
user_id=631335
I will edit the players.xml file in the near future toi see
if this can be rectified.
Logged In: YES
user_id=88713
Not sure how you intend to do this, I've tried having an empty name and
I've tried a blank name, neither work.
I think this requries a change in the XSL not players.xml. Give whatever you
think might work a try. If it fails then assign this bug to me and I'll have a
look.
Logged In: YES
user_id=631335
Edu is his first name - his full name is Eduardo Cesar Daude
Gaspar, but he is only ever referred to as Edu. The problem
can be got round temporarily by altering the players.xml file :
Cesar Daude</firstName>
<firstName type="initial"></firstName>
<surname
type="main">Gaspar</surname>
<surname
type="alternative">Edu</surname>
However, this produces the full name "Eduardo Cesar Daude
Gaspar Edu", which is not particularly pleasant, so if an
alteration to the xsl file will produce a better result, then that
would be more desirable.
Logged In: YES
user_id=631335
I have altered the name so that he is now identifiable. The
result is :
Eduardo Cesar Daude Gaspar - Edu
Obviously this is not an ideal solution, but does produce a
result which means the player is easily identifiable.
Now reassigned to rgardler in case he can produce a better
result by atering the xsl file, or if this is acceptable it can be
closed.
Logged In: YES
user_id=88713
I don't have time to experiment with this just yet so I'm passing it back
to mlever (no one wants this one!)
When we look for a match any name will be used, however, when the
name is constructing for printing the first name, or the one with
attribute type="main" is used. Therefore, (I think) it should be possible to
get a decent result with:
<player id="601">
<firstName type="main"></firstname>
<firstName type="full">Eduardo
Cesar Daude</firstName>
<firstName type="initial"></firstName>
<surname
type="main">Gaspar</surname>
<surname
type="alternative">Edu</surname>
<registeredTeam>ARS</registeredTeam>
<team>ARS</team>
<position>Midfield</position>
<cost>3.0</cost>
</player>
Might be worth a try, if it doesn't work I'd suggest dropping the priority
of this bug to the lowest one (and yes you can pass it back to me!) as
you have a perfectly workable fix and the players database system is
changing at the moment, I'll try and buid a better system into the next
version.
Logged In: YES
user_id=631335
I only passed it back to you, because you said to! I'm happy
with the result. Your alternative didn't work (produced
unidentifiable player). This is because (as in the original
problem) the <firstName type="main"> tag is empty. My
solultion actually put his whole name (plus the -) in the
firstName tag. I have altered it back to how I had done it
before.