Hi All.

I'm working on porting some code that compiles fine on an ICU 3.6 / Xerces 
2.7.0 / Xalan 1.10 "base" to an ICU 4.4.4 / Xerces 3.1.1 / Xalan 
1.11-daily-build-of-around-7-november base.  Unfortunately Xalan code like the 
following:
               XalanDOMString param_name = 
pElt->getAttribute(XalanDOMString("name"));
fails to compile with gcc version 4.4.something on Fedora13.

So I diffed that Xalan 1.11 tree against the Xalan 1.10 tree, found some 
differences and eventually came up with the following that does compile for the 
Xalan 1.11 bits:
               XalanNode* pnodeTwo = pElt->getAttributes()->getNamedItem( 
XalanDOMString("name") );
               XalanDOMString   param_name;
               if( pnodeTwo )
                   param_name = pnodeTwo->getNodeValue();

Is the above Xalan 1.11-using code correct, though?

Martin

________________________________
The information contained in this communication is intended solely for the use 
of the individual or entity to whom it is addressed and others authorized to 
receive it. It may contain confidential or legally privileged information. If 
you are not the intended recipient you are hereby notified that any disclosure, 
copying, distribution or taking any action in reliance on the contents of this 
information is strictly prohibited and may be unlawful. If you have received 
this communication in error, please notify us immediately by forwarding this 
email to mailad...@usoft.com and then delete it from your system.

USoft is neither liable for the proper and complete transmission of the 
information contained in this communication nor for any delay in its receipt.

Reply via email to