Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #26598

    Hi,
    when i try to generate a pdf using the below html code , is also displayed in the pdf.

    <html><br /> <head><br /> <title>recall</title><br /> </head><br /> <body><br /> <form action="userLogin"><br /> <table><br /> <tr><br /> <td>Hello<</td><br /> </tr><br /> </table><br /> </form><br /> </body><br /> <html>

    output in pdf:
    Hello<

    Thanks,
    Rajvinder

    #28635

    Do you find it is wrong? There is an HTML syntax error, so PD4ML does not interpret < as a tag.

    #28636

    My point is it should be uniform with browser display. I have used both IE and mozilla to test it. and both are displaying it as :-
    Hello<

    #28637

    I see your point. But I guess the HTML specification does not define what supposed to happen in the situations like that. It only explicitly requires that ‘<' content character should be defined as '<' Of course there is a common practice how to workaround invalid syntax, but you can imagine it is not realistic to predict all possible coding errors and to test them in the popular browsers. We opened a ticket for the issue, however it will take not less than one month to fix: even minor changes in JavaCC parser grammar definition cause big differences in autogenerated Java classes. That means big additional efforts to port the changes to .NET platform. As a workaround I would recommend to pre-process source HTML before it is passed to PD4ML: to substitute all occurrences of '<<' with '< <'

    #28638

    Thanks for the reply.

    Thanks,
    Rajvinder

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.