Hi there,

   I would like to compile the Xalan-C1_1 release with the new GCC3.0 
(released this monday). Before I spent much time to fix some compile 
errors, I would like to know whether there will be a new xalan release this 
month.

   First I found a bad casting in PlatformSupport/AttrListImpl.cpp:174:

// Add the item...
tempVector.push_back(
                getNewEntry(
                        theEntry->m_Name.begin(),
                        theEntry->m_Type.begin(),
                        theEntry->m_Value.begin()));

As far as I see, there is a cast from 'vector<XMLCh>::const_iterator' to 
'XMLCh*'. Wahh. Can you rely on the std::vector being implemented as an 
array and the iterator as a pointer to the elements?

   The same thing happens in many other places (FormatterToHTML.cpp:1100, 
FormatterToHTML:1110, XalanArrayKeyMap.hpp:227,...)

   Is there a good and general way to handle this incompatibilities?

HolgeR


-- 
holger floerke                      d  o  c  t  r  o  n  i  c
email [EMAIL PROTECTED]          information publishing + retrieval
phone +49 (0) 2222 9292 90          http://www.doctronic.de
fax   +49 (0) 2222 9292 99

Reply via email to