Closed
Bug 302628
Opened 19 years ago
Closed 19 years ago
Rendering of xhtml comments wrong in compliane mode
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 233270
People
(Reporter: jstephenson, Unassigned)
Details
Attachments
(1 file)
|
1.86 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511
Mozilla is not rendering the comment correctly near the bottom of the page. It
gets cut off at the <br /> and not at the close --> for the comment. It does the
same if I change the <br /> to <br/>.
The page validates as valid xhtml 1.0 transitional and mozilla reports being in
compliance mode when rendering.
Reproducible: Always
I'm posting the text of the page as given by view source here because I cannot
put a URL where you can see the page above. (It's on our LAN behind a firewall.)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>
Item Reports
</title>
<link title="styles" href="/report.css" rel="stylesheet" type="text/css"
media="all" />
</head>
<body>
<table width="100%" cellpadding="5" cellspacing="0" border="0">
<tr>
<td class="banner" width="100%">
<img src="/mvlc_banner.gif" alt="MVLC Banner" height="34" width="453" />
</td>
</tr>
<tr>
<td class="bannerlink">
<a href="/" class="bannerlink">reports home</a>
|
<a href="http://www.mvlc.org/" class="bannerlink">mvlc home</a>
|
<a href="http://catalog.mvlc.org/" class="bannerlink">ipac</a>
|
<a href="old_custom_report.shtml" class="bannerlink">saved report</a>
|
<a href="mailto:eapostolos@mvlc.org" class="bannerlink">contact us</a>
</td>
</tr>
<tr>
<td>
<!-- This page's content goes below here. -->
<h1>
Item Reports
</h1>
<p>These reports allow you to see your items based on specific
criteria. All of these reports include the call number, author, and
title.</p>
<blockquote>
<p><a href="weeding_new.shtml">Weeding List</a><br /> This report allows
you to select items for weeding based on specific criteria. The items
included in these reports are checked in, and these reports exclude
periodicals, reference materials, and special collections. You
first need to select your location, and the number of years that the
material has been 'inactive'. Then you may select material based
on one or more of the following criteria: collection code, itype, and
call number. This list will show you the call number,
author, title, item barcode, last circ date, and number of
checkouts. A few notes on using a call number:</p>
<p>You may truncate the call number by using the percent sign:</p>
<blockquote>
<p class="reportnames">80% will result in call numbers 80, 800, 801,
802, 803, etc.</p>
</blockquote>
<p>If you want to select a call number range you can do that as well
by using brackets:</p>
<blockquote>
<p class="reportnames">8[0-5][0-9]% will yield the call number range
800 - 859<br />80[0-6]% will yield the call number range 800 -
806</p>
</blockquote>
<p><a href="transit.shtml">Items in Transit More than Two Weeks</a><br />
This report will show you where the item was in transit from, the
call number, the author, the title, and the date the item was placed
in transit.</p>
<p><a href="lost.shtml">Lost Items Due More than 120 Days Ago</a><br />
This report will show you the call number, author, title, due date,
borrower name, borrower barcode, and borrower phone for items with a
status of lost ('l'). </p>
<p><a href="missing.shtml">Items with a Missing (na) Status</a><br />
This report will show you all of the items you have marked with the
item status (na).</p>
<p><a href="claims.shtml">Claims Returned Items Due more than 63 Days
Ago</a><br /> This report will show you the call number, author,
title, borrower name, borrower barcode, and borrower phone.</p>
<p><a href="my_items.shtml">My libraries Items with Expired Holds on
Others Libraries Hold Shelves</a><br />This Report will show you
items with expired holds that are sitting on other libraries hold
shelves.</p>
<p><a href="my_ddd.shtml">My Items with Collection Code 'DDD'
Without a 'Checked In' Status</a></p>
<p><a href="shelf_new.shtml">Shelf Lists</a><br />Use this report to
create shelf lists that can be used for shelf reading and weeding.
This report will show you the collection code, call number, title,
author, barcode, last cko date, number of times circulated and item
status. <em>Please remember when running this report to only create
narrow searches. For example, if you try to create a shelf list of
all of your 900's, the report will time out. Try to focus on a small
porton of the 900's instead, such as searching 9[0-3][0-9]%.</em></p>
<!--
<p><a href="inhouse_report.shtml">Monthly In-House Use
Report</a> (Testing Mode) -- Coming Soon<br />Many of your
materials are being used even if they never leave the library. A good
way to keep track of how often your non-circulating items are being
used is by checking them in under "in house use" each time a patron or
staff member uses them. You can then run a Monthly In-house Use
Report to see what items are being used. This can help with collection
development and weeding. This report will show you location, month,
year, collection code, description and total number of in-house
check-ins.</p>
-->
</blockquote>
<!-- This page's content goes above here. -->
</td>
</tr>
<tr>
<td class="bannerlink">
<a href="/" class="bannerlink">reports home</a>
|
<a href="/stat_report.shtml" class="bannerlink">monthly</a>
|
<a href="/coll_dev.shtml" class="bannerlink">collection development</a>
|
<a href="/item.shtml" class="bannerlink">item</a>
|
<a href="/borrower.shtml" class="bannerlink">borrower</a>
|
<a href="/media.shtml" class="bannerlink">media</a>
|
<a href="old_custom_report.shtml" class="bannerlink">saved report</a>
</td>
</tr>
<tr>
<td class="footer">
Copyright © 2005 Merrimack Valley Library Consortium
(MVLC), Inc. Page Modifed:
July 29, 2005
</td>
</tr>
</table>
</body>
</html>
Comment 1•19 years ago
|
||
http://htmlhelp.com/reference/wilbur/misc/comment.html A comment declaration starts with <!, followed by zero or more comments, followed by >. A comment starts and ends with "--", and does not contain any occurrence of "--". Your comment contains a double dash, and part of the text behind is seen. <!-- <p><a href="inhouse_report.shtml">Monthly In-House Use Report</a> (Testing Mode) -- Coming Soon<br />Many of your materials are being used even if they never leave the library.
*rolls his eyes* How nice. We're stuck with 1970's, designed by committee ridiculousness.... I removed that section from the document anyway, but it seems to me that comments should really be able to contain anything even "--". How hard is it to begin one at "<!--" and not end it until you find "-->"? I've written parsers before and that seems like it would be trivial. All well, I guess SGML (and hence, XML) is just broken as designed. http://www.w3.org/TR/2000/REC-xml-20001006#sec-comments specifies the same thing "for compatibility." Interestingly, the W3C's validator passes right over that comment and never says a word about it.
Comment 3•19 years ago
|
||
*** This bug has been marked as a duplicate of 233270 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Component: General → HTML: Parser
Product: Mozilla Application Suite → Core
Resolution: --- → DUPLICATE
Version: unspecified → Trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•