Hello Xerces-C developers.

I am writing a CORBA wrapper around the DOM APIs (especially
Load-Save), as I wanted a schema-validating parser that I could call
from Eiffel (or indeed any other language I might want to use). I have
a number of questions about where the Xerces interfaces differ from
the W3C IDL.

Firstly, DOMImplementationLS and DOMImplementation are not defined in
the IDL as inheriting from each other. It seems reasonable to me that
DOMImplementationLS might inherit from DOMImplementation, but you have
done it the other way round. Might I know the thinking behind this
decision?

Secondly, the IDL specifies the parseURI method as not raising any
exceptions, but you have defined it as possibly raising DOMException,
SAXException or XMLException. This seems an odd decision to me, as
surely the parse should just report parse errors by passing DOMError
to the errorHandler?

I am well aware that these interfaces are liable to change (as indeed
will the W3C IDL specifications), but it will help me to know what
your thinking is on this.
-- 
Colin Paul Adams
Preston Lancashire

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to