We have converted our application server to use the bReuseGrammar flag and it is G R E A T! Increasing out txn processing throughput by an order of magnitude!
One catch though. We had to make sure to setValidationScheme to Val_Always instead of our previous Val_Auto. or subsequent parses would not validate! Still ran fast but caused false positives. Very happy day with Xerces :) Jim > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 13, 2001 11:57 AM > To: [EMAIL PROTECTED] > Subject: Re: "Compiled" Schemas > > > "Murphy, James" <[EMAIL PROTECTED]> writes: > > > Tinny, thanks for the replay... I'm not clear on your > statement below: > > > > > // Any grammar that is specified in anotherXmlFile is IGNORED. > > > // AND there cannot be any internal subset in > anotherXmlFile.. > > > parser.parse(anotherXmlFile, true); > > > > what do you mean by an "internal subset". > > The internal subset refers to the DOCTYPE. > > <DOCTYPE foo PUBLIC "-/foo" SYSTEM "foo.dtd [ > <!ENTITY foo_ent "bar"> > ]> > > the internal subset is the part between the [ ... ]. The external > subset is whatever lies in foo.dtd and any documents it references. > > HTH, > jas. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
