🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: fj.net.www.authoring
5 messages
5 total messages Started by K.Moriyama Wed, 28 Sep 2005 13:00
w3cでチェックするとエラーになるアドレス
#115
Author: K.Moriyama
Date: Wed, 28 Sep 2005 13:00
16 lines
1765 bytes
森山と申します。

  以下のアドレスを以下のように <a href=""></a> で指定して、 w3c で
チックするとエラーとなります。このような場合、エラーにならないように
する方法はあるのでしょうか? ご存じの方がいましたら、ご教授下さい。

<a href="http://www.ecat.sony.co.jp/mediabattery/fd/acc/index.cfmPD=694&KM=3MF2DDQB/3MF2HDQB...">SONY 3MF2DDQB</a>

http://www.microsoft.com/downloads/details.aspx?displaylang=ja&FamilyID=A8F5654F-088E-40B2-BBDB-A83353618B38

# XHTML 1.0 ( http://validator.w3.org/check?uri=referer ) で
# チェックしています。多分[ & ]が引っ掛かるのだと思いますが...

-- 
K.Moriyama
http://www.k2.dion.ne.jp/~mistle/index.html
Re: w3c$B$G%A%'%C%/$9$k$H%(%i!<$K$J$k%"%I%l%9(B
#116
Author: kuno
Date: Wed, 28 Sep 2005 13:11
6 lines
1191 bytes
$B5WLn$G$9!#(B

forest@ma.kcom.ne.jp$B$5$s(B:
> # $B%A%'%C%/$7$F$$$^$9!#B?J,(B[ & ]$B$,0z$C3]$+$k$N$@$H;W$$$^$9$,(B...

         $B$@$C$?$i!V(B&$B!W$r$9$Y$F!V(B&amp;$B!W$H$+$G$O!#(B         $B5WLn(B
Re: w3cでチェックするとエラーになるアドレス
#117
Author: K.Moriyama
Date: Wed, 28 Sep 2005 13:52
18 lines
1706 bytes
森山です。

  久野さん、回答ありがとうございます。

On Wed, 28 Sep 2005 13:11:03 GMT
kuno@gssm.otsuka.tsukuba.ac.jp wrote:

> > # チェックしています。多分[ & ]が引っ掛かるのだと思いますが...
> 
>          だったら「&」をすべて「&amp;」とかでは。         久野

  表示用の機能と思い込んでいました。リンクにも有効だったとは...

どうもありがとうございました。

-- 
K.Moriyama
http://www.k2.dion.ne.jp/~mistle/index.html
Re: w3c でチェックするとエラーになるアドレス
#118
Author: OTA Takashi
Date: Thu, 29 Sep 2005 06:53
22 lines
2085 bytes
おおたです。
forestさんが2005年09月28日(水) 22時52分32秒に、
fj.net.www.authoringに投稿した
<20050928225232.b02913c3.forest@ma.kcom.ne.jp>の記事から

>   表示用の機能と思い込んでいました。リンクにも有効だったとは...

有効というか,

Character entity references
http://www.w3.org/TR/html4/charset.html#h-5.3.2 より:

| Authors should use "&amp;" (ASCII decimal 38) instead of "&" to
| avoid confusion with the beginning of a character reference (entity
| reference open delimiter). Authors should also use "&amp;" in
| attribute values since character references are allowed within CDATA
| attribute values.

a要素のhref属性の値としては,使うべきなのだと思います.

----------- ニュースはみんなのために /|\ メールは個人のために -----------
.. 太田 尚志 - http://web.sfc.keio.ac.jp/~takot/ MSN#: supertakot@hotmail...
Re: w3c でチェックするとエラーになるアドレス
#119
Author: K.Moriyama
Date: Thu, 29 Sep 2005 12:53
21 lines
1824 bytes
森山です。

On Thu, 29 Sep 2005 06:53:44 +0000 (UTC)
OTA Takashi <takot+news@sfc.keio.ac.jp> wrote:

> >   表示用の機能と思い込んでいました。リンクにも有効だったとは...
> 
> 有効というか,

	中略
 
> a要素のhref属性の値としては,使うべきなのだと思います.

  どうもそのようですね。手元の本を良く読んでみたら、 そのように
記述して有りました。

  ご指摘、どうもありがとうございました。

-- 
K.Moriyama
http://www.k2.dion.ne.jp/~mistle/index.html
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads