I'm slowly working my way through Sun's XML tutorial, and, while it's a pretty good tutorial, I'm finding some problems in the sample code, and I'm way too much of a newbie to know if I'm understanding the problems or not, so I have a question for y'all.
When I compiled the code that contained the following snippet, it wouldn't compile:
gave the following compiler errors:
If I change the code to this:
...then everything works just fine. Seems silly to ask, since it seems to be working, but what does everybody think? Is this the way to fix this bit of code?