Mercurial > emacs
view etc/schema/xhtml-struct.rnc @ 87676:2aeceff24280
(detect_coding_iso2022): New arg latin_extra_code_state. Allow Latin
extra codes only when *latin_extra_code_state is nonzero.
(detect_coding_mask): If there is a NULL byte, detect the encoding as
UTF-16 or binary. If there is a Latin extra code, detect the encoding
as ISO-2022 only when no other proper encoding is found.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 09 Jan 2008 06:05:23 +0000 |
parents | 38f93f3d00a2 |
children |
line wrap: on
line source
# Structure Module start = html title = element title { title.attlist, text } title.attlist = I18n.attrib head = element head { head.attlist, head.content } head.attlist = I18n.attrib, profile.attlist head.content = title profile.attlist = attribute profile { URI.datatype }? body = element body { body.attlist, Block.model } body.attlist = Common.attrib html = element html { html.attlist, head, body } html.attlist = XHTML.version.attrib, I18n.attrib XHTML.version.attrib = attribute version { FPI.datatype }?