<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/phpxmlclasses/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/phpxmlclasses/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 12 Aug 2009 15:25:39 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/phpxmlclasses/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>error on line 99 class class_xml_check.php </title><link>https://sourceforge.net/p/phpxmlclasses/bugs/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I found an error on line 99 class class_xml_check.php properties were written wrong, instead of $this-&amp;gt;name was writing $ this-&amp;gt; $name&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 12 Aug 2009 15:25:39 -0000</pubDate><guid>https://sourceforge.net5d95d3dbdad8a73ee5cdd2b75ee9d56f4fc602ae</guid></item><item><title>qyjHEClgavasls</title><link>https://sourceforge.net/p/phpxmlclasses/bugs/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;kwlmZ7 gps34JsDl901Wp4kV&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 15 Sep 2008 22:47:26 -0000</pubDate><guid>https://sourceforge.net0315e1ee2167b0862c85d59c894da75b1cee51e3</guid></item><item><title>Error in class_xml_check.php</title><link>https://sourceforge.net/p/phpxmlclasses/bugs/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Fatal error: Cannot access empty property in&lt;br /&gt;
C:\Programme\XAMPP\xampp\htdocs\Projekte\class_xml_check\class_xml_check.php&lt;br /&gt;
on line 99&lt;/p&gt;
&lt;p&gt;Fix:&lt;/p&gt;
&lt;p&gt;Search (line 99):&lt;br /&gt;
$this-&amp;gt;$error_line = '';&lt;br /&gt;
$this-&amp;gt;$error_col = '';&lt;br /&gt;
$this-&amp;gt;$error_msg = '';&lt;br /&gt;
$this-&amp;gt;$size = 0;&lt;br /&gt;
$this-&amp;gt;$elements = 0;&lt;br /&gt;
$this-&amp;gt;$attributes = 0;&lt;br /&gt;
$this-&amp;gt;$texts = 0;&lt;br /&gt;
$this-&amp;gt;$text_size = 0; &lt;/p&gt;
&lt;p&gt;Replace:&lt;br /&gt;
$this-&amp;gt;error_line = '';&lt;br /&gt;
$this-&amp;gt;error_col = '';&lt;br /&gt;
$this-&amp;gt;error_msg = '';&lt;br /&gt;
$this-&amp;gt;size = 0;&lt;br /&gt;
$this-&amp;gt;elements = 0;&lt;br /&gt;
$this-&amp;gt;attributes = 0;&lt;br /&gt;
$this-&amp;gt;texts = 0;&lt;br /&gt;
$this-&amp;gt;text_size = 0; &lt;/p&gt;
&lt;p&gt;Worked perfectly for me&lt;/p&gt;
&lt;p&gt;PS: I used &lt;br /&gt;
class_xml_check v1.0&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hagbard Celine</dc:creator><pubDate>Thu, 27 Apr 2006 14:27:18 -0000</pubDate><guid>https://sourceforge.net3236a3f306aefc5730461f1d93e4e35421594a70</guid></item><item><title>Error under php-5.0.5</title><link>https://sourceforge.net/p/phpxmlclasses/bugs/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;After upgrading to php-5.0.5 I started getting the&lt;br /&gt;
following error. &lt;/p&gt;
&lt;p&gt;PHP Fatal error:  Cannot access empty property in&lt;br /&gt;
/usr/local/lib/php/class_xml_check.php on line 99&lt;/p&gt;
&lt;p&gt;This can be solved by changing..&lt;/p&gt;
&lt;p&gt;$this-&amp;gt;$error_line = '';&lt;br /&gt;
$this-&amp;gt;$error_col = '';&lt;br /&gt;
$this-&amp;gt;$error_msg = '';&lt;br /&gt;
$this-&amp;gt;$size = 0;&lt;br /&gt;
$this-&amp;gt;$elements = 0;&lt;br /&gt;
$this-&amp;gt;$attributes = 0;&lt;br /&gt;
$this-&amp;gt;$texts = 0;&lt;br /&gt;
$this-&amp;gt;$text_size = 0;&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;$this-&amp;gt;error_line = '';&lt;br /&gt;
$this-&amp;gt;error_col = '';&lt;br /&gt;
$this-&amp;gt;error_msg = '';&lt;br /&gt;
$this-&amp;gt;size = 0;&lt;br /&gt;
$this-&amp;gt;elements = 0;&lt;br /&gt;
$this-&amp;gt;attributes = 0;&lt;br /&gt;
$this-&amp;gt;texts = 0;&lt;br /&gt;
$this-&amp;gt;text_size = 0;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Cave</dc:creator><pubDate>Wed, 12 Apr 2006 09:26:18 -0000</pubDate><guid>https://sourceforge.net920e63dbf55321c54df241c1da2f57e2c80f2712</guid></item><item><title>syntax error in class_xml_check</title><link>https://sourceforge.net/p/phpxmlclasses/bugs/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There are a series of consecutive syntax errors that&lt;br /&gt;
cause class_xml_check to fail in PHP 5.05+ with this error:&lt;/p&gt;
&lt;p&gt;"Cannot access empty property in&lt;br /&gt;
/class_xml_check/class_xml_check.php on line 99"&lt;/p&gt;
&lt;p&gt;This code:&lt;/p&gt;
&lt;p&gt;function _init() {&lt;br /&gt;
$this-&amp;gt;error_code = '';&lt;br /&gt;
$this-&amp;gt;$error_line = '';&lt;br /&gt;
$this-&amp;gt;$error_col = '';&lt;br /&gt;
$this-&amp;gt;$error_msg = '';&lt;br /&gt;
$this-&amp;gt;$size = 0;&lt;br /&gt;
$this-&amp;gt;$elements = 0;&lt;br /&gt;
$this-&amp;gt;$attributes = 0;&lt;br /&gt;
$this-&amp;gt;$texts = 0;&lt;br /&gt;
$this-&amp;gt;$text_size = 0; &lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Should really be this:&lt;/p&gt;
&lt;p&gt;function _init() {&lt;br /&gt;
$this-&amp;gt;error_code = '';&lt;br /&gt;
$this-&amp;gt;error_line = '';&lt;br /&gt;
$this-&amp;gt;error_col = '';&lt;br /&gt;
$this-&amp;gt;error_msg = '';&lt;br /&gt;
$this-&amp;gt;size = 0;&lt;br /&gt;
$this-&amp;gt;elements = 0;&lt;br /&gt;
$this-&amp;gt;attributes = 0;&lt;br /&gt;
$this-&amp;gt;texts = 0;&lt;br /&gt;
$this-&amp;gt;text_size = 0; &lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;PHP 5.04 and earlier auto corrects this problem, but as&lt;br /&gt;
of 5.05 an error is thrown.&lt;/p&gt;
&lt;p&gt;You can reach me at mailforlindsay@gmail.com&lt;br /&gt;
Let me know if you put an updated version online&lt;br /&gt;
because i prefer using use unmodified open source code. :)&lt;/p&gt;
&lt;p&gt;Thanks for the work youve done on these classes guys,&lt;br /&gt;
they're a big help!&lt;/p&gt;
&lt;p&gt;Lindsay&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 08 Apr 2006 17:11:16 -0000</pubDate><guid>https://sourceforge.net9420f602fb54bb9e8ae507db38f388b21d8bde97</guid></item><item><title>phpxmlclasses Remote Code Execution</title><link>https://sourceforge.net/p/phpxmlclasses/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;phpxmlclasses still contains the vulnerable phpxmlrpc&lt;br /&gt;
libraries that are currently being exploited by several&lt;br /&gt;
worms. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gulftech</dc:creator><pubDate>Mon, 06 Mar 2006 13:59:35 -0000</pubDate><guid>https://sourceforge.net2842ee098f830e307b3c749f9213927e90eeb889</guid></item><item><title>class_xquery_lite</title><link>https://sourceforge.net/p/phpxmlclasses/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When I run the demo I get...&lt;/p&gt;
&lt;p&gt;dump_node(): Object has to be a DomDocument Node in &lt;br /&gt;
/home/mikemindel/scratch/class_xquery_lite/class_xquery_lite.&lt;br /&gt;
php on line 231&lt;/p&gt;
&lt;p&gt;DOMXML is compiled with my PHP 4.3x.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 20 May 2004 09:21:59 -0000</pubDate><guid>https://sourceforge.netafe85d675b1581e231322ba47e7b956793ee7f7a</guid></item><item><title>find_matching_tuples does not fully support RDQL syntax</title><link>https://sourceforge.net/p/phpxmlclasses/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is a bug I found in the find_matching_tuples&lt;br /&gt;
method of the RDQL_query class.&lt;/p&gt;
&lt;p&gt;I tried the following query:&lt;/p&gt;
&lt;p&gt;SELECT ?author&lt;br /&gt;
WHERE&lt;br /&gt;
(&amp;amp;lt;http://www.mydomain.com/mydoc.html&amp;amp;gt;,&amp;amp;lt;dc:creator&amp;amp;gt;,?author)&lt;br /&gt;
USING dc FOR &amp;amp;lt;http://purl.org/dc/elements/1.1/&amp;amp;gt;&lt;/p&gt;
&lt;p&gt;(my iterator doesn't support multiple sources yet) and&lt;br /&gt;
got an empty result set.  I traced the argments down&lt;br /&gt;
into find_matching_tuples and I found that here (lines&lt;br /&gt;
323--330ff of class_rdql.php):&lt;/p&gt;
&lt;p&gt;// Check each element, if it is &amp;amp;lt;something:foo&amp;amp;gt;&lt;br /&gt;
then replace it by the &lt;br /&gt;
// namespace&lt;br /&gt;
if($elems[0]{0}=='&amp;amp;lt;') {&lt;br /&gt;
preg_match(&amp;amp;quot;/\&amp;amp;amp;lt;([^&amp;amp;gt;]*)\&amp;amp;amp;gt;/&amp;amp;quot;,$elems[0],$reqs);&lt;br /&gt;
$elems[0]=$reqs[1];&lt;br /&gt;
$predicate_parts=explode(':',$elems[0]);&lt;/p&gt;
&lt;p&gt;$elems[0]=$ns[$predicate_parts[0]].$predicate_parts[1]; &lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;the URI &amp;amp;lt;http://www.mydomain.com/mydoc.html&amp;amp;gt; is&lt;br /&gt;
mistakenly determined to be a namespaced URI.  Since&lt;br /&gt;
there is no namespace declared for http:, this URI gets&lt;br /&gt;
replaced by &amp;amp;quot;//www.mydomain.com/mydoc.html&amp;amp;quot;.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;There is a workaround: only use namespaced URIs in the&lt;br /&gt;
WHERE clause, or use the AND clause:&lt;/p&gt;
&lt;p&gt;SELECT ?author&lt;br /&gt;
WHERE (&amp;amp;lt;me:mydoc.html&amp;amp;gt;,&amp;amp;lt;dc:creator&amp;amp;gt;,?author)&lt;br /&gt;
USING dc FOR &amp;amp;lt;http://purl.org/dc/elements/1.1/&amp;amp;gt;,&lt;br /&gt;
me for &amp;amp;lt;http://www.mydomain.com/&amp;amp;gt;&lt;/p&gt;
&lt;p&gt;*or*&lt;/p&gt;
&lt;p&gt;SELECT ?author&lt;br /&gt;
WHERE (?doc,&amp;amp;lt;dc:creator&amp;amp;gt;,?author)&lt;br /&gt;
AND ?doc==&amp;amp;quot;http://www.mydomain.com/mydoc.html&amp;amp;quot;&lt;br /&gt;
USING dc FOR &amp;amp;lt;http://purl.org/dc/elements/1.1/&amp;amp;gt;&lt;/p&gt;
&lt;p&gt;However, the original syntax should be valid, as far as&lt;br /&gt;
I can tell from reading the RDQL grammar at&lt;br /&gt;
&lt;a href="http://www.hpl.hp.com/semweb/rdql.htm" rel="nofollow"&gt;http://www.hpl.hp.com/semweb/rdql.htm&lt;/a&gt; (BTW, the link to&lt;br /&gt;
&lt;a href="http://www.hpl.hp.com/semweb/rdql.html" rel="nofollow"&gt;http://www.hpl.hp.com/semweb/rdql.html&lt;/a&gt; given in the&lt;br /&gt;
phpxmlclasses documentation is broken; perhaps this is&lt;br /&gt;
that document's correct location?).  I don't think this&lt;br /&gt;
class would parse correctly any of the four examples&lt;br /&gt;
given on that page.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matthew Leingang</dc:creator><pubDate>Thu, 19 Jun 2003 12:44:51 -0000</pubDate><guid>https://sourceforge.net8bf4851a4e1be73d920a3a6cb2f40d697616e0e5</guid></item><item><title>error in XML_check class</title><link>https://sourceforge.net/p/phpxmlclasses/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Code:&lt;br /&gt;
--- cut here ---&lt;br /&gt;
function _init() {&lt;br /&gt;
$this-&amp;amp;gt;error_code = '';&lt;br /&gt;
$this-&amp;amp;gt;$error_line = '';&lt;br /&gt;
$this-&amp;amp;gt;$error_col = '';&lt;br /&gt;
$this-&amp;amp;gt;$error_msg = '';&lt;br /&gt;
$this-&amp;amp;gt;$size = 0;&lt;br /&gt;
$this-&amp;amp;gt;$elements = 0;&lt;br /&gt;
$this-&amp;amp;gt;$attributes = 0;&lt;br /&gt;
$this-&amp;amp;gt;$texts = 0;&lt;br /&gt;
$this-&amp;amp;gt;$text_size = 0;&lt;br /&gt;
}&lt;br /&gt;
--- cut here ---&lt;/p&gt;
&lt;p&gt;should be replaced with:&lt;br /&gt;
--- cut here ---&lt;br /&gt;
function _init() {&lt;br /&gt;
$this-&amp;amp;gt;error_code = '';&lt;br /&gt;
$this-&amp;amp;gt;error_line = '';&lt;br /&gt;
$this-&amp;amp;gt;error_col = '';&lt;br /&gt;
$this-&amp;amp;gt;error_msg = '';&lt;br /&gt;
$this-&amp;amp;gt;size = 0;&lt;br /&gt;
$this-&amp;amp;gt;elements = 0;&lt;br /&gt;
$this-&amp;amp;gt;attributes = 0;&lt;br /&gt;
$this-&amp;amp;gt;texts = 0;&lt;br /&gt;
$this-&amp;amp;gt;text_size = 0;&lt;br /&gt;
}&lt;br /&gt;
--- cut here ---&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 31 May 2003 12:32:13 -0000</pubDate><guid>https://sourceforge.netb0daa7e3f3f01193ba0b1e04eae0cd93484d2eb9</guid></item><item><title>Error xml_parser_create_ns()</title><link>https://sourceforge.net/p/phpxmlclasses/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Currently, we are trying out codes given for Class_rdfql_db. However, when we try to run example.php, &lt;br /&gt;
the following error occur. &lt;br /&gt;
Fatal error: Call to undefined function: xml_parser_create_ns() in &lt;br /&gt;
c:\phpdev\www\rdql\class_rdf_parser.php on line 1528&lt;/p&gt;
&lt;p&gt;I wonder, what went wrong?&lt;/p&gt;
&lt;p&gt;laily&lt;br /&gt;
laily75@yahoo.com&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 26 Apr 2003 07:11:26 -0000</pubDate><guid>https://sourceforge.netadc72891b494e396f5873a856263f4fcd030354d</guid></item></channel></rss>