[xsd-users] Bug using INF as a default value
th.mueller at weisang.com
Mon Feb 19 05:24:39 EST 2007
I did some quick tests and everything seems to work fine now.
The INF/-INF texts are now correctly propagated into the double
Thanks for your fast support.
> -----Original Message-----
> From: Boris Kolpackov [mailto:boris at codesynthesis.com]
> Sent: Friday, February 16, 2007 11:59 AM
> To: Thomas Müller
> Cc: xsd-users at codesynthesis.com
> Subject: Re: [xsd-users] Bug using INF as a default value
> Hi Thomas,
> Thomas Müller <th.mueller at weisang.com> writes:
> > I can also send you the fix for 2.3.1 - it's just a couple
> of files
> > in libxsd.
> > This would be great.
> Here are the changes:
> Just copy the files into libxsd you've got with 2.3.1. Let me
> know if there are any problems.
> > What I meant is: When specifying type xs:double and setting the
> > default value to 'false' this might also not work. On the
> other hand
> > this was based on the C++ point of view (casting bool to double is
> > fine...) , not on the schema side. I just checked it:
> > This is no longer a valid schema definition then.
> > So please forget this...
> Right, this is not allowed in XML Schema.
More information about the xsd-users