I know how to get schema from resources, but I wonder if it is possible to load three schemas as (input streams):
MemBufInputSource * is = new MemBufInputSource((const unsigned char *const)hRes, dwFileLength, "abc"); parser->loadGrammar(*is, Grammar::SchemaGrammarType, true); and to disable Xerces from going to the Internet and downloading them? Thank you, Milan > -----Original Message----- > From: Milan Tomic [mailto:[EMAIL PROTECTED] > Sent: Saturday, August 13, 2005 11:03 AM > To: [email protected] > Subject: RE: Schema validation (Grammar) > > > > > You only have to load the first. The fact that it imports the others > > means that they will be loaded. > > Imported schemas are located on the web. Because I need my > app to work offline too, I would like to load imported > schemas from resources. Is it possible? > > Thank you, > Milan > > > --------------------------------------------------------------------- > 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]
