﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	phab_field
3818	Number type problem with relative templates.	fatherbushido		"When using relative template, for example 


{{{
  <Cost>
    <BuildTime>350</BuildTime>
    <Resources>
      <stone op=""mul"">0.8</stone>
    </Resources>
  </Cost>
}}}

in mace_fortess.xml,

We get an (expected) error due to wrong number type : 


{{{
ERROR: RelaxNGValidator: Validation error: structures/mace_fortress:1: Type nonNegativeInteger doesn't allow value '799.9878'
}}}

see L157 of ps/trunk/source/simulation2/system/ParamNode.cpp 

{{{
// TODO: Support parsing of data types other than fixed; log warnings in other cases
}}}
 
attachment:reproduce.patch:ticket:3908."	defect	new	Should Have	Alpha 21	UI & Simulation				
