<div dir="ltr">Hello fellas.<div><br></div><div>I stumbled into annoying problem. When I deserializing my XML, I am getting integers as Perl integers, while anything what&#39;s sloppy_floats became strings. (And yes I have that enabled)</div><div>To patch that i just altered sloppy_float type translation in </div><div>XML::Compile::Schema::BuiltInTypes</div><div>like this</div><div><div>295 $builtin_types{sloppy_float} =    </div><div>296  {</div><div>297     parse =&gt; sub { $_[0] + 0.0 },</div><div>298     check =&gt; sub {</div><div>299       my $v = eval {use warnings FATAL =&gt; &#39;all&#39;; $_[0] + 0.0};</div><div>300       $@ ? undef : 1;</div><div>301     }</div><div>302  , example =&gt; &#39;3.1415&#39;</div><div>303  , extends =&gt; &#39;anyAtomicType&#39;</div><div>304  };</div><div><br></div><div>look at 297 line. </div><div><br></div><div>And it&#39;s works. Any chance it&#39;s getting patched in mainstream?</div><div><br></div>-- <br><div class="gmail_signature"><div>Pavel S. Khmelinsky &lt;<a href="mailto:hmepas@gmail.com" target="_blank">hmepas@gmail.com</a>&gt;</div><div>Jabber: <a href="mailto:hmepas@gmail.com" target="_blank">hmepas@gmail.com</a></div><div>Skype: hmepas</div></div>
</div></div>