Closed Bug 169450 Opened 22 years ago Closed 22 years ago

view-source: displayed content != actual content

Categories

(Core Graveyard :: View Source, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 63137

People

(Reporter: sebastian+bugzilla, Assigned: doronr)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020615 Debian/1.0.0-3

A web page is displayed incorrectly in the browser. When opening view-source,
parts of the html-source are missing. The ill-displayed code corresponds to the
actually shown page in the normal view mode, however, it is different from the
actual file content on disk. If I use "Save as", the correct content will be
saved to disk.

Reproducible: Always

Steps to Reproduce:
1. Load file shown in "Expected Results" in Browser
2. View-Source


Actual Results:  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//DE">
<html>
<head>
<title>Bedingte Wahrscheinlichkeiten, Satz von Bayes</title>
<script LANGUAGE="JavaScript">
<!----------------------------------------------------------------
	if (window.parent.name == "") {
		window.parent.name = "cliXX";
	}	
	var versionBrowser = 0 ;
	if (navigator.appVersion) {
		versionBrowser = parseInt(navigator.appVersion) ;
	}	
	var nurOnClick = false ;
	if (versionBrowser >= 3) { 
		nurOnClick = true; 
	}
	var typSystem = "unknown";
	if (navigator.appVersion) {
		if (navigator.appVersion.indexOf("Win") != -1) {
			typSystem = "Win";
		} else if (navigator.appVersion.indexOf("X11") != -1) {
			typSystem = "X11"; 
		} else if (navigator.appVersion.indexOf("Mac") != -1) {
			typSystem = "Mac"; 
		}
	}
	var typBrowser = "unknown";
	if (navigator.appName) {
		if (navigator.appName.indexOf("Net") != -1) { 
			typBrowser = "Netscape" ;
		} else if (navigator.appName.indexOf("Micro") != -1) {
			typBrowser = "IE" ;
		}
	}
//--------------------------------------------------------------->
</SCRIPT>
<script LANGUAGE="JavaScript">
<!----------------------------------------------------------------
	function neuesFenster(URL,NAME )	{
		window.open(URL,NAME,'status=yes,resizable=yes,scrollbars=yes,'+
		                     'location=no,toolbar=no,menubar=no') ;
		if ( (typBrowser == "Netscape") && (versionBrowser == 2) && (typSystem != "Win") ) {
			window.open(URL,NAME,'status=yes,resizable=yes,scrollbars=yes,'+
			                     'location=no,toolbar=no,menubar=no') ;
		}
	}
//--------------------------------------------------------------->
</SCRIPT>
<script LANGUAGE="JavaScript">
<!----------------------------------------------------------------
	function pruefeNachschlagen () {	
		if (window.parent.name == "Nachschlagen") { 
			document.write('<P ALIGN=center><A HREF="javascript:window.parent.close();" ' + 
			               'onMouseOver="window.status=\'Fenster schlie&szlig;en\'; return
true;"' + 
			               'onMouseOut="window.status=window.defaultStatus;">' + 
			               '<IMG SRC="../icons/kopfleis.gif" ' +
			               'WIDTH=477, HEIGHT=22, BORDER=0 ALT=\"Fenster schlie&szlig;en\"
ALIGN=center></A>') ;
		} 
	}
//--------------------------------------------------------------->
</SCRIPT>
<meta NAME="description" CONTENT="Bedingte Wahrscheinlichkeiten, Satz von Bayes">
<meta NAME="keywords" CONTENT="kap_16">
<meta NAME="resource-type" CONTENT="document">
<meta NAME="distribution" CONTENT="global">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<link REL="STYLESHEET" HREF="kap_16.css">

<link REL="previous" HREF="node11.htm"
onMouseOver="window.status='H&#228;ufigkeiten und Wahrscheinlichkeiten';return
true;" onMouseOut="window.status=window.defaultStatus;">
<link REL="up" HREF="node7.htm" onMouseOver="window.status='Ereignisse,
H&#228;ufigkeiten und Wahrscheinlichkeiten';return true;"
onMouseOut="window.status=window.defaultStatus;">
<link REL="next" HREF="node17.htm" onMouseOver="window.status='Bedingte
Wahrscheinlichkeit';return true;" onMouseOut="window.status=window.defaultStatus;">
</head>
<body BGCOLOR="#F7FFEF" LINK="#1320A5" VLINK="#633586"
onLoad="window.defaultStatus='DeskTop Bronstein';">
<font FACE="HELVETICA, ARIAL">
<!---------------------------------->
<SCRIPT LANGUAGE="JavaScript">
<!---------------------------------------
pruefeNachschlagen();
//-------------------------------------->
</SCRIPT>
<!------- Beginn der Seite: Kopfleiste -------------------------->
<P>
<TABLE WIDTH="95%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR ALIGN=LEFT VALIGN=BOTTOM>
<TD NOWRAP>
	<A HREF="node15.htm" onMouseOver="window.status='Beispiele f&#252;r
Wahrscheinlichkeiten';return true;"
onMouseOut="window.status=window.defaultStatus;"><IMG WIDTH="70" HEIGHT="60"
ALIGN="BOTTOM" BORDER="0" ALT="Beispiele f&#252;r Wahrscheinlichkeiten"
SRC="../icons/prev.gif"></A>
	<A HREF="node17.htm" onMouseOver="window.status='Bedingte
Wahrscheinlichkeit';return true;"
onMouseOut="window.status=window.defaultStatus;"><IMG WIDTH="70" HEIGHT="60"
ALIGN="BOTTOM" BORDER="0" ALT="Bedingte Wahrscheinlichkeit"
SRC="../icons/next.gif"></A>
</TD>
<TD NOWRAP>
	<A HREF="node7.htm" onMouseOver="window.status='Ereignisse, H&#228;ufigkeiten und
Wahrscheinlichkeiten';return true;"
onMouseOut="window.status=window.defaultStatus;"><IMG WIDTH="70" HEIGHT="60"
ALIGN="BOTTOM" BORDER="0" ALT="Ereignisse, H&#228;ufigkeiten und
Wahrscheinlichkeiten" SRC="../icons/up.gif"></A>
	<A HREF="kap_16.htm" onMouseOver="window.status='16: Wahrscheinlichkeitsrechnung
und Mathematische Statistik';return true;"
onMouseOut="window.status=window.defaultStatus;"><IMG WIDTH="70" HEIGHT="60"
ALIGN="BOTTOM" BORDER="0" ALT="16: Wahrscheinlichkeitsrechnung und Mathematische
Statistik" SRC="../icons/home.gif"></A>
	<A HREF="../sonder/inhalt.htm"
onMouseOver="window.status='Hauptinhaltsverzeichnis DeskTop Bronstein';return
true;" onMouseOut="window.status=window.defaultStatus;"><IMG WIDTH="70"
HEIGHT="60" ALIGN="BOTTOM" BORDER="0" ALT="Hauptinhaltsverzeichnis"
SRC="../icons/cont.gif"></A>
	<A HREF="../sonder/index.htm" onMouseOver="window.status='Stichwortverzeichnis
DeskTop Bronstein';return true;"
onMouseOut="window.status=window.defaultStatus;"><IMG WIDTH="70" HEIGHT="60"
ALIGN="BOTTOM" BORDER="0" ALT="Stichwortverzeichnis" SRC="../icons/index.gif"></A>
</TD>
<TD ALIGN=RIGHT NOWRAP>
	<A HREF="../hilfe/h.htm" onMouseOver="window.status='DeskTop-Hilfen:
&#220;bersicht';return true;" onMouseOut="window.status=window.defaultStatus;"
onClick="neuesFenster('../hilfe/h.htm','Nachschlagen'); if(nurOnClick) {return
false;};" TARGET="Nachschlagen"><IMG WIDTH="70"HEIGHT="70" ALIGN="BOTTOM"
BORDER="0" ALT="Hilfeseiten" SRC="../icons/hilfe.gif"></A>
</TD>
<TD WIDTH="40">
	<A NAME="Navigationsleiste"></A>
	<A NAME="tex2html213"></A>
	<A NAME="tex2html223"></A>
	<A NAME="tex2html219"></A>
</TD>
</TR>
</TABLE>
</P>
<!------- Ende Kopfleiste --------------------------------------->
<H3><A NAME="SECTION001521300000000000000"></A>
<A NAME="1362"></A>
<BR>
Bedingte Wahrscheinlichkeiten, Satz von Bayes
</H3>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"></A>
<UL>
<LI><A NAME="tex2html225" HREF="node17.htm" onMouseOver="window.status='Bedingte
Wahrscheinlichkeit';return true;"
onMouseOut="window.status=window.defaultStatus;">Bedingte Wahrscheinlichkeit</A>
<LI><A NAME="tex2html226" HREF="node18.htm"
onMouseOver="window.status='Unabh&#228;ngige Ereignisse';return true;"
onMouseOut="window.status=window.defaultStatus;">Unabh&#228;ngige Ereignisse</A>
<LI><A NAME="tex2html227" HREF="node19.htm"
onMouseOver="window.status='Ereignisse in einem vollst&#228;ndigen
Ereignissystem';return true;"
onMouseOut="window.status=window.defaultStatus;">Ereignisse in einem
vollst&#228;ndigen Ereignissystem</A>
<LI><A NAME="tex2html228" HREF="node20.htm" onMouseOver="window.status='Beispiel
f&#252;r Ereignisse in einem vollst&#228;ndigen Ereignissystem';return true;"
onMouseOut="window.status=window.defaultStatus;">Beispiel f&#252;r Ereignisse in
einem vollst&#228;ndigen Ereignissystem</A>
</UL>
<!--End of Table of Child-Links-->
<!------- Start Fussleiste ----------------->
<p>
<table WIDTH="95%" BORDER=0 CELLSPACING=0 CELLPADDING=0>
<tr ALIGN=LEFT VALIGN=BOTTOM>
<td WIDTH="100" NOWRAP>
	<a HREF="node15.htm" onMouseOver="window.status='Beispiele f&#252;r
Wahrscheinlichkeiten';return true;"
onMouseOut="window.status=window.defaultStatus;"><img BORDER="0" ALIGN="BOTTOM"
WIDTH="30" HEIGHT="25" ALT="Beispiele f&#252;r Wahrscheinlichkeiten"
SRC="../icons/f_prev.gif"></a>
	<a HREF="node17.htm" onMouseOver="window.status='Bedingte
Wahrscheinlichkeit';return true;"
onMouseOut="window.status=window.defaultStatus;"><img BORDER="0" ALIGN="BOTTOM"
WIDTH="30" HEIGHT="25" ALT="Bedingte Wahrscheinlichkeit"
SRC="../icons/f_next.gif"></a>
</td>
<td NOWRAP>

	<a HREF="javascript:neuesFenster('../sonder/finder.htm','Nachschlagen');"
onMouseOver="window.status='Schnellreferenz DeskTop Bronstein';return true;"
onMouseOut="window.status=window.defaultStatus;"><img BORDER=0 ALT=""
ALIGN=BOTTOM WIDTH="104" HEIGHT="27" SRC="../icons/f_tab.gif"></a>
</td>
<td WIDTH="40">&#160;</td>
<td ALIGN=RIGHT NOWRAP>
	<a HREF="javascript:neuesFenster('../info/i_ueber.htm','Nachschlagen');"
onMouseOver="window.status='Infoseiten';return true;"
onMouseOut="window.status=window.defaultStatus;"><img BORDER=0 ALT=""
ALIGN=BOTTOM WIDTH="60" HEIGHT="25" SRC="../icons/f_hades.gif"></a>
</td>
<td WIDTH="40">&#160;</td>
</tr>
</table>
</p>
------- Ende Fussleiste ----------------->
</font>
</body>
</html>

Expected Results:  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//DE">
<HTML>
<HEAD>
<TITLE>Bedingte Wahrscheinlichkeiten, Satz von Bayes</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!----------------------------------------------------------------
	if (window.parent.name == "") {
		window.parent.name = "cliXX";
	}	
	var versionBrowser = 0 ;
	if (navigator.appVersion) {
		versionBrowser = parseInt(navigator.appVersion) ;
	}	
	var nurOnClick = false ;
	if (versionBrowser >= 3) { 
		nurOnClick = true; 
	}
	var typSystem = "unknown";
	if (navigator.appVersion) {
		if (navigator.appVersion.indexOf("Win") != -1) {
			typSystem = "Win";
		} else if (navigator.appVersion.indexOf("X11") != -1) {
			typSystem = "X11"; 
		} else if (navigator.appVersion.indexOf("Mac") != -1) {
			typSystem = "Mac"; 
		}
	}
	var typBrowser = "unknown";
	if (navigator.appName) {
		if (navigator.appName.indexOf("Net") != -1) { 
			typBrowser = "Netscape" ;
		} else if (navigator.appName.indexOf("Micro") != -1) {
			typBrowser = "IE" ;
		}
	}
//--------------------------------------------------------------->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!----------------------------------------------------------------
	function neuesFenster(URL,NAME )	{
		window.open(URL,NAME,'status=yes,resizable=yes,scrollbars=yes,'+
		                     'location=no,toolbar=no,menubar=no') ;
		if ( (typBrowser == "Netscape") && (versionBrowser == 2) && (typSystem != "Win") ) {
			window.open(URL,NAME,'status=yes,resizable=yes,scrollbars=yes,'+
			                     'location=no,toolbar=no,menubar=no') ;
		}
	}
//--------------------------------------------------------------->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!----------------------------------------------------------------
	function pruefeNachschlagen () {	
		if (window.parent.name == "Nachschlagen") { 
			document.write('<P ALIGN=center><A HREF="javascript:window.parent.close();" ' + 
			               'onMouseOver="window.status=\'Fenster schlie&szlig;en\'; return
true;"' + 
			               'onMouseOut="window.status=window.defaultStatus;">' + 
			               '<IMG SRC="../icons/kopfleis.gif" ' +
			               'WIDTH=477, HEIGHT=22, BORDER=0 ALT=\"Fenster schlie&szlig;en\"
ALIGN=center></A>') ;
		} 
	}
//--------------------------------------------------------------->
</SCRIPT>
<META NAME="description" CONTENT="Bedingte Wahrscheinlichkeiten, Satz von Bayes">
<META NAME="keywords" CONTENT="kap_16">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<LINK REL="STYLESHEET" HREF="kap_16.css">
<LINK REL="previous" HREF="node11.htm"
onMouseOver="window.status='H&#228;ufigkeiten und Wahrscheinlichkeiten';return
true;" onMouseOut="window.status=window.defaultStatus;">
<LINK REL="up" HREF="node7.htm" onMouseOver="window.status='Ereignisse,
H&#228;ufigkeiten und Wahrscheinlichkeiten';return true;"
onMouseOut="window.status=window.defaultStatus;">
<LINK REL="next" HREF="node17.htm" onMouseOver="window.status='Bedingte
Wahrscheinlichkeit';return true;" onMouseOut="window.status=window.defaultStatus;">
</HEAD>
<BODY BGCOLOR="#F7FFEF" LINK="#1320A5" VLINK="#633586"
onLoad="window.defaultStatus='DeskTop Bronstein';">
<FONT FACE="HELVETICA, ARIAL">
<!---------------------------------->
<SCRIPT LANGUAGE="JavaScript">
<!---------------------------------------
pruefeNachschlagen();
//-------------------------------------->
</SCRIPT>
<!------- Beginn der Seite: Kopfleiste -------------------------->
<P>
<TABLE WIDTH="95%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR ALIGN=LEFT VALIGN=BOTTOM>
<TD NOWRAP>
	<A HREF="node15.htm" onMouseOver="window.status='Beispiele f&#252;r
Wahrscheinlichkeiten';return true;"
onMouseOut="window.status=window.defaultStatus;"><IMG WIDTH="70" HEIGHT="60"
ALIGN="BOTTOM" BORDER="0" ALT="Beispiele f&#252;r Wahrscheinlichkeiten"
SRC="../icons/prev.gif"></A>
	<A HREF="node17.htm" onMouseOver="window.status='Bedingte
Wahrscheinlichkeit';return true;"
onMouseOut="window.status=window.defaultStatus;"><IMG WIDTH="70" HEIGHT="60"
ALIGN="BOTTOM" BORDER="0" ALT="Bedingte Wahrscheinlichkeit"
SRC="../icons/next.gif"></A>
</TD>
<TD NOWRAP>
	<A HREF="node7.htm" onMouseOver="window.status='Ereignisse, H&#228;ufigkeiten und
Wahrscheinlichkeiten';return true;"
onMouseOut="window.status=window.defaultStatus;"><IMG WIDTH="70" HEIGHT="60"
ALIGN="BOTTOM" BORDER="0" ALT="Ereignisse, H&#228;ufigkeiten und
Wahrscheinlichkeiten" SRC="../icons/up.gif"></A>
	<A HREF="kap_16.htm" onMouseOver="window.status='16: Wahrscheinlichkeitsrechnung
und Mathematische Statistik';return true;"
onMouseOut="window.status=window.defaultStatus;"><IMG WIDTH="70" HEIGHT="60"
ALIGN="BOTTOM" BORDER="0" ALT="16: Wahrscheinlichkeitsrechnung und Mathematische
Statistik" SRC="../icons/home.gif"></A>
	<A HREF="../sonder/inhalt.htm"
onMouseOver="window.status='Hauptinhaltsverzeichnis DeskTop Bronstein';return
true;" onMouseOut="window.status=window.defaultStatus;"><IMG WIDTH="70"
HEIGHT="60" ALIGN="BOTTOM" BORDER="0" ALT="Hauptinhaltsverzeichnis"
SRC="../icons/cont.gif"></A>
	<A HREF="../sonder/index.htm" onMouseOver="window.status='Stichwortverzeichnis
DeskTop Bronstein';return true;"
onMouseOut="window.status=window.defaultStatus;"><IMG WIDTH="70" HEIGHT="60"
ALIGN="BOTTOM" BORDER="0" ALT="Stichwortverzeichnis" SRC="../icons/index.gif"></A>
</TD>
<TD ALIGN=RIGHT NOWRAP>
	<A HREF="../hilfe/h.htm" onMouseOver="window.status='DeskTop-Hilfen:
&#220;bersicht';return true;" onMouseOut="window.status=window.defaultStatus;"
onClick="neuesFenster('../hilfe/h.htm','Nachschlagen'); if(nurOnClick) {return
false;};" TARGET="Nachschlagen"><IMG WIDTH="70"HEIGHT="70" ALIGN="BOTTOM"
BORDER="0" ALT="Hilfeseiten" SRC="../icons/hilfe.gif"></A>
</TD>
<TD WIDTH="40">
	<A NAME="Navigationsleiste"></A>
	<A NAME="tex2html213"></A>
	<A NAME="tex2html223"></A>
	<A NAME="tex2html219"></A>
</TD>
</TR>
</TABLE>
</P>
<!------- Ende Kopfleiste --------------------------------------->
<H3><A NAME="SECTION001521300000000000000"></A>
<A NAME="1362"></A>
<BR>
Bedingte Wahrscheinlichkeiten, Satz von Bayes
</H3>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"></A>
<UL>
<LI><A NAME="tex2html225" HREF="node17.htm" onMouseOver="window.status='Bedingte
Wahrscheinlichkeit';return true;"
onMouseOut="window.status=window.defaultStatus;">Bedingte Wahrscheinlichkeit</A>
<LI><A NAME="tex2html226" HREF="node18.htm"
onMouseOver="window.status='Unabh&#228;ngige Ereignisse';return true;"
onMouseOut="window.status=window.defaultStatus;">Unabh&#228;ngige Ereignisse</A>
<LI><A NAME="tex2html227" HREF="node19.htm"
onMouseOver="window.status='Ereignisse in einem vollst&#228;ndigen
Ereignissystem';return true;"
onMouseOut="window.status=window.defaultStatus;">Ereignisse in einem
vollst&#228;ndigen Ereignissystem</A>
<LI><A NAME="tex2html228" HREF="node20.htm" onMouseOver="window.status='Beispiel
f&#252;r Ereignisse in einem vollst&#228;ndigen Ereignissystem';return true;"
onMouseOut="window.status=window.defaultStatus;">Beispiel f&#252;r Ereignisse in
einem vollst&#228;ndigen Ereignissystem</A>
</UL>
<!--End of Table of Child-Links-->
<!------- Start Fussleiste ----------------->
<P>
<TABLE WIDTH="95%" BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR ALIGN=LEFT VALIGN=BOTTOM>
<TD WIDTH="100" NOWRAP>
	<A HREF="node15.htm" onMouseOver="window.status='Beispiele f&#252;r
Wahrscheinlichkeiten';return true;"
onMouseOut="window.status=window.defaultStatus;"><IMG BORDER="0" ALIGN="BOTTOM"
WIDTH="30" HEIGHT="25" ALT="Beispiele f&#252;r Wahrscheinlichkeiten"
SRC="../icons/f_prev.gif"></A>
	<A HREF="node17.htm" onMouseOver="window.status='Bedingte
Wahrscheinlichkeit';return true;"
onMouseOut="window.status=window.defaultStatus;"><IMG BORDER="0" ALIGN="BOTTOM"
WIDTH="30" HEIGHT="25" ALT="Bedingte Wahrscheinlichkeit"
SRC="../icons/f_next.gif"></A>
</TD>
<TD NOWRAP>
	<A HREF="javascript:neuesFenster('../sonder/finder.htm','Nachschlagen');"
onMouseOver="window.status='Schnellreferenz DeskTop Bronstein';return true;"
onMouseOut="window.status=window.defaultStatus;"><IMG BORDER=0 ALT=""
ALIGN=BOTTOM WIDTH="104" HEIGHT="27" SRC="../icons/f_tab.gif"></A>
</TD>
<TD WIDTH="40">&#160;</TD>
<TD ALIGN=RIGHT NOWRAP>
	<A HREF="javascript:neuesFenster('../info/i_ueber.htm','Nachschlagen');"
onMouseOver="window.status='Infoseiten';return true;"
onMouseOut="window.status=window.defaultStatus;"><IMG BORDER=0 ALT=""
ALIGN=BOTTOM WIDTH="60" HEIGHT="25" SRC="../icons/f_hades.gif"></A>
</TD>
<TD WIDTH="40">&#160;</TD>
</TR>
</TABLE>
</P>
<!------- Ende Fussleiste ----------------->
</FONT>
</BODY>
</HTML>


Reproducible with Galeon, and with Mozilla 1.1
Reporter: Any chance you could indicate clearly which bits of the source or
different? It's hard to find anything different in the entire source without
knowing what to look for.

*** This bug has been marked as a duplicate of 63137 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
To James Ross: The fourth line from the bottom is different:

expected:
<!------- Ende Fussleiste ----------------->

shown:
------- Ende Fussleiste ----------------->

for this reason, mozilla cannot display the page as this problem does
not only exist in view-source.
<!------> is a parser bug, I can't reproduce it using phoenix, please try 1.2a
or later.

in general, yes view-source doesn't display the original content, it displays
something else. if you would like to improve the story, we're accepting patches,
otherwise whatever complaint you have about view-source is almost certainly filed.
Product: Browser → Seamonkey
Product: SeaMonkey → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: