hi,

i think it is not really documented in API but XMLParserConfiguration
setFeature method is not really evaluated until setInputSource is called.

so in XMLPullParserConfiguration it is possible to have this

setInputSource(...)
setFeature(...)
parse(true/false)

and the call to setFeature will be ignored as features are evaluated
during setInputSource and it was called already... inside setInputSource
XNI calls() reset on components and they evaluate settings...

however that can not happen with just XMLParserConfiguration.as it has
only parse(XMLInputSource inputSource);

it would be handy to add call to reset() maybe inside setFeature to make
sure that settings can evaluated?

it would be also nice to expose reset() method that resets components in
XMLParserConfiguration but i am not sure if it is possible with XNI
design...

thanks,

alek



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to