Virtual Skipper Forum Index Virtual Skipper
Virtual Skipper - Official Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The LOG update
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    Virtual Skipper Forum Index -> Main Forum
View previous topic :: View next topic  
Author Message
Hylis
| Nadeo |


Joined: 22 Oct 2003
Posts: 245

PostPosted: 30 Nov 2010 9:21    Post subject: Reply with quote

ok

maybe we can wait a little more to see if there are other troubles like this, or do you feel confident that it is the only one of this type?
Back to top
View user's profile Send private message
admiral
Amiral


Joined: 27 Oct 2003
Posts: 339
Location: Nederland

PostPosted: 30 Nov 2010 21:40    Post subject: Reply with quote

vskAC32.exe from 18.11.2010 11:19
seams to be ok sofar, I haven't done any matchraces yet
But fleetraces and team races seam to be ok. here as client and as host.
Back to top
View user's profile Send private message
euphoria
Vieux loup de mer


Joined: 06 Oct 2005
Posts: 565

PostPosted: 01 Dec 2010 17:41    Post subject: Reply with quote

Sorry Florent for always being bad news Clin d'oeil.
On the previous exe update, all was fine with regards to race mode.
On the latest update,
Fleet Race is logged as Match Race
Match Race is logged as Fleet Race
Team Race is logged as Team Race

I'm running VskAC32.exe version.

Update: Tested also Vsk5Online.exe with same results.

Harald
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Liese
Matelot


Joined: 01 Nov 2009
Posts: 136

PostPosted: 01 Dec 2010 22:02    Post subject: Reply with quote

I tested the VSK5 version.

Fleet race is logged as Match race.
Tested with 1 participant in Local Network mode.

Greets
Liese
Back to top
View user's profile Send private message Visit poster's website
Liese
Matelot


Joined: 01 Nov 2009
Posts: 136

PostPosted: 02 Dec 2010 22:23    Post subject: Reply with quote

Now I can confirm Haralds post for VSK5:

Sailed Teamrace = Logged as Teamrace
Sailed Matchrace = Logged Fleetrace
Back to top
View user's profile Send private message Visit poster's website
Hylis
| Nadeo |


Joined: 22 Oct 2003
Posts: 245

PostPosted: 07 Dec 2010 12:59    Post subject: Reply with quote

ok, I have waited a little to see if there is no another problem in the log file, in order to avoid to make another version just after the race type update.

so, I will trigger the build of the new exes soon.

thanks for the feedbacks.
Back to top
View user's profile Send private message
Alinoa
Moderator


Joined: 10 Apr 2007
Posts: 409

PostPosted: 07 Dec 2010 15:39    Post subject: Reply with quote

These issues have been fixed and the log file edited Sourire
Thanks again for your information Clin d'oeil
Back to top
View user's profile Send private message Send e-mail
Lazy
mousse


Joined: 05 Jun 2009
Posts: 15

PostPosted: 24 Jan 2011 14:57    Post subject: Re: The LOG update Reply with quote

Hylis wrote:
Hello,
We finally did it! We improved the log information at the end of the race.

Description of the new XML log file :
- The root tag is named <race>
<results> tag contains one <player> tag block for each player involved in the race.


This is NOT logical!

As it is now the FILE-name is "Result_(Date_time).xml", the root name (inside) is "Race" and the child-tag to race is named "Results" = Result->Race->Results

I believe this is more logical: Result_(Date_time).xml -> Results -> Race, where Race is a Child to results, else is better to rename file to "Race_(Date_time).xml". = Race.xml->Race->Results

/Lazy.se
Back to top
View user's profile Send private message Send e-mail
Lazy
mousse


Joined: 05 Jun 2009
Posts: 15

PostPosted: 25 Jan 2011 18:06    Post subject: Re: The LOG update BIG WARNING! Reply with quote

Hylis wrote:
Hello,
We finally did it! We improved the log information at the end of the race.
Thank you for your patience,
Nadeo


BIG WARNING!
XML + free letter in nickname is not compatible!
HERE IS AN EXAMPLE FROM A RESULT FILE (from line53):

<player><rank>23</rank><login>blomqvist</login><nickname>Blom $F00<KKND Team></nickname><time>DNF</time></player>

Try to import that... Clin d'oeil

The nickname includet his: <KKND Team> : who will resolve in a xml-error.

TO NADEO -> You must filtering all the nicknames ast the standard says - from these forbidden letters! Here is the adress http://www.javacommerce.com/displaypage.jsp?name=saxparser3.sql&id=18232 so RTFM please!

.


Last edited by Lazy on 26 Jan 2011 10:02; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
andynz
Moderator


Joined: 10 Nov 2005
Posts: 1063
Location: http://www.vys.co.nz

PostPosted: 25 Jan 2011 21:05    Post subject: Re: The LOG update BIG WARNING! Reply with quote

Lazy wrote:
TO NADEO -> You must filtering all the nicknames - from these two letters: <>


dont be Lazy.... just edit the file yourself before you import it.
Back to top
View user's profile Send private message Visit poster's website
Lazy
mousse


Joined: 05 Jun 2009
Posts: 15

PostPosted: 25 Jan 2011 21:51    Post subject: Re: The LOG update BIG WARNING! Reply with quote

andynz wrote:


dont be Lazy.... just edit the file yourself before you import it.

Funny - nice idea - when coming from the problem creator...

RTFM - here is the adress: http://www.javacommerce.com/displaypage.jsp?name=saxparser3.sql&id=18232

Its neccesary to filtering 5 letters - not alound in xml - with esc-code or ascii code - as the standard say it should be done!

P.S
Its not "one"problem - its a major multi file problem - and its coming from Nadeo -> lets see whats going to happens when all the problems "showing up" - I don't think the owner of xml-error problems will send any thanks giving to the "creator"...

To use a program with xml tag-system standard and and not follow the standard so it will be "open" tag inside - doesn't look as a good idea 2 me!

The xml-standard engine will report an error - so what is it useful 4 - nothing! Even Nadeo should read and follow the standard they use - else no meaning to use it - because the value is zero!
.
Back to top
View user's profile Send private message Send e-mail
CANKnot
Moderator


Joined: 09 Nov 2005
Posts: 1321

PostPosted: 26 Jan 2011 22:23    Post subject: Reply with quote

I'm with Lazy on this... having to manually fix mal-formed XML makes it impossible to automatically process results files. There is no benefit in using a file format that is almost XML.

Shame on Florent for letting that bug slip through... failing to escape the contents of text nodes is a rookie XML mistake... I should know, I make it all the time Tr?s content
_________________
In theory there is no difference between theory and practice, but in practice there is.
Back to top
View user's profile Send private message
Lazy
mousse


Joined: 05 Jun 2009
Posts: 15

PostPosted: 26 Jan 2011 23:08    Post subject: Reply with quote

CANKnot wrote:
I'm with Lazy on this... having to manually fix mal-formed XML makes it impossible to automatically process results files. There is no benefit in using a file format that is almost XML.

Shame on Florent for letting that bug slip through... failing to escape the contents of text nodes is a rookie XML mistake... I should know, I make it all the time Tr?s content


I have 3 solutions on this already, solving the problem when reading the "corrupt" files.

But however, it seem to me that Nadeo needs help, here is the solution on HOW the tags should have been for the nickname:
<nickname><![CDATA[Blom $F00<KKND Team>]]></nickname>

I strongly recomend CDATA for all the nicknames - who MUST be placed in the xml-file!

Its "out of standard" to set "fix and trix" to solve the problem in the XSLT document.

PS I suggest Nadeo send me an X-tra login account - for my tender boat - as a thank you 4 the knowles.
Back to top
View user's profile Send private message Send e-mail
diades
Matelot


Joined: 22 Dec 2008
Posts: 130
Location: Scotland

PostPosted: 27 Jan 2011 13:01    Post subject: Reply with quote

I think that it should be born in mind that the xml used is probably more than adequate for Nadeo's purposes and that they gave us acess to the file(s) at our request. It is not file that was intended for publication and, therefore, did not require any further correction or changes, it did its job.
_________________
Cheers,

Keith

Web Development help form WebXpertz
Back to top
View user's profile Send private message
Lazy
mousse


Joined: 05 Jun 2009
Posts: 15

PostPosted: 27 Jan 2011 13:33    Post subject: Reply with quote

diades wrote:
I think that it should be born in mind that the xml used is probably more than adequate for Nadeo's purposes and that they gave us acess to the file(s) at our request. It is not file that was intended for publication and, therefore, did not require any further correction or changes, it did its job.


That will makes difference, I didn't know the relations of "external" creation!

In that case - why not use .csv - its easier with no complex engine creating problem.
Set all info used in the xml, on each line in a fixed order, and keep the first 4 posts as it is now - in same order (rank, time, login, nickname) . The file will bee approximately the same in size! a csv is easier to handle.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Virtual Skipper Forum Index -> Main Forum All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4, 5  Next
Page 3 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Anti Bot Question MOD - phpBB MOD against Spam Bots
Blocked registrations / posts: 251722 / 0