public void characters( ... ) method is fired for <EMP> in windows. Where as on Unix this method is not fired.
Why this inconsustency? Work around other than changing the code?
Thanks Gemini
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
1
posted
0
Presumably the parser on Unix is "ignoring" whitespace - namely the crlf right after the EMP element. Bill
Gemini Moses
Ranch Hand
Joined: Jan 04, 2001
Posts: 244
posted
0
Your are right. But can I know why is it ignoring it in Unix and not in Windows.
This is needing me to change my code significantly!!
Your inputs are appreciated.
Thanks! Gemini
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
1
posted
0
I would guess that the parser is reading some default settings - possibly environment values, and that these are not the same in the two systems? Since you don't say anything about the Java version or where the SAX parser is coming from, thats about all I can say. Bill