Merrick Stemen wrote:
>Bill,
>
>What version of Water/SteamXML are you running? From your code, it
>looks like it should give you the output you expect.
>
>A second thing to watch for is that Water has undergone some changes
>since the Water book was published. Not all of the examples produce
>output identical to the book.
>
>The integer cast you are attempting in your first post doesn't
>appear to be working--as you pointed out. I even tried turning
>Options/Type Checking to Error in the IDE, and it still had no
>problem with the obvious "string" data. A programmer would not
>generally attempt such an obvious casting conflict, but the fact
>that an obvious one works leaves room to suspect that much more
>subtle errors could creep in unawares.
>
><set some_thing=<thing x="5"=integer/> />
>some_thing.x._parent._name
>==> string
>
>_Merrick
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
Merrick
Thanks for your reply.
I'm using a trial version that I downloaded on Aug 29 2005.
Product name: Steam XML IDE
Water version: 4.0 beta-10 Professional Edition - Trial
Java VM version: 1.5.0_04-b05
I understand that the book is a little out of date, but get worried when
the simple
stuff doesn't work.
Perhaps I should request another version? It seems odd that they would send
a beta version for a trial run.
Thanks again
Bill