Mercurial > emacs
view etc/schema/dbcalstbl.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
# Definitions specific to the CALS Table Model. # Reference CALS Table Model include "calstbl.rnc" { # Override definition of start start |= notAllowed # Add label and role attributes to table and informaltable bodyatt = label.attrib # Add common attributes to Table, TGroup, TBody, THead, TFoot, Row, # EntryTbl, and Entry (and InformalTable element). secur = common.attrib, tables.role.attrib # Content model for Table. tbl.table.mdl = blockinfo?, formalobject.title.content, ndxterm.class*, textobject*, (graphic+ | mediaobject+ | tgroup+) # Allow either objects or inlines; beware of REs between elements. tbl.entry.mdl = para.char.mix | tabentry.mix } common.table.attribs = bodyatt, secur # end of table.module