> I am wasting way too much time integrating my app with the
> xerces parser. To add to my woes, I am facing compiler different
> compiler errors for different projects that use the same xerces
> code... :-) Can someone help me fix these errors the easy way ?

Was it really necessary to include an entire _unrelated_ email in your
post?

DOMNode *n // it is a valid domnode.

// the following statement fails. error is "2440: 'static_cast' :
> cannot convert from 'class xercesc_2_2::DOMNode *' to 'class
> xercesc_2_2::DOMElement *' Types pointed to are unrelated;
> conversion requires reinterpret_cast, C-style cast or function-style
> cast"
>
> DOMElement *de = static_cast<DOMElement *>(n);
>
> // this fails too, error is "C2027: use of undefined type 'DOMElement'"
> DOMElement *de = reinterpret_cast<DOMElement *>(n);

Well I think that would tell you what's wrong.  Did you include the header
file for DOMElement?

Dave


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

Reply via email to