Index Server META Tag Sample Incorrect Shows Close Comment TagLast reviewed: January 20, 1998Article ID: Q170045 |
The information in this article applies to:
SYMPTOMSWhen you perform property queries based on the META tag in HTML files, and you set up the HTML file according to the sample Queryhit.htm file, the Index Server does not return an documents.
CAUSEThe Queryhit.htm sample page (located by default in wwwroot\samples\search\queryhit.htm) has an error in it that prevents the proper cataloguing of META tags. The sample page incorrectly shows the closing tag of an HTML comment as "--!>". The correct closing comment tag for an HTML document is "-->". Because the Index Server never sees an end to the comment tag, it ignores all of the text following the opening of the comment, including the tags. Consequently, this information is not indexed and will not be returned as a result of a query.
WORKAROUNDUse the proper close comment tag ( "-->"). Version : WINNT: 1.1 Platform : winnt Hardware : ALPHA x86 Issue type : kbprb Solution Type : kbworkaround |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |