Alberto Massari <[EMAIL PROTECTED]> writes: > Register an entity resolver handler to intercept the "load schema" > request, and provide a MemBufInputSource with your buffer. See the > Redirect sample for an example on how to do it.
Or, you could pre-load the schema using loadGrammar (you can pass the MemBufInputSource to it). You may still want to provide your own entity resolver that intercepts any attempts to load any other schemas, though. Boris -- Boris Kolpackov, Code Synthesis Tools Open source XML data binding for C++: http://codesynthesis.com/products/xsd Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde
