<div dir="ltr">i understand that the user should be able to write filename.<something> but what if the user wants to have a file named as filename.something.<default extension>. is such a scenario possible/plausible or am i overthinking it? because given by the current code if the filename has a dot nothing gets appended to it.<div><br></div><div>also,</div><div>it should default to .ssrf in windows as well from filename.append(".ssrf") but it is not. this is not the case in linux, in linux it defaults to .ssrf.</div><div>also in windows if you were to name the file as "abc." it will get saved as "abc.xml" on linux it will get saved as "abc.", Kindly comment. I am unable to understand which code is controlling what happens in windows. i am using the latest publicly released binary windows. please have a look at this: <a href="https://www.screenr.com/cBvN">https://www.screenr.com/cBvN</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 21, 2015 at 9:03 PM, Lubomir I. Ivanov <span dir="ltr"><<a href="mailto:neolit123@gmail.com" target="_blank">neolit123@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 21 March 2015 at 17:21, Abhinav Agarwal <<a href="mailto:aagarwal.gtr@gmail.com">aagarwal.gtr@gmail.com</a>> wrote:<br>
> two questions<br>
> 1. are we to NOT limit the user to only xml and ssrf extensions. can a user<br>
> have any extension he likes? concurrently, are we to NOT allow the user to<br>
> have a dot in his filename except the dot for extension?<br>
<br>
</span>the .ssrf and .xml are the default extensions. what Robert says is<br>
that on export we should not limit the user as he should be able to<br>
write:<br>
filename.<something> and the function should still work and not append<br>
.ssrf automatically, making it:<br>
filename.<something>.ssrf<br>
<span class=""><br>
> 2. why was it defaulting to xml in windows when no extension was specified?<br>
><br>
<br>
</span>the default format is XML based for both .ssrf and .xml (AFAIK). i can<br>
see it defaults to .ssrf, via:<br>
filename.append(".ssrf");<br>
<br>
lubomir<br>
--<br>
</blockquote></div><br></div>