H
Helge Ruistuen
Hello,
I'm using SAX parser to read a string of numbers defined as XML list type.
Occasionally the 'characters' method is called twice, which means I need a
buffer to read the entire string. My problem is that whenever "the split"
(or second reading) occurs at a white space, I need to manually add a white
space (avoid two number becoming one), while for the case that the parser
start a second reading within a number, adding a white space results in an
extra (unwanted) number, ie. one number is aplit into two numbers.
Is the parser supposed to behave like this? Any suggestion for a solution to
this problem is welcomed.
Thanks and regards,
Helge
I'm using SAX parser to read a string of numbers defined as XML list type.
Occasionally the 'characters' method is called twice, which means I need a
buffer to read the entire string. My problem is that whenever "the split"
(or second reading) occurs at a white space, I need to manually add a white
space (avoid two number becoming one), while for the case that the parser
start a second reading within a number, adding a white space results in an
extra (unwanted) number, ie. one number is aplit into two numbers.
Is the parser supposed to behave like this? Any suggestion for a solution to
this problem is welcomed.
Thanks and regards,
Helge