have got a problem that I am not able to solve by myself, so I hoped that someone here in this forum can give me some advice...
The problem is following:
There is a class that is derived from XML ContentHandler and reacts to the various startElement/endElements events.
Since I need to know the encoding of the XML file that is beeing parsed I tried to override
processingInstruction() in order to get the encoding string:
- Code: Select all
(void processingInstruction(const XMLString& target, const XMLString& dat))
But the problem is that this method never gets called ?!
Do I have forgotten/overseen something ?
Probably I have to set a flag or something else in order to make this work?
thanks and regards,