1 Reply Latest reply on Dec 16, 2008 4:31 PM by Newsgroup_User

    wierd wierd bug/behaviour

    mikeLeeds
      This is bizarre !

      I have a really simple xml file:

      <?xml version="1.0" encoding="UTF-8"?>
      <thisSet>
      <thisSetID>72157608982310539</thisSetID>
      </thisSet>

      I read this file for thisSetID with the HTTPService, i get it as a string.

      When i look the value it's 72157608982310540 (it's added 1)

      If i add an x on the end in the xml
      it gives what i'd expect: 72157608982310539x

      on further investigation:
      72157608982310531 gives 72157608982310630 ( decremented by 1 )
      72157608982310591 gives 72157608982310600 (rounded up to nearest 10)
      00000000000000539 works as expected !!

      It seems to work ok with 16 characters or less, or if i add a non-numeric character on the end.

      Can anyone enlighten me?

      Thanks
      Mike
        • 1. Re: wierd wierd bug/behaviour
          Level 7

          "mikeLeeds" <webforumsuser@macromedia.com> wrote in message
          news:gi9gpq$lc2$1@forums.macromedia.com...
          > This is bizarre !
          >
          > I have a really simple xml file:
          >
          > <?xml version="1.0" encoding="UTF-8"?>
          > <thisSet>
          > <thisSetID>72157608982310539</thisSetID>
          > </thisSet>
          >
          > I read this file for thisSetID with the HTTPService, i get it as a string.
          >
          > When i look the value it's 72157608982310540 (it's added 1)
          >
          > If i add an x on the end in the xml
          > it gives what i'd expect: 72157608982310539x
          >
          > on further investigation:
          > 72157608982310531 gives 72157608982310630 ( decremented by 1 )
          > 72157608982310591 gives 72157608982310600 (rounded up to nearest 10)
          > 00000000000000539 works as expected !!
          >
          > It seems to work ok with 16 characters or less, or if i add a non-numeric
          > character on the end.
          >
          > Can anyone enlighten me?

          Set your resultFormat to e4x