Malformed Title Field in TblImportObject Causes Truncated Tables

ID: Q236969


The information in this article applies to:
  • Microsoft Site Server version 3.0


SYMPTOMS

When you run Lookup HTML Titles, the HTML tag <TITLE> incorrectly appears in the Title field of TblImportObject, which causes tables to be truncated. This occurs because the opening <TITLE> tag exists without a closing </TITLE> tag.


CAUSE

The code that parses the HTML page for the title is incorrectly searching for the first occurrence of the character string "TITLE" instead of the tag <TITLE>. For example, style sheet links in the <HEAD> section of the HTML code may appear before the <TITLE> tag, as follows:


<link rel="stylesheet" type="text/css" href="http://www.microsoft.com/example/support.css" <title="support"> 
<TITLE>Welcome to our support site</TITLE> 

In this example, because the word "title" appears before the <TITLE> tag, the string "<TITLE>Welcome to our support site" is returned to the "Title" field of TblImportObject. The result is an opening <TITLE> tag without a closing </TITLE> tag, which causes the rest of the HTML code to not display, even though the source code shows that more code is present in the document.


WORKAROUND

Change the order in your HTML documents so the opening <TITLE> and closing </TITLE> tags always occur before any other occurrences of the word "title."


RESOLUTION

To resolve this problem, obtain the latest service pack for Site Server 3.0. For additional information, please see the following article in the Microsoft Knowledge Base:

Q219292 How to Obtain the Latest Site Server 3.0 Service Pack


STATUS

This problem was first corrected in Site Server 3.0 Service Pack 3.

Additional query words:

Keywords : SS3SP3Fix
Version : winnt:3.0
Platform : winnt
Issue type : kbbug


Last Reviewed: October 26, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.