Mercurial > emacs
annotate etc/schema/xhtml-script.rnc @ 112237:ca0df3b7fb20
Backport bug 7517 fixes from trunk.
* coding.h (ENCODE_UTF_8): Remove "Used by ..." comment.
* nsfns.m (ns_set_name_iconic): Remove.
(ns_get_screen): Don't assign integer to f.
(ns_set_name_internal): New function.
(Vicon_title_format): Extern declare.
(ns_set_name): Call ns_set_name_internal.
(x_explicitly_set_name): Remove call to ns_set_name_iconic.
(x_implicitly_set_name): Ditto.
(x_set_title): Remove commet about EXPLICIT. Call ns_set_name_internal.
(ns_set_name_as_filename): Encode name with ENCODE_UTF_8.
Always use buffer name for title and buffer filename only for
RepresentedFilename. Handle bad UTF-8 in buffer name (Bug#7517).
author | Jan D. <jan.h.d@swipnet.se> |
---|---|
date | Mon, 03 Jan 2011 22:26:22 +0100 |
parents | 38f93f3d00a2 |
children |
rev | line source |
---|---|
86361 | 1 # Script Module |
2 | |
3 script = element script { script.attlist, text } | |
4 script.attlist = | |
5 attribute charset { Charset.datatype }?, | |
6 attribute type { ContentType.datatype }, | |
7 attribute src { URI.datatype }?, | |
8 attribute defer { "defer" }?, | |
9 attribute xml:space { "preserve" }? | |
10 noscript = element noscript { noscript.attlist, Block.model } | |
11 noscript.attlist = Common.attrib | |
12 head.content &= script* | |
13 Script.class = noscript | script | |
14 Inline.class |= Script.class | |
15 Block.class |= Script.class |