M
Markos Charatzas
Hello all,
I'm using digester to parse a dynamically generated xml document.
The problem is that some text content contains some *illegal* characters
that cause digester to complain (e.g. '&').
I'm not sure whether or not there is some sort of setting so as to make
digester ignore such characters, or another workaround.
Since the xml file is generated dynamically and from many different
sources, I need to encode each of these texts prior to feeding them to
digester, and also once the digester is done parsing I also need to go
through every object and decode the text back again which leads to
all sorts of problems.
E.g.
Every time a new text is introduced which is involved in the xml file
generation it needs to be encoded.
An interface needs to be provided for all of the objects generated so as
to decode each of their details back.
Any help much appreciated.
Thanks in advance,
Markos Charatzas
I'm using digester to parse a dynamically generated xml document.
The problem is that some text content contains some *illegal* characters
that cause digester to complain (e.g. '&').
I'm not sure whether or not there is some sort of setting so as to make
digester ignore such characters, or another workaround.
Since the xml file is generated dynamically and from many different
sources, I need to encode each of these texts prior to feeding them to
digester, and also once the digester is done parsing I also need to go
through every object and decode the text back again which leads to
all sorts of problems.
E.g.
Every time a new text is introduced which is involved in the xml file
generation it needs to be encoded.
An interface needs to be provided for all of the objects generated so as
to decode each of their details back.
Any help much appreciated.
Thanks in advance,
Markos Charatzas