facebook

[Closed] xhmtl not validating

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #267060 Reply

    wsfulton
    Member

    The w3 site, http://www.w3.org/QA/2002/04/valid-dtd-list.html recommends using this as a template for xhtml:

    
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
            "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    
    <head>
        <title>An XHTML 1.0 Strict standard template</title>
        <meta http-equiv="content-type" 
            content="text/html;charset=utf-8" />
        <meta http-equiv="Content-Style-Type" content="text/css" />
    </head>
    
    <body>
    
         <p>… Your HTML content here …</p>
    
    </body>
    </html>
    
    

    Copy paste this into a newly created .html page – using File, New, Other, Web, HTML (Basic Templates). None of the html validates. The first error is “Unknown tag (html)”.

    Is MyEclipse unable to find the dtd or something?

    Versions:

    MyEclipse Enterprise Workbench

    Version: 5.1.1 GA
    Build id: 20070302-5.1.1-GA
    Eclipse-3.2.2
    (Linux)

    #267104 Reply

    Riyad Kalla
    Member

    MyEclipse doesn’t support XHTML yet but will begin adding support for it in the 5.5 release in April.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [Closed] xhmtl not validating

You must be logged in to post in the forum log in