Illegal Characters

When I try and bind the following HTML to a pdf I get an illegal characters exception. What are the illegal characters?


<div id=“PrinterSection”><input type=“hidden” name=“printThisContent” ID=“Hidden1”><table width=“100%” border=“0” cellspacing=“0” cellpadding=“0”>

<img id=“LocalImage1” src="/images/title_company.gif" alt="" border=“0” /><IMG id=“Img1” height=“10” src="/images/spacer.gif" width=“462” name=“spacer”><tr valign=“top”><td class=“mainbody”>

<span id=“LocalLabel1”><p class=“mainbody”>ACL Services Ltd. is the leading global provider of <a href="/products/">Business Assurance Analytics to the audit and controls professions and the financial management community. Combining market-leading <a href="/products/data_analysis.aspx">data analysis software and <a href="/services/implementation.aspx">professional services expertise, ACL solutions give organizations confidence in the accuracy and integrity of the transactions underlying increasingly complex business operations and in the effectiveness of internal controls.

<p class=“mainbody”>Proven <a href="/products/">ACL technology enables financial decision-makers to assure <a href="/solutions/controls_compliance.aspx">compliance, reduce risk, <a href="/solutions/fraud_detection.aspx">detect fraud, and enhance profitability—all with a return on investment measured in weeks, not months. With ACL, organizations can achieve enterprise-wide testing and monitoring of controls through independent verification of transactional data, so they can trust their results like never before.<p class=“mainbody”>Since 1987, audit professionals have consistently recognized ACL as the market leader in computer-assistedaudit technology. Our international <a href="/customers/">customerbase includes 90 of the Fortune 100 companies and over half of the Global 500, the Big Four public accounting firms, and hundreds of national, state, and local governments. ACL <a href="/products/">software solutions are delivered in multiple languages in more than 130 countries to over 170,000 licensed users through a <a href="/partners/channels.aspx">global network of ACL offices andchannel distribution partners.

Anybody know?

Hello? Is there support on these forums? Been 3 days and I haven’t had any response at all.

Dear Marmot,
Thank you for considering Aspose.

I have test the html file and find the reason to cause this error. In the html file you given here, some characters such as ’ " ', ’ \ ’ has a prefix ’ \ ', but we don’t support it now. For examples: id=“PrinterSection” you means id=“PrinterSection” but we parse it as id=“PrinterSection”.

So backslashes are not allowed when they are merely an escape character? its a very common character in ASP.NET HTML. I will look into replacing them with blanks.

Thanks