function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
guenthmnguenthmn 

Summer 12 cs3: vf rendered as pdf fail -error "PDF generation failed. Check the page markup is valid

When I check the page rendered as html i get the following error:

 

Warning: Element type "input" should be followed by either attribute specifications, ">" or "/>" in c__applicationevaluationanswerblock at line 22.

 

I don't have a component called c__applicationevaluationanswerblock. This looks like an internal error.

 

If I complie the page again  as html it works fine.

 

Does anyone else has seen this error?

 

Thanks,

 

Matt

Best Answer chosen by Admin (Salesforce Developers) 
NeelNeel

This is issue with Summer '12 release

 

Track issue here

http://success.salesforce.com/issues_view?id=a1p30000000Rr87AAC

 

No workaround as of now.

All Answers

sdouglassdouglas

Hi Matthias,

 

This error is refering to an input field in HTML markup. It looks like it is not properly escaped and/or their is no matching close tag.

 

Here is an example of what I am refering to:

 

  • <input type="button" id="btn">

 

  • <input type="button" id="btn />
  • <input type="button" id="btn"></input>

The first markup is incorrect, the second two markups are correct. You need to close the input tag either inline (2nd bullet point) or have a matching close tag (3rd bullet point)

 

Thanks,

S

 

NeelNeel

This is issue with Summer '12 release

 

Track issue here

http://success.salesforce.com/issues_view?id=a1p30000000Rr87AAC

 

No workaround as of now.

This was selected as the best answer