• Welcome to the new forum! We upgraded our forum software with a host of new boards, capabilities and features. It is also more secure.
    Jump in and join the conversation! You can learn more about the upgrade and new features here.

Problem when importing BeerXML recipes

fram

Apprentice
Joined
Dec 18, 2006
Messages
16
Reaction score
0
Location
Belgium
Hello,

When I import beerXML recipes, there is a problem with the volumes.

In the file:
<BATCH_SIZE>70.00000000</BATCH_SIZE>
<BOIL_SIZE>83.24000000</BOIL_SIZE>

When imported:
Batch Size: 7000000000,00 L
Boil Volume: 8324000000,00 L


Does anyone have the same problem?
Here is a file that give me the problem: http://www.brassageamateur.com/forum/download/file.php?id=394


 
Everything came across fine for me when I did an import and opened it directly from the website. Here is the .BSM file for "Brads" "Burton Ale". You can download all the recipes here http://www.beersmith.com/recipes.htm

Cheers
Preston
 

Attachments

  • recipes.bsm
    14.1 KB · Views: 263
Hi,
  Check your "international" settings under windows.  BeerSmith recognizes both "," and "." as decimals depending on what Windows has set as the default.  It should be accessible from your windows control panel.

Brad
 
UselessBrewing said:
Everything came across fine for me when I did an import and opened it directly from the website. Here is the .BSM file for "Brads" "Burton Ale". You can download all the recipes here http://www.beersmith.com/recipes.htm

Cheers
Preston

Thank's for the answer, but the problem only appears with "BeerXML" files. The import is correct when using ".bsm" files.

BeerSmith said:
Hi,
  Check your "international" settings under windows.  BeerSmith recognizes both "," and "." as decimals depending on what Windows has set as the default.  It should be accessible from your windows control panel.

Brad

Brad,
My system is an XP Pro with regional settings set to "French (Belgium)". Decimal is ",".

 
I did some test. The problem appears when regional settings is set to  "," as decimal separator.

If I export and import a recipes, the problem also appears.
The XML file is saved with a "." as decimal separator but when reading, the point is not interpreted as a decimal point.

As the problem only appears when trying to import "BeerXML" files, I presume this is a problem with the XML engine?
 
fram,
  Yes, I believe I used the same number handling routines throughout so it does make sense to me that this could occur.  I guess I need to go back and change the XML import to always use the decimal system.

Brad
 
I'm planning to correct this in the next release - sorry for the delay.

Brad
 
Back
Top