Re: DTD caching problems

2004-12-03 Thread David Cargill
2004 12:58 cc PM Subject Re: DTD caching problems Please

Re: DTD caching problems

2004-12-03 Thread Alberto Massari
xerces-c-dev To: [EMAIL PROTECTED] cc: (bcc: David N Bertoni/Cambridge/IBM) Subject: Re: DTD caching problems Hi David, At 12.05 03/12/2004 -0500, David Cargill wrote: >Hi Alberto, >Looks like we are both working on the same problem. I have a differe

Re: DTD caching problems

2004-12-03 Thread david_n_bertoni
ond to xerces-c-dev To: [EMAIL PROTECTED] cc: (bcc: David N Bertoni/Cambridge/IBM) Subject: Re: DTD caching problems Hi David, At 12.05 03/12/2004 -0500, David Cargill wrote: >Hi Alberto, >Looks like we are both working on the same problem. I have a

Re: DTD caching problems

2004-12-03 Thread David Cargill
;[EMAIL PROTECTED] > 12/03/2004 11:51 cc > AM > Subject >Re: DTD caching problems > Please respond to >xerces-c-dev > > > > > >

Re: DTD caching problems

2004-12-03 Thread Alberto Massari
ubject Re: DTD caching problems Please respond to xerces-c-dev Hi Daniel, I have looked at the testcase you submitted, and I found two things: 1) the exception you get when using cached grammars and the DGXMLScanner is caused by GrammarRe

Re: DTD caching problems

2004-12-03 Thread David Cargill
11:51 cc AM Subject Re: DTD caching problems Please resp

Re: DTD caching problems

2004-12-03 Thread Alberto Massari
Hi Daniel, I have looked at the testcase you submitted, and I found two things: 1) the exception you get when using cached grammars and the DGXMLScanner is caused by GrammarResolver::orphanGrammar; to fix it, apply this diff diff -u -r1.29 GrammarResolver.cpp --- GrammarResolver.cpp 29 Sep 2004 1

Re: DTD caching problems

2004-12-02 Thread Daniel McLean
I've put together a demo based on one of the sample programs shipped with Xerces. The demo creates a Xerces GrammarPoolImpl then conducts a number of validating XML parses using that grammar pool when caching is enabled for the parser. The test documents include an XML file referring to a DTD and

DTD caching problems

2004-12-01 Thread Daniel McLean
I am trying to set up grammar caching and have things working nicely for XML schemas but not for DTDs. I am effectively doing the following: xercesc::XMLGrammarPool* grammarPool = xercesc::XMLGrammarPoolImpl(xercesc::XMLPlatformUtils::fgMemoryManager); parser = xercesc::XMLReader