Andrea009 wrote:
David Bertoni wrote:
...
This is a bit of long story but shortened here goes. We used to use
Xerces2.6 and the developers in their wisdom decided to add in additional
functionality and calls when they couldnt do what they wanted to. At that
time they were not experienced cpp programmers and didnt even know how to
cast pointers. Well, I have upgraded to Xerces3.0 and reworked their code so
that the Xerces base is pristine and will remain that way! The original
code went something like:
...
The SAX2XMLReaderImpl gives access to various structures, but the grammar
resolver seems to have been left out. Im not sure if this an omission or it
has been done on purpose. ideally I need:
inline GrammarResolver* SAX2XMLReaderImpl::getGrammarResolver() const
{
return fGrammerResolver ;
}
If that's what you need, perhaps you should just build a modified
version of the library with that accessor function added.
Is there another way to get access to the grammar resolver via different
methods or is the above function call really missing. If it is missing can
we get it added for future versions ?
You should probably create a feature request in Jira, if that's what you
want.
Dave