temp and warnings missing from Suunto

3rd party extensions (phpDivingLog, dive computer downloader,...)
jsphoto
Posts: 7
Joined: Mon Jun 08, 2009 00:55

Re: temp and warnings missing from Suunto

Post by jsphoto »

Done, how's it look?
jsphoto
Posts: 7
Joined: Mon Jun 08, 2009 00:55

Re: temp and warnings missing from Suunto

Post by jsphoto »

Done, how's it look? sorry for double posting
Last edited by jsphoto on Wed Aug 19, 2009 18:19, edited 1 time in total.
divinglog
Site Admin
Posts: 5768
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: temp and warnings missing from Suunto

Post by divinglog »

Hi Jason

I've found the problem, you can download here an update: Downloader.zip. Extract this zip file into the Diving Log program folder and replace the existing file.

@James: The reason was that the namespace seems to have changed from earlier XML versions, I'm not sure if this is intended:

Old:

Code: Select all

xmlns:suunto="http://www.DiveComputerDataMarkupLanguage.info/1.0/dcdml-suunto"
New:

Code: Select all

xmlns:suunto="DiveComputerDataMarkupLanguage.info/1.0/dcdml-suunto"
As you can see the "http://www." is missing in the new namespace URI.
James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Re: temp and warnings missing from Suunto

Post by James Connell »

You're Right! I don't know when this was changed, but it was likely when I moved the output strings from hard coded to a string table. A new version has been built and is on the website.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com
jsphoto
Posts: 7
Joined: Mon Jun 08, 2009 00:55

Re: temp and warnings missing from Suunto

Post by jsphoto »

Works, thanks!
divinglog
Site Admin
Posts: 5768
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: temp and warnings missing from Suunto

Post by divinglog »

Hi James

In the current version it seems there is still a bug in the namespace (the double "-suunto-suunto"):

Code: Select all

http://www.DiveComputerDataMarkupLanguage.info/1.0/dcdml-suunto-suunto
James Connell
Posts: 103
Joined: Fri Dec 08, 2006 05:33
Location: Alaska, USA
Contact:

Re: temp and warnings missing from Suunto

Post by James Connell »

All right Sven, I think I've got it fixed.
To Explain: I was rewriting that section to allow the base classes to be used for other computer types. The derived class would add the computer type to the namespace. In this case I put everything in the baseclass strings and Still had the derived adding the type.
JConn Inv.
Software Tools for Suunto Dive Computers
http://LiquidImagePhoto.com
divinglog
Site Admin
Posts: 5768
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: temp and warnings missing from Suunto

Post by divinglog »

Thank you for the explanation, James!
Post Reply