lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev The pretty source view doesn't show the real source


From: Hugo Haas
Subject: lynx-dev The pretty source view doesn't show the real source
Date: Fri, 14 Jul 2000 11:35:43 -0400
User-agent: Mutt/1.2.4i

The pretty source view doesn't show the real source code: it highlights
the markup information, but it also converts the elements and attributes
to uppercase, which makes a valid XHTML document invalid in source view.

For example, the minimal XHTML document showed[1] in the XHTML
specification[2]:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
  <head>
    <title>Virtual Library</title>
  </head>
  <body>
    <p>Moved to <a href="http://vlib.org/";>vlib.org</a>.</p>
  </body>
</html>

shows as:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd";>
<HTML XMLNS="http://www.w3.org/1999/xhtml"; XML:LANG="en" LANG="en">
  <HEAD>
    <TITLE>Virtual Library</TITLE>
  </HEAD>
  <BODY>
    <P>Moved to <A HREF="http://vlib.org/";>vlib.org</A>.</P>
  </BODY>
</HTML>

which is invalid.

Regards,

Hugo

  1. http://www.w3.org/TR/2000/REC-xhtml1-20000126/#docconf
  2. http://www.w3.org/TR/2000/REC-xhtml1-20000126/

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]