Alberto Massari <amassari <at> datadirect.com> writes:

> 
> At 17.56 29/01/2007 +0000, Vijay S. Bajwa wrote:
> >Vijay S. Bajwa <vijay.bajwa <at> citigroup.com> writes:
> >
> > >
> > > SAXParser was working fine with when the xml conatined the attribute:
> > > xsi:noNamespaceSchemaLocation="GTS-Oasys.xsd" in it. When I took 
> > it out, and
> > > used saxParser->loadGrammar (/home/myhomedir/GTS-Oasys.xsd",
> > > Grammar::SchemaGrammarType, true) in my code it complained that 
> > it could not
> > > find the root element:  'gtsEquityTrade'
> >
> >WOuld appreciate any help on this!
> 
> Did you invoke useCachedGrammarInParse (or set the 
> fgXercesUseCachedGrammarInParse feature)?
> 
> Alberto
> 
I tried the followin 2 lines:

 saxParser->loadGrammar ("/home/vb11258/zas/GTS-Oasys/schema/GTS-Oasys.xsd",
              Grammar::SchemaGrammarType, true);
 saxParser->useCachedGrammarInParse(true);






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

Reply via email to