Dave,
Do you work on the XercesDocumentWrapper class?
We found an issue with XercesDocumentWrapper::mapNode(const DOMElementType*
theXercesNode) function, there should be a cast otherwise it will cause
infinite recursion.
Thanks,
Qi Chen
XalanElement*
XercesDocumentWrapper::mapNode(const DOMElementType* theXercesNode) const
{
#if defined(XALAN_OLD_STYLE_CASTS)
return (XercesElementWrapper*)mapNode(theXercesNode); //!!missing
the cast here
#else
return static_cast<XercesElementWrapper*>(mapNode(theXercesNode));
//!!missing the cast here, it should be
//return
static_cast<XercesElementWrapper*>(mapNode(static_cast<const
DOMNodeType*>(theXercesNode)));
#endif
}
-----Original Message-----
From: David N Bertoni/Cambridge/IBM [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 11:29 AM
To: [EMAIL PROTECTED]
Subject: Re: Deprecated DOM interfaces
The next version of Xalan will provide support for the new Xerces DOM. You
can do a test drive by downloading the latest Xalan CVS files and building
yourself. I don't recommend you convert your application to the deprecated
DOM.
However, you should make sure you understand the performance implications
of using the Xerces DOM instead of Xalan's own source tree. For more
information, you can read the documentation, or search the Xalan lists for
previous posts. Also, you may want to join the Xalan-C users list.
Dave
Colin Paul Adams
<[EMAIL PROTECTED] To:
[EMAIL PROTECTED]
mon.co.uk> cc: (bcc: David N
Bertoni/Cambridge/IBM)
Subject: Deprecated DOM
interfaces
01/16/2003 07:37
AM
Please respond
to xerces-c-dev
I wish to call Xalan to perform a transformation on a DOMDocument, but
when I look at the Xalan (1.4) documentation, all the Xerces DOM
support stuff is using the deprecated dom interfaces (DOM_Document,
etc.), and what I have is a DOMDocument.
When I search the xerces include directories, I can find no trace of
any way of converting from the deprecated interfaces to the current
ones, or vice-versa.
Can anyone please suggest a way out of my dilemma?
--
Colin Paul Adams
Preston Lancashire
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]