From boris at codesynthesis.com Sat Jul 2 06:21:04 2016 From: boris at codesynthesis.com (Boris Kolpackov) Date: Sat Jul 2 06:25:36 2016 Subject: [xsd-users] .zip attachments are no longer accepted Message-ID: Hi, Code Synthesis mail servers (which are hosting this mailing lists) no longer accept .zip attachments. Here is the relevant fragment from the updated Subscription and Posting Guidelines[1]: 7. Preferably no attachments, strictly no .zip. If sending sample source code, test inputs, etc., unless it is fairly small (say, less than 20KB), prefer to upload the archive on the Web somewhere and put the URL into your post. If it is really small, just attach it to the email, uncompressed. Whether attaching or uploading, make sure that you do not include generated source code, object files, libraries, or executables in your archive. If you have to attach the archive to the email, use archive formats for which open-source decompression tools are widely available, such as .tar.gz, .tar.bz2, and .tar.xz. In particular, do not use .rar. While .zip also satisfies this criteria and is the only format supported by Windows out of the box, most malware these days is sent as .zip archives. As a result, our mail servers (and those of many other organizations) simply reject any mail that contains .zip attachments. So if you are only able to create a .zip archive, then you will have to upload it. [1] http://codesynthesis.com/support/posting-guidelines.xhtml Boris From Robert.Seymour at arris.com Mon Jul 18 18:18:43 2016 From: Robert.Seymour at arris.com (Seymour, Robert) Date: Tue Jul 19 11:22:01 2016 Subject: [xsd-users] xs:decimal returning inf Message-ID: <9622780823C872458FCE0EA26134045F0163E780FE@SDCEXMBX1.ARRS.ARRISI.com> Hi, I have an attribute of xs:decimal type When I populate this field I am getting a response of ebVal="inf" As if it's being treated as xs:double. I was searching the mailing list and http://codesynthesis.com/pipermail/xsd-users/2011-April/003238.html indicated that the xs:decimal and xs:double are treated separately, perhaps I'm missing something? Any help would be great. Thanks, - Rob From boris at codesynthesis.com Tue Jul 19 11:56:40 2016 From: boris at codesynthesis.com (Boris Kolpackov) Date: Tue Jul 19 11:56:33 2016 Subject: [xsd-users] xs:decimal returning inf In-Reply-To: <9622780823C872458FCE0EA26134045F0163E780FE@SDCEXMBX1.ARRS.ARRISI.com> References: <9622780823C872458FCE0EA26134045F0163E780FE@SDCEXMBX1.ARRS.ARRISI.com> Message-ID: Hi Robert, Seymour, Robert writes: > > > When I populate this field I am getting a response of > > ebVal="inf" You mean you set it to infinity? If so, then what would you expect the result to be. Infinity is an invalid value for xs:decimal. And XSD does not support validation on serialization. Boris From Robert.Seymour at arris.com Wed Jul 20 11:01:05 2016 From: Robert.Seymour at arris.com (Seymour, Robert) Date: Wed Jul 20 12:38:57 2016 Subject: [xsd-users] xs:decimal returning inf In-Reply-To: References: <9622780823C872458FCE0EA26134045F0163E780FE@SDCEXMBX1.ARRS.ARRISI.com> Message-ID: <9622780823C872458FCE0EA26134045F0163E78612@SDCEXMBX1.ARRS.ARRISI.com> Hi Boris, Thanks for the quick response, yes I'm sure we are setting to infinity. I thought since it was an xs:decimal that it would never map to those types and perhaps have some bounds. I'll see how I can handle this globally for our use case to extend the decimal to do the checking. Thanks, - Rob -----Original Message----- From: Boris Kolpackov [mailto:boris@codesynthesis.com] Sent: Tuesday, July 19, 2016 8:57 AM To: Seymour, Robert Cc: xsd-users@codesynthesis.com Subject: Re: [xsd-users] xs:decimal returning inf Hi Robert, Seymour, Robert writes: > > > When I populate this field I am getting a response of > > ebVal="inf" You mean you set it to infinity? If so, then what would you expect the result to be. Infinity is an invalid value for xs:decimal. And XSD does not support validation on serialization. Boris