This character – breaks magic parser. It will read up to one that contains that character, but not that nor any past it. Even using upload script on this site shows the break.
Here's a piece of xml to test it: ( The line that breaks looks like this: <job_title><![CDATA[Software Engineer –Mobile Apps]]></job_title>
)
<batch>
<job action="replace">
<job_provider>NET</job_provider>
<job_id>16146525</job_id>
<client_id></client_id>
<action_date>2008-3-9</action_date>
<job_title><![CDATA[Electrical Engineering Technician]]></job_title>
<industry><![CDATA[Engineering & Architecture]]></industry>
<industryCode>25</industryCode>
<industry2><![CDATA[Other]]></industry2>
<industryCode2>174</industryCode2>
<company><![CDATA[INRange Systems]]></company>
<job_description></job_description>
<employment_status>Contract2Perm</employment_status>
<educationLevel></educationLevel>
<wage_type></wage_type>
<salary_high>800000</salary_high>
<salary_low ></salary_low>
<country>US</country>
<state>PA</state>
<city><![CDATA[Altoona]]></city>
<zip>16601</zip>
<contact_name><![CDATA[Karen Barr]]></contact_name>
<contact_email><![CDATA[jobs@4jobs.coml]]></contact_email>
<contact_phone></contact_phone>
<contact_fax></contact_fax>
<apply_url><![CDATA[http://jobs.collegerecruiter.com/job.asp?id=16146525&aff=75028709-E179-4BC1-B241-14FC0FBFCA94]]></apply_url>
</job>
<job action="replace">
<job_provider>CollegeRecruiter</job_provider>
<job_id>16195874</job_id>
<client_id></client_id>
<action_date></action_date>
<job_title><![CDATA[Software Engineer –Mobile Apps]]></job_title>
<industry><![CDATA[Information Technology]]></industry>
<industryCode>23</industryCode>
<industry2><![CDATA[Engineering & Architecture]]></industry2>
<industryCode2>25</industryCode2>
<industry3><![CDATA[Other]]></industry3>
<industryCode3>174</industryCode3>
<company><![CDATA[Confidential Company]]></company>
<job_description></job_description>
<employment_status>Full-time</employment_status>
<educationLevel>4-Year College Degree</educationLevel>
<wage_type></wage_type>
<salary_high>800000</salary_high>
<salary_low ></salary_low>
<country>US</country>
<state>NV</state>
<city><![CDATA[Las Vegas]]></city>
<zip>89052</zip>
<contact_name><![CDATA[Celine Vignal]]></contact_name>
<contact_email></contact_email>
<contact_phone></contact_phone>
<contact_fax></contact_fax>
<apply_url></apply_url>
</job>
</batch>
Hello Ricky,
I've replied in more detail via email, but for reference; the reason the file you sent to me breaks the parse is because it contains characters that are not in your PHP installation's default character set without defining the character set within the XML.
To fix this, the XML source needs to be corrected to include the character encoding header as follows:
<?xml version="1.0" encoding="iso-8859-1" ?>
Cheers,
David.
Hello Ricky,
I was able to test your sample XML successfully using the demo script...
http://www.magicparser.com/demo?fileID=47D596223031A&record=2
However, it could be down the character being different, and possibly invalid in the character set of the feed. Could you email me the feed (or URL) that you are using and I will take a look at this for you. Reply to your reg code or forum registration email is the easiest way to get me...
Cheers,
David.