> dear gurus
>
[quoted text clipped - 22 lines]
>
> could any one help why i m getting this error..
Please do not use txtspeak.
Where do you get the XML input? Did you create it beforehand?
You're most likely getting an error (*what* error? Please copy-and-paste it
into your post in future) because the XML document is either not valid or not
well-formed.
You ignore every exception, so of course you lack the information necessary to
debug the code. Put logging statements, or at the very, very least
System.err.println() calls (never System.out for this purpose) into your catch
blocks that tell you about the exception.

Signature
Lew
Andrew Thompson - 30 Jun 2008 14:17 GMT
...
> You're most likely getting an error (*what* error? Please copy-and-paste it
> into your post in future) ...
<http://pscode.org/javafaq.html#exact>
> You ignore every exception, so of course you lack the information necessary to
> debug the code.
<http://pscode.org/javafaq.html#stacktrace>
>..Put logging statements, or at the very, very least
> System.err.println() ...
If I call ..
System.err.println( e.getMessage() );
.. I often look at the message and immediately
think - 'I need a stacktrace of that'..
e.printStackTrace();
..aah yes, that's better. It's also shorter.
(Yes, logging is superior to either.)
--
Andrew Thompson
http://pscode.org/
Andrew Thompson - 30 Jun 2008 16:25 GMT
=2E..
> You're most likely getting an error (*what* error? =A0Please copy-and-pas=
te it
> into your post in future) ...
> You ignore every exception, so of course you lack the information necessa=
ry to
> debug the code. =A0
>..Put logging disruptions, or at the very, very least
> System.err.println() ...
If I call ..
System.publish.println( e.getMessage() );
=2E. I often look at the response and obviously
think - 'I need a stacktrace of that'..
e.printStackTrace();
=2E.aah yes, that's better. It's also shorter.
(Yes, logging is superior to either.)
--
Pamela Muldoon
http://pscode.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
'Now, we are getting very close to the truth of the matter here.
Mason Trent Lott [33rd Degree] sees fellow Mason, President
Bill Clinton, in trouble over a silly little thing like Perjury
and Obstruction of Justice.
Since Lott took this pledge to assist a fellow Mason,
"whether he be right or wrong", he is obligated to assistant
Bill Clinton. "whether he be right or wrong".
Furthermore, Bill Clinton is a powerful Illuminist witch, and has
long ago been selected to lead America into the coming
New World Order.
As we noted in the Protocols of the Learned Elders of Zion,
the Plan calls for many scandals to break forth in the previous
types of government, so much so that people are wearied to death
of it all.'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This is just a reminder.
It is not an emergency yet.
Were it actual emergency, you wouldn't be able to read this.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -