--- David Sinclair <[EMAIL PROTECTED]> wrote:

> In the xforms model I make this read only - so I am just using the 
> select1 to provide the lookup from code to display string. This used to 
> work fine but now when the form is submitted the currentStatus/status 
> value becomes empty!  I can get round this by just doing the lookup in 
> xsl, but just thought you may be interested in the difference as it 
> doesnt sound like its doing the right thing by loosing the read only value.

This is bad bug. Values in the instance bound to read-only or hidden controls
are lost when the form is submitted. We will create a test case, fix the bug,
and have a point release soon that will fix this bug. Sorry about that.

> 2 - I use several calculated fields for totals.  All of the numbers I am 
> adding up are integers but yet the sum now comes out as a decimal unless 
> I explicitly cast it as an integer [...]

Here Saxon implements more closely the specification. See the link below about
the sum() function, and in particular the part that says "Any values of type
xdt:untypedAtomic in $arg are cast to xs:double" and "The sum of a sequence of
integers will therefore be an integer, while the sum of a numeric sequence that
includes at least one xs:double will be an xs:double".

Alex


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to