Hey,
Does it work if you use
InputSource * is = new LocalFileInputSource("C:\\MySchema.xsd");
instead of
InputSource * is = new MemBufInputSource(schema, schemaLen,
"MySchema");
?
If so then you may want to try to pass something like "C:\
\MySchema.xsd"
instead of "MySchema" to the MemBufInputSource c-tor.
If this does work then can you tell us? I was about to update the
documentation to say that you could not. It certainly appears from
the code that you can't as the XMLSchemaDescriptor returns null when
you ask for the grammar key.
Gareth
--
Gareth Reakes, Managing Director Embrace Mobile
+44-1865-811197 http://www.embracemobile.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]