Bug 101379

Summary: crashes when switching to VPL editor if <body> tag is missing
Product: quanta Reporter: Karol Krasowski <krask>
Component: generalAssignee: András Manţia <amantia>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Karol Krasowski 2005-03-12 18:08:36 UTC
Version:            (using KDE KDE 3.3.2)
Installed from:    Mandrake RPMs
OS:                Linux

Quanta crashes when switching from editor to VPL editor if a html file being edited has a missing <body> tag and contains any other element like list,paragraph, heading etc... e.g. 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
  <title>test</title>
  <meta name="GENERATOR" content="Quanta Plus">
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<H1>egg</H1>
</body>
</html>

When quanta is run from konsole we get:
terminate called after throwing an instance of 'DOM::DOMException'
Comment 1 András Manţia 2005-07-05 11:13:26 UTC
This is not reproducable with KDE and Quanta 3.4.1. Please upgrade and
 if you still see the problem, reopen the report.