Skip to content

Commit 1644ff5

Browse files
[HTML] Editorial: clarify the xmlns notes by merging them whatwg/html@553d412
1 parent c2e8740 commit 1644ff5

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

HTML-dom-ja.html

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
●●options
141141

142142
spec_date:2025-08-01
143-
trans_update:2025-08-04
143+
trans_update:2025-09-18
144144
source_checked:240712
145145
page_state_key:HTML
146146
spec_status:LS
@@ -6892,26 +6892,17 @@ <h4 title="Global attributes">3.2.6. 大域的な属性</h4>
68926892

68936893
<p class="note">注記:
68946894
~HTMLにおいては、
6895-
`xmlns^a 属性は,何ら効果はない。
6895+
`xmlns^a 属性には,何ら効果はない。
68966896
それは,基本的に護符のようなものであり、
68976897
単に,~HTMLと~XMLとの間の移行を容易にするために許容されている。
68986898
`~HTML構文解析器$により構文解析されたときは、
6899-
この属性は,どの名前空間にも属さなくなる
6900-
— ~XMLにおける名前空間~宣言~属性の様な,
6901-
`http://www.w3.org/2000/xmlns/^l
6902-
名前空間ではなく。
6903-
6904-
In HTML, the xmlns attribute has absolutely no effect. It is basically a talisman. It is allowed merely to make migration to and from XML mildly easier. When parsed by an HTML parser, the attribute ends up in no namespace, not the "http://www.w3.org/2000/xmlns/" namespace like namespace declaration attributes in XML do.
6905-
</p>
6906-
6907-
<p class="note">注記:
6899+
この属性は,どの名前空間にも属さなくなる。
69086900
~XMLにおいては、
69096901
`xmlns^a 属性は,名前空間~宣言の仕組みの一部を成す
6910-
— 要素が[
6911-
名前空間が指定されていない `xmlns^a 属性
6912-
]を実際に有することはできない。
6902+
— それは、
6903+
常に `http://www.w3.org/2000/xmlns/^l 名前空間に属するようになる。
69136904
6914-
In XML, an xmlns attribute is part of the namespace declaration mechanism, and an element cannot actually have an xmlns attribute in no namespace specified.
6905+
In HTML, the xmlns attribute has absolutely no effect. It is basically a talisman. It is allowed merely to make migration to and from XML mildly easier. When parsed by an HTML parser, the attribute ends up in no namespace. In XML, the attribute is part of the namespace declaration mechanism and always ends up in the "http://www.w3.org/2000/xmlns/" namespace.
69156906
</p>
69166907

69176908
<hr>

0 commit comments

Comments
 (0)