Duplicating XML tree

2014-06-16 Thread Mark Schonewille
Hi, I have an XML tree in memory, loaded with revXMLCreateTreeFromFile. Now I want to make a copy of the tree. I could load it from file again, but it seems more logical to me to duplicate the existing tree, something like revXMLCopyTree, but that function doesn't seem to exist. Is there a

Re: Duplicating XML tree

2014-06-16 Thread Martin Koob
I think you can do it this way. put revXMLtext(tTreeID) into tXMLdata put revXMLCreateTree(tXMLdata,false,true,false) into tTreeIDCopy Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Duplicating-XML-tree-tp4680494p4680495.html Sent from the

Re: Duplicating XML tree

2014-06-16 Thread Mark Schonewille
Hi Martin, I was hoping to copy the tree directly. I thought of your solution and I could also load the tree from file twice in this particular case, but I'd rather copy an existing tree directly if possible. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software

numberFormat question

2014-06-16 Thread dfepstein
I am trying to set the numberFormat so that calculation is precise enough for the situation.  Since I don't know ahead of time how many decimal places will be used, I wrote a function that I hoped would adjust things as necessary. But when this function is called with parameters m = 1.09131

Diagnosing server error 400

2014-06-16 Thread J. Landman Gay
I need help figuring out why AWS is returning an error 400 bad request in a limited number of cases. We have a test group of some dozens of people and only 2 have the problem. What I know: The data sent to the server is the same for everyone, and is correctly formatted. I have logs of that

Re: numberFormat question

2014-06-16 Thread Mark Schonewille
David, The numberformat doesn't affect precision. It only affects output as is shown by on mouseUp set the numberformat to 00 put 0.01*1 into x set the numberformat to 00.00 put x*1 end mouseUp It even only affects the current handler and doesn't affect precision in calling

Re: numberFormat question

2014-06-16 Thread J. Landman Gay
On 6/16/2014, 1:13 PM, dfepst...@comcast.net wrote: I am trying to set the numberFormat so that calculation is precise enough for the situation. Since I don't know ahead of time how many decimal places will be used, I wrote a function that I hoped would adjust things as necessary. But when

Re: numberFormat question

2014-06-16 Thread Bob Sneidar
Also, if you don’t care about display, just set the *precision* to LC max. Numberformat is as others have posted, really a display function. After you are done, set the numberFormat back to default or “0”. I bit myself in the butt because I had a counter that I was using to append a number to a

Re: Diagnosing server error 400

2014-06-16 Thread Shawn Blc
Are you using sessions? On Mon, Jun 16, 2014 at 2:25 PM, J. Landman Gay jac...@hyperactivesw.com wrote: I need help figuring out why AWS is returning an error 400 bad request in a limited number of cases. We have a test group of some dozens of people and only 2 have the problem. What I

Re: Diagnosing server error 400

2014-06-16 Thread As_Simon
Hi Jacque, AWS does have logs, you have to set them up for each bucket. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Diagnosing-server-error-400-tp4680498p4680503.html Sent from the Revolution - User mailing list archive at Nabble.com.

Re: Diagnosing server error 400

2014-06-16 Thread As_Simon
Sorry that was a cop-out. I'm using CloudBerry Explorer for Amazon. Right click on the bucket Logging Logging Settings or Cloudfront logging settings. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Diagnosing-server-error-400-tp4680498p4680504.html Sent

Re: numberFormat question

2014-06-16 Thread Kay C Lan
On Tue, Jun 17, 2014 at 4:34 AM, J. Landman Gay jac...@hyperactivesw.com wrote: set the numberformat to 0.## -- add more if you want I think the reason David isn't doing that, and is trying to limit the number of # to the absolute minimum is because of this note in the Dictionary:

Re: Diagnosing server error 400

2014-06-16 Thread J. Landman Gay
On 6/16/2014, 6:21 PM, As_Simon wrote: Sorry that was a cop-out. I'm using CloudBerry Explorer for Amazon. Right click on the bucket Logging Logging Settings or Cloudfront logging settings. I'm in the dark about what's going on over at the server side, but on my end, I'm just doing a GET to

Re: Diagnosing server error 400

2014-06-16 Thread J. Landman Gay
On 6/16/2014, 10:28 PM, J. Landman Gay wrote: I'm just doing a GET to a URL. There is an SQS queue (I'm not sure what that is actually,) which is being processed server-side. I think we need to know what's happening before my request hits the queue. I should expand that a little bit. The

Re: Diagnosing server error 400

2014-06-16 Thread Trevor DeVore
On Mon, Jun 16, 2014 at 3:25 PM, J. Landman Gay jac...@hyperactivesw.com wrote: I need help figuring out why AWS is returning an error 400 bad request in a limited number of cases. We have a test group of some dozens of people and only 2 have the problem. I think that some XML should be sent

Re: Diagnosing server error 400

2014-06-16 Thread Mark Wieder
Jacque- Monday, June 16, 2014, 8:56:40 PM, you wrote: Maybe a better question to everyone would be: can a server 400 error be related to a bad SSL certificate chain? I'd expect something more like a 401 for a security problem. The official definition of a 400 response is malformed syntax. --