I tried to parse an xml that I created. When I compile my java program that has the code for parsing an XML, I'm getting the error as,
C:\Documents and Settings\jothi\Desktop>javac DomParserExample.java Note: DomParserExample.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.
It's not an error, just a warning. The class file should have been generated anyway. The likely reason for the warning is how collection and generics are used in the code.
Thanks Ulf, yeas as you said, the class files were created. I didn't notice. By the way, why does such an error throws up?? What specific reason to it as you said above in your post??? Can you a bit elaborate on it?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35258
7
posted
0
The reasons will become clear if you work through the generics tutorial.