<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/xmltk/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/xmltk/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/xmltk/bugs/</id><updated>2007-06-29T14:38:41Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Unable to build xmltk1.11 with gcc4.1 on Fedora Core 5 Linux</title><link href="https://sourceforge.net/p/xmltk/bugs/4/" rel="alternate"/><published>2007-06-29T14:38:41Z</published><updated>2007-06-29T14:38:41Z</updated><author><name>Alexey Shtykov</name><uri>https://sourceforge.net/u/ifdru/</uri></author><id>https://sourceforge.net06fb7bb87e3942dafd841034ea6083301a89bc78</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Build environment:&lt;br /&gt;
[xxx@xxx ~]$ uname -a&lt;br /&gt;
Linux xxx 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 i686 i386 GNU/Linux&lt;br /&gt;
[xxx@xxx ~]$ gcc --version&lt;br /&gt;
gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)&lt;br /&gt;
Copyright (C) 2006 Free Software Foundation, Inc.&lt;br /&gt;
This is free software; see the source for copying conditions.  There is NO&lt;br /&gt;
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&lt;br /&gt;
[xxx@xxx ~]$ flex --version&lt;br /&gt;
flex version 2.5.4&lt;br /&gt;
[xxx@xxx ~]$ bison --version&lt;br /&gt;
bison (GNU Bison) 2.1&lt;/p&gt;
&lt;p&gt;Error(s):&lt;br /&gt;
xxx/include/../xpathDFA/XPath.h:74: error: extra qualification ‘PString::’&lt;br /&gt;
on member ‘operator new’&lt;br /&gt;
xxx/include/../xpathDFA/XPath.h:75: error: extra qualification ‘PString::’&lt;br /&gt;
on member ‘operator delete’&lt;/p&gt;
&lt;p&gt;First possible solution:&lt;br /&gt;
change rows 74-75 in file xpathDFA/XPath.h from:&lt;br /&gt;
void * PString::operator new(size_t s);&lt;br /&gt;
void PString::operator delete(void * p);&lt;br /&gt;
to:&lt;br /&gt;
void * /*PString::*/operator new(size_t s);&lt;br /&gt;
void /*PString::*/operator delete(void * p);&lt;br /&gt;
Good solution:&lt;br /&gt;
#ifdef&lt;br /&gt;
void * PString::operator new(size_t s);&lt;br /&gt;
void PString::operator delete(void * p);&lt;br /&gt;
#else&lt;br /&gt;
void * operator new(size_t s);&lt;br /&gt;
void operator delete(void * p);&lt;br /&gt;
#endif&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GCC 3.3 static_cast errors</title><link href="https://sourceforge.net/p/xmltk/bugs/3/" rel="alternate"/><published>2003-10-18T14:13:26Z</published><updated>2003-10-18T14:13:26Z</updated><author><name>Andrew Gilmartin</name><uri>https://sourceforge.net/u/andrewgilmartin/</uri></author><id>https://sourceforge.netd18b043fd47eb0d3f2e635400844bb6ed85b5baa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When building with GCC 3.3 there are several instances &lt;br /&gt;
of static_cast errors in the files&lt;/p&gt;
&lt;p&gt;xnest/xnest.cpp&lt;br /&gt;
xpair/xpair.cpp&lt;br /&gt;
xtail/main.cpp&lt;/p&gt;
&lt;p&gt;In all cases the error is with the statement&lt;/p&gt;
&lt;p&gt;_Assign(&amp;amp;amp;static_cast&amp;amp;lt;IUnknownCL*&amp;amp;gt;(m_pchOut), &lt;br /&gt;
m_pchCur)&lt;/p&gt;
&lt;p&gt;The workaround I implemented was to change the &lt;br /&gt;
statement to&lt;/p&gt;
&lt;p&gt;_Assign(&amp;amp;amp;m_pchOut, m_pchCur)&lt;/p&gt;
&lt;p&gt;and change the _Assign() function's signature from&lt;/p&gt;
&lt;p&gt;inline void _Assign(IUnknownCL **ppunk, IUnknownCL &lt;br /&gt;
*punk)&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;inline void _Assign(ITSAXContentHandler **ppunk, &lt;br /&gt;
ITSAXContentHandler *punk)&lt;/p&gt;
&lt;p&gt;That is, the static cast was unnecessary everywhere it &lt;br /&gt;
was used.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>xagg's bug</title><link href="https://sourceforge.net/p/xmltk/bugs/2/" rel="alternate"/><published>2002-10-22T11:57:41Z</published><updated>2002-10-22T11:57:41Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netdb54aa0fbf63834826fa158c6b6ead8194d719bf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The xagg has a bug when we specify more than two &amp;amp;quot;-&lt;br /&gt;
a&amp;amp;quot; aggregation targets. The first aggregation results is &lt;br /&gt;
good, but the second is wrong answer.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>how to deal with known bug?</title><link href="https://sourceforge.net/p/xmltk/bugs/1/" rel="alternate"/><published>2002-08-21T19:13:26Z</published><updated>2002-08-21T19:13:26Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netd75bbe571a3a7d0ad199747396fab484808e7b06</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;On the website &lt;a href="http://www.cs.washington.edu/homes/suciu/XMLTK/download.html" rel="nofollow"&gt;http://www.cs.washington.edu/homes/suciu/XMLTK/download.html&lt;/a&gt;,&lt;br /&gt;
a bug in the XPath Parser is reported.&lt;/p&gt;
&lt;p&gt;What's the best way to deal with it? Does that mean one can't specify &lt;br /&gt;
any precedence if an XPath expression contains both &amp;amp;quot;//&amp;amp;quot; and a position&lt;br /&gt;
predicate simultaneously?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>