Mercurial > emacs
view etc/schema/schemas.xml @ 95397:c99f0a16c077
(CODING_UTF_8_BOM): New macro.
(enum coding_category): Delete coding_category_utf_8, add
coding_category_utf_8_auto, coding_category_utf_8_nosig, and
coding_category_utf_8_sig.
(CATEGORY_MASK_UTF_8): Delete it.
(CATEGORY_MASK_UTF_8_AUTO, CATEGORY_MASK_UTF_8_NOSIG)
(CATEGORY_MASK_UTF_8_SIG): New macros.
(CATEGORY_MASK_ANY): Delete CATEGORY_MASK_UTF_8, add
CATEGORY_MASK_UTF_8_AUTO, CATEGORY_MASK_UTF_8_NOSIG, and
CATEGORY_MASK_UTF_8_SIG.
(CATEGORY_MASK_UTF_8): New macro.
(UTF_BOM, UTF_8_BOM_1, UTF_8_BOM_2, UTF_8_BOM_3): New macros.
(detect_coding_utf_8): Check BOM.
(decode_coding_utf_8, encode_coding_utf_8): Handle BOM.
(decode_coding_utf_16): Adjusted for the change of enum
utf_bom_type.
(encode_coding_utf_16): Likewise.
(setup_coding_system): Likewise. Set CODING_UTF_8_BOM (coding).
(detect_coding, detect_coding_system): Handle utf-8-auto.
(Fdefine_coding_system_internal): Handle `bom' property for utf-8.
(syms_of_coding): Fix setting up of Vcoding_category_table.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 29 May 2008 22:58:15 +0000 |
parents | 2ac1a9b70580 |
children | 1134aeecb7be |
line wrap: on
line source
<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0"> <transformURI fromPattern="*.xml" toPattern="*.rnc"/> <uri pattern="*.xsl" typeId="XSLT"/> <uri pattern="*.html" typeId="XHTML"/> <uri pattern="*.rng" typeId="RELAX NG"/> <uri pattern="*.rdf" typeId="RDF"/> <namespace ns="http://www.w3.org/1999/XSL/Transform" typeId="XSLT"/> <namespace ns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" typeId="RDF"/> <namespace ns="http://www.w3.org/1999/xhtml" typeId="XHTML"/> <namespace ns="http://relaxng.org/ns/structure/1.0" typeId="RELAX NG"/> <namespace ns="http://thaiopensource.com/ns/locating-rules/1.0" uri="locate.rnc"/> <documentElement localName="stylesheet" typeId="XSLT"/> <documentElement prefix="xsl" localName="transform" typeId="XSLT"/> <documentElement localName="html" typeId="XHTML"/> <documentElement localName="grammar" typeId="RELAX NG"/> <documentElement prefix="" localName="article" typeId="DocBook"/> <documentElement prefix="" localName="book" typeId="DocBook"/> <documentElement localName="RDF" typeId="RDF"/> <documentElement prefix="rdf" typeId="RDF"/> <documentElement localName="locatingRules" uri="locate.rnc"/> <typeId id="XSLT" uri="xslt.rnc"/> <typeId id="RELAX NG" uri="relaxng.rnc"/> <typeId id="XHTML" uri="xhtml.rnc"/> <typeId id="DocBook" uri="docbook.rnc"/> <typeId id="RDF" uri="rdfxml.rnc"/> </locatingRules> <!-- arch-tag: 1fde96fa-b401-4033-8514-c4990b1e18a5 (do not change this comment) -->