Possible bug in EDPro 5.0/HTML Plug-in

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
kilgore661
New Member
Posts: 7
Joined: Fri Dec 14, 2012 8:00 pm

Possible bug in EDPro 5.0/HTML Plug-in

Post by kilgore661 »

I have two HTML files that EDPro says are identical when the HTML plug-in is used. I'd like to argue that this is wrong because the first file is (afaik) a complete HTML file whereas the second is not - you can see that the second file does not have a closing </html> tag. (There was a timeout when downloading so the file is incomplete.) Is it possible the HTML plug-in is over-generous in what differences it ignores?

It seems I can't attach .html files. How can I show you the problem?
User avatar
psguru
Site Admin
Posts: 2231
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Possible bug in EDPro 5.0/HTML Plug-in

Post by psguru »

Is it possible the HTML plug-in is over-generous in what differences it ignores?
Yes it is. You can simply disable the HTML plug-in under Options | Plug-ins.
psguru
PrestoSoft
kilgore661
New Member
Posts: 7
Joined: Fri Dec 14, 2012 8:00 pm

Re: Possible bug in EDPro 5.0/HTML Plug-in

Post by kilgore661 »

I'd prefer it if the HTML plug-in was not over-generous :-)
User avatar
psguru
Site Admin
Posts: 2231
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Possible bug in EDPro 5.0/HTML Plug-in

Post by psguru »

EDPro uses Tidy as the HTML plug-in. It's a well-known tool, so perhaps you could search its forums for solutions to your problem. Perhaps a different command line switch would report this is an error (but what good would that do)?
psguru
PrestoSoft
kilgore661
New Member
Posts: 7
Joined: Fri Dec 14, 2012 8:00 pm

Re: Possible bug in EDPro 5.0/HTML Plug-in

Post by kilgore661 »

Perhaps a different HTML plug-in would prevent this situation arising in the first place.
User avatar
psguru
Site Admin
Posts: 2231
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Possible bug in EDPro 5.0/HTML Plug-in

Post by psguru »

I doubt it. After all, you are passing an invalid HTML file (no ending </html> tag), so no HTML reader can convert it correctly to a text stream unless it chooses to ignore such an error. In this case the best approach, IMO, is not to use the plug-in at all.
psguru
PrestoSoft
kilgore661
New Member
Posts: 7
Joined: Fri Dec 14, 2012 8:00 pm

Re: Possible bug in EDPro 5.0/HTML Plug-in

Post by kilgore661 »

Ah, you are quite right - I hadn't spotted the significance of the fact that one of the files was not HTML at all.

Thanks
MudGuard
Expert Member
Posts: 69
Joined: Mon Jun 07, 2004 12:42 am

Re: Possible bug in EDPro 5.0/HTML Plug-in

Post by MudGuard »

in HTML 4.01 the closing tags of many elements are optional.
html is one of these elements.
Post Reply