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

Bug#248993: marked as done (www.debian.org: "!" not allowed in "id" attribute)



Your message dated Fri, 14 May 2004 16:23:41 +0200
with message-id <200405141623.41872.t.toedter@gmx.net>
and subject line Bug#248993: www.debian.org: "!" not allowed in "id" attribute
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 May 2004 11:50:03 +0000
>From nico.bertol@free.fr Fri May 14 04:50:03 2004
Return-path: <nico.bertol@free.fr>
Received: from postfix4-2.free.fr [213.228.0.176] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BObCV-0005dK-00; Fri, 14 May 2004 04:50:03 -0700
Received: from bertol (lns-th2-4f-81-56-240-158.adsl.proxad.net [81.56.240.158])
	by postfix4-2.free.fr (Postfix) with ESMTP id A1ADEAA85B
	for <submit@bugs.debian.org>; Fri, 14 May 2004 11:28:22 +0200 (CEST)
Received: from nico by bertol with local (Exim 3.35 #1 (Debian))
	id 1BOYzN-0000cy-00; Fri, 14 May 2004 11:28:21 +0200
Date: Fri, 14 May 2004 11:28:21 +0200
From: Nicolas Bertolissio <nico.bertol@free.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: www.debian.org: "!" not allowed in "id" attribute
Message-ID: <[🔎] 20040514092820.GA2387@free.fr>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5"
Content-Disposition: inline
X-Reportbug-Version: 2.56
User-Agent: Mutt/1.5.5.1+cvs20040105i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1


--CUfgB8w4ZwR/yMy5
Content-Type: multipart/mixed; boundary="tThc/1wpZn/ma/RB"
Content-Disposition: inline


--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: www.debian.org
Severity: normal
Tags: patch

Hi,

according to the validation page at
   http://people.debian.org/~alfie/validate/en
"!" is not allowed in "id" attributed

I think the attached patch should solve this issue for the definition of
the anchor, but maybe not for the links pointing to it, please could you
check the patch and apply it if it is right.

Regards


Nicolas Bertolissio

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.4
Locale: LANG=3Dfr_FR@euro, LC_CTYPE=3Dfr_FR@euro

--=20

--tThc/1wpZn/ma/RB
Content-Type: text/vnd.wap.wml; charset=us-ascii
Content-Disposition: attachment; filename="debian-cdd.new.wml"

# This template was originally intended to unify the layout of the Debian-Med
# pages, but was extended to be useful for all Custom Debian Distributions.
#
# The way to use this template is to add a parameter to the #use line in the
# .wml file, e.g. #use wml::debian::debian-cdd CDD="Debian-Med"
#
# Currently valid values for CDD include:
#  - Debian-Med
#  - Debian-Jr
#  - Debian-Lex
#
# Copyright (c) 2004 Tobias Toedter <t.toedter@gmx.net>
# $Id: debian-cdd.wml,v 1.4 2004/05/12 16:09:09 toddy Exp $

#use wml::debian::common_tags

<bind-gettext-domain domain="debian-cdd" />

# assign a sane default value, if CDD is not set
$(CDD=$(CDD:-"Debian-Med"))


# These tags are only for gettext translations

<define-tag description>
<preserve cdd-name />
<when <string-eq "$(CDD)" "Debian-Med" />>
  <set-var cdd-name="<gettext domain="debian-cdd">Debian-Med</gettext>" />
</when>
<when <string-eq "$(CDD)" "Debian-Jr" />>
  <set-var cdd-name="<gettext domain="debian-cdd">Debian-Jr</gettext>" />
</when>
<when <string-eq "$(CDD)" "Debian-Lex" />>
  <set-var cdd-name="<gettext domain="debian-cdd">Debian-Lex</gettext>" />
</when>
<gettext domain="debian-cdd">The list below includes various software projects which are of some interest to the <get-var cdd-name /> Project. Currently, only a few of them are available as Debian packages. It is our goal, however, to include all software in <get-var cdd-name /> which can sensibly add to a high quality Custom Debian Distribution.</gettext>
<restore cdd-name />
</define-tag>

<define-tag overview>
<gettext domain="debian-cdd">For a better overview of the project's availability as a Debian package, each head row has a color code according to this scheme:</gettext>
</define-tag>

<define-tag official-debs>
<preserve url />
<set-var url="#official-debs" />
<gettext domain="debian-cdd">Green: The project is <a href="<get-var url />">available as an official Debian package</a></gettext>
<restore url />
</define-tag>

<define-tag inofficial-debs>
<preserve url />
<set-var url="#inofficial-debs" />
<gettext domain="debian-cdd">Yellow: The project is <a href="<get-var url />">available as an inofficial Debian package</a></gettext>
<restore url />
</define-tag>

<define-tag debs-not-available>
<preserve url />
<set-var url="#debs-not-available" />
<gettext domain="debian-cdd">Red: The project is <a href="<get-var url />">not (yet) available as a Debian package</a></gettext>
<restore url />
</define-tag>

<define-tag contact>
<preserve cdd-name cdd-list-url />
<when <string-eq "$(CDD)" "Debian-Med" />>
  <set-var cdd-name="<gettext domain="debian-cdd">Debian-Med</gettext>" />
  <set-var cdd-list-url="mailto:debian-med@lists.debian.org"; />
</when>
<when <string-eq "$(CDD)" "Debian-Jr" />>
  <set-var cdd-name="<gettext domain="debian-cdd">Debian-Jr</gettext>" />
  <set-var cdd-list-url="mailto:debian-jr@lists.debian.org"; />
</when>
<when <string-eq "$(CDD)" "Debian-Lex" />>
  <set-var cdd-name="<gettext domain="debian-cdd">Debian-Lex</gettext>" />
  <set-var cdd-list-url="mailto:debian-lex@lists.debian.org"; />
</when>
<gettext domain="debian-cdd">If you discover a project which looks like a good candidate for <get-var cdd-name /> to you, or if you have prepared an inofficial Debian package, please do not hesitate to send a description of that project to the <a href="<get-var cdd-list-url />"><get-var cdd-name /> mailing list</a>.</gettext>
<restore cdd-name cdd-list-url />
</define-tag>

<define-tag title-official-debs>
<gettext domain="debian-cdd">Official Debian packages</gettext>
</define-tag>

<define-tag title-inofficial-debs>
<gettext domain="debian-cdd">Inofficial Debian packages</gettext>
</define-tag>

<define-tag title-debs-not-available>
<gettext domain="debian-cdd">Debian packages not available</gettext>
</define-tag>

<define-tag no-projects>
<gettext domain="debian-cdd">There are no projects which fall into this category.</gettext>
</define-tag>

<define-tag no-homepage>
<gettext domain="debian-cdd">No homepage known</gettext>
</define-tag>

<define-tag license>
<gettext domain="debian-cdd">License:</gettext>
</define-tag>

<define-tag free>
<gettext domain="debian-cdd">Free</gettext>
</define-tag>

<define-tag non-free>
<gettext domain="debian-cdd">Non-Free</gettext>
</define-tag>

<define-tag unknown>
<gettext domain="debian-cdd">Unknown</gettext>
</define-tag>

<define-tag info-official-deb>
<gettext domain="debian-cdd">Official Debian package</gettext>
</define-tag>

<define-tag info-inofficial-deb>
<gettext domain="debian-cdd">Inofficial Debian package</gettext>
</define-tag>

<define-tag info-deb-not-available>
<gettext domain="debian-cdd">Debian package not available</gettext>
</define-tag>


# The table showing the info about a project

<define-tag project endtag=required>
<preserve anchorid name url license deb />
<set-var %attributes />
<ifeq <get-var anchorid /> ""
  <set-var anchorid=<subst-in-string <downcase <get-var name /> /> "\W" "_" /> />
  ""
/>
<table class="project" summary="<get-var name>">
  <ifeq <get-var deb /> "" \
    "<tr class="deb-not-available">" \
    <ifeq <match <get-var deb /> "http://packages.debian.org/"; /> "true" \
      "<tr class="deb-official">" \
      "<tr class="deb-inofficial">" \
    /> \
  />
    <td class="project-name">
      <a name="<get-var anchorid />" id="<get-var anchorid />"></a>
      <strong><get-var name /></strong>
      <br />
      <ifeq <get-var url /> "" \
        "<no-homepage />" \
	"<url <get-var url /> />" \
      />
    </td>
    <td class="project-license">
      <em><license /> \
      <ifeq <get-var license /> "" \
        "<unknown />" \
	"<get-var license />" \
      />\
      </em>
      <br />
      <ifeq <get-var deb /> "" \
        "<info-deb-not-available />" \
	<ifeq <match <get-var deb /> "http://packages.debian.org/"; /> "true" \
	  "<a href="<get-var deb />"><info-official-deb /></a>" \
          "<a href="<get-var deb />"><info-inofficial-deb /></a>" \
	/>\
      />\
    </td>
  </tr>
  <tr>
    <td class="project-description" colspan="2">
      %body
    </td>
  </tr>
</table>
<restore anchorid name url license deb />
</define-tag>


# Start of the page

#use wml::debian::template title="<pagetitle />"
{#style#:<link rel="stylesheet" href="debian-cdd.css" type="text/css" />:#style#}

<p><description /></p>
<p><overview /></p>
<ul>
  <li><official-debs /></li>
  <li><inofficial-debs /></li>
  <li><debs-not-available /></li>
</ul>
<p><contact /></p>

--tThc/1wpZn/ma/RB--

--CUfgB8w4ZwR/yMy5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFApJE0PnQ0OX3ZAY0RAt4lAKC+9tPtv1OX+RfiHj4nkoHzpe1nzgCfU0OA
Q6YH8TUOd5U5X6+c2XbU7Yw=
=tp+N
-----END PGP SIGNATURE-----

--CUfgB8w4ZwR/yMy5--

---------------------------------------
Received: (at 248993-done) by bugs.debian.org; 14 May 2004 14:26:22 +0000
>From t.toedter@gmx.net Fri May 14 07:26:22 2004
Return-path: <t.toedter@gmx.net>
Received: from imap.gmx.net (mail.gmx.net) [213.165.64.20] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1BOddm-0000Qi-00; Fri, 14 May 2004 07:26:22 -0700
Received: (qmail 30125 invoked by uid 65534); 14 May 2004 14:23:46 -0000
Received: from c231055.adsl.hansenet.de (EHLO homer) (213.39.231.55)
  by mail.gmx.net (mp005) with SMTP; 14 May 2004 16:23:46 +0200
X-Authenticated: #7842102
From: Tobias Toedter <t.toedter@gmx.net>
To: 248993-done@bugs.debian.org
Subject: Re: Bug#248993: www.debian.org: "!" not allowed in "id" attribute
Date: Fri, 14 May 2004 16:23:41 +0200
User-Agent: KMail/1.6.1
References: <[🔎] 20040514092820.GA2387@free.fr>
In-Reply-To: <[🔎] 20040514092820.GA2387@free.fr>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200405141623.41872.t.toedter@gmx.net>
Delivered-To: 248993-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Nicolas,

thanks for noticing this. I included your fix in the CVS. As there is=20
currently no crosslinking of those anchors, nothing will be broken.

I also set the anchorid for the specific project to be "odontolinux", i.e.=
=20
without the exclamation sign. The reason is that the Spanish translation=20
reads "=A1Odontolinux!", which would not be covered by the patch (and has n=
o=20
easy solution, I guess).

However, to prevent future HTML errors in other scenarios, your patch is=20
mostly welcome.

Cheers,

=2D --=20

Tobias

    There are 10 different kinds of people on the world -
    those who understand binary and those who don't.
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFApNZtCqqEJ0Fs8twRAvdCAJ9UUcGth4zpWHiya3Jx4H9ICnl3tACgrawI
zVGT9Y12PST16fTTU4s2QjY=3D
=3DRoGL
=2D----END PGP SIGNATURE-----



Reply to: