Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2002 08:33:30 -0700 (PDT)
From:      OKUMURA Yoshifumi <okumura@pop06.odn.ne.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/38293: psgml ports's XHTML DOCTYPE identifiers are wrong
Message-ID:  <200205191533.g4JFXUeR036193@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         38293
>Category:       ports
>Synopsis:       psgml ports's XHTML DOCTYPE identifiers are wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 19 08:40:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     OKUMURA Yoshifumi
>Release:        4.6-PRERELEASE
>Organization:
>Environment:
FreeBSD tonic.recipies 4.6-PRERELEASE-20020515-JPSNAP FreeBSD 4.6-PRERELEASE-20020515-JPSNAP #0: Tue May 14 23:31:08 GMT 2002     root@tora.jp.freebsd.org:/usr/src/sys/compile/GENERIC  i386
 
>Description:
Psgml ports installs file `/usr/local/share/emacs/site-lisp/psgml-startup.el'.
I see XHTML doctypes are wrong (Not XHTML but html, No system identifier).

>How-To-Repeat:
Create xhtml file with the psgml-mode on emacs 21 and validate it with http://validator.w3.org/

>Fix:
patch following to `/usr/ports/psgml/files/psgml-startup.el.in':

--- psgml-startup.el.in.dist    Sun May 19 23:47:43 2002
+++ psgml-startup.el.in Mon May 20 00:11:46 2002
@@ -44,11 +44,11 @@
     ("HTML 4.01 Frameset"
      "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\">")
     ("XHTML 1.0 Strict"
-     "<!DOCTYPE XHTML PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\">")
+     "<?xml version=\"1.0\"?><!-- -*- xml -*- -->\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">")
     ("XHTML 1.0 Transitional"
-     "<!DOCTYPE XHTML PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\">")
+     "<?xml version=\"1.0\"?><!-- -*- xml -*- -->\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">")
     ("XHTML 1.0 Frameset"
-     "<!DOCTYPE XHTML PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\">")
+     "<?xml version=\"1.0\"?><!-- -*- xml -*- -->\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">")
     ("DocBook V2.4.1"
      "<!DOCTYPE DOCBOOK PUBLIC \"-//Davenport//DTD DocBook V2.4.1//EN\">")
     ("DocBook V3.0"
     
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205191533.g4JFXUeR036193>