W3C home > Mailing lists > Public > www-html@w3.org > March 1999

XHTML 19990224: FRAME is missing SRC attribute

From: Gerald Oskoboiny <gerald@w3.org>
Date: Thu, 4 Mar 1999 06:12:05 -0500
To: www-html@w3.org
Message-ID: <19990304061205.E14473@w3.org>
The Frameset DTD of XHTML version 19990224 seems to be missing
the src attribute on the frame element:

    http://www.w3.org/TR/1999/WD-html-in-xml-19990224/DTD/xhtml1-frameset.dtd

    <!ELEMENT frame EMPTY>
    <!ATTLIST frame
      %coreattrs;
      longdesc    %URI;          #IMPLIED
      name        CDATA          #IMPLIED
      frameborder (1|0)          "1"
      marginwidth %Pixels;       #IMPLIED
      marginheight %Pixels;      #IMPLIED
      noresize    (noresize)     #IMPLIED
      scrolling   (yes|no|auto)  "auto"
      >

In HTML 4.0 it is:

    http://www.w3.org/TR/REC-html40/present/frames.html#edef-FRAME

    <!ELEMENT FRAME - O EMPTY              -- subwindow -->
     <!ATTLIST FRAME
       %coreattrs;                          -- id, class, style, title --
       longdesc    %URI;          #IMPLIED  -- link to long description
					       (complements title) --
       name        CDATA          #IMPLIED  -- name of frame for targetting --
       src         %URI;          #IMPLIED  -- source of frame content --
       frameborder (1|0)          1         -- request frame borders? --
       marginwidth %Pixels;       #IMPLIED  -- margin widths in pixels --
       marginheight %Pixels;      #IMPLIED  -- margin height in pixels --
       noresize    (noresize)     #IMPLIED  -- allow users to resize frames? --
       scrolling   (yes|no|auto)  auto      -- scrollbar or none --
       >

My test document is:

    http://www.w3.org/1999/03/04/xhtml-frameset

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
				 "xhtml1-frameset.dtd">
    <html xmlns="http://www.w3.org/Profiles/xhtml1-frameset.dtd"> 
    <head>
    <title>Test XHTML 1.0 Frameset document</title>
    </head>
    <frameset>
    <frame src="xhtml-transitional" />
    </frameset>
    </html>

and sample validation output is at:

  http://validator.w3.org/check?uri=http://www.w3.org/1999/03/04/xhtml-frameset

-- 
Gerald Oskoboiny       <gerald@w3.org>  +1 617 253 2920
System Administrator   http://www.w3.org/People/Gerald/
World Wide Web Consortium (W3C)      http://www.w3.org/
Received on Thursday, 4 March 1999 06:12:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:38 GMT