> -----Original Message----- > From: Boris Kolpackov [mailto:[EMAIL PROTECTED] > > The XML Schema spec says that the schemaLocation is only a > hind to the parser about where the schema might be. The > schema file can also be provided by other means (e.g., by > calling loadGrammar). As a result, Xercec-C++ issues a > warning when included/imported schemas are not found. You can > see it if you override handleWarning in ErrorHandler. > Umm, I have an error handler derived from DOMErrorHandler and looking at it I see no handleWarning function to override. Is there a different class I was supported to be deriving from for my error handler ?
> You can also provide your own entity resolver which can make > this an error. > > > > 2) Lack of elements. The schemas I have inherited tend to > be defined > <Snip> > I just tested your example and I get an error saying that > referenced element is not found. Can you make sure you set > the error handler before calling loadGrammar? If this does > not help, can you provide a small test case that illustrates > the problem? > I am working on a test case I can post up, but I made my DOM parser creater strait from the sample you posted a few weeks ago. > Boris > > -- > Boris Kolpackov > Code Synthesis Tools CC > http://www.codesynthesis.com > Open-Source, Cross-Platform C++ XML Data Binding >
