In this case you usually have two choices: a) use loadGrammar to load and cache the schema using your char* as source, and then force validation on and turn on 'use cached grammars' before parsing your XML or b) use setExternalNoNomespaceSchemaLocation to point to a non-existent path and use an EntityResolver to trap the attempt to load that file in order to provide the char* to the parser.

Alberto

evangeline ha scritto:
Hi...

How can I pass the whole already read schema (char *) to X function, instead
of passing the filename to setExternalNoNamespaceSchemaLocation(filename)... So what I want to know is the name of X function I can use.
Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to