PHP Classes
elePHPant
Icontem

It incorrectly parsed a single line XML tag in the form <tag .

Recommend this page to a friend!

      Clean XML To Array  >  All threads  >  It incorrectly parsed a single line...  >  (Un) Subscribe thread alerts  
Subject:It incorrectly parsed a single line...
Summary:Package rating comment
Messages:4
Author:Ben
Date:2007-10-25 18:29:39
Update:2007-10-26 09:09:16
 

Ben rated this package as follows:

Utility: Sufficient
Consistency: Sufficient
Documentation: Sufficient
Examples: Sufficient

  1. It incorrectly parsed a single line...   Reply   Report abuse  
Ben - 2007-10-25 18:29:39
It incorrectly parsed a single line XML tag in the form <tag ... /> . It treated it as an opening tag and included the subsequent unrelated tags as if they were child-tags.

  2. Re: It incorrectly parsed a single line...   Reply   Report abuse  
Ivan Enderlin - 2007-10-25 23:18:31 - In reply to message 1 from Ben
Hey :)

If my memory is good, the problem comes from PHP that doesn't make any difference between these two syntaxes. I'm busy at time, but i'll check soon :).
Thanks for your message.

-Ivan

  3. Re: It incorrectly parsed a single line...   Reply   Report abuse  
Ben - 2007-10-25 23:43:19 - In reply to message 2 from Ivan Enderlin
I ended up using this class, seems to work ok. http://www.analysisandsolutions.com/code/phpxml.htm

  4. Re: It incorrectly parsed a single line...   Reply   Report abuse  
Ivan Enderlin - 2007-10-26 09:09:16 - In reply to message 3 from Ben
As you like :).