Hello,
Is there a limit on the number of XPaths that can be created from a XPathFactory. I find that after creating a number of XPaths with code of the form: XPath* const partyPath = theXPathFactory.create(); theXPathProcessor.initXPath( *partyPath, theXPathConstructionContext, XalanDOMString( "/fpml:FpML/dswg:party"), thePrefixResolver); If I add one more such call, it throws an exception as does every other XPath creation attempt after that. Is there any way to increase the number of XPaths that can be created from a XPathFactory. Also what is the way release XPaths after they are no longer needed? I am using XPathFactoryDefault. Should I switch to XPathFactoryBlock? What is a block? Any help would be greatly appreciated. Thanks, Sanjoy Ghosh |
- Re: XPathFactory limitation Sanjoy Ghosh
- Re: XPathFactory limitation david_n_bertoni