changeset 87717:f13f60e81ce8

(rng-preferred-prefix-alist): Add some defaults. (rng-preferred-prefix-alist-default): Remove.
author Jason Rumney <jasonr@gnu.org>
date Fri, 11 Jan 2008 17:30:23 +0000
parents eff317fb2a22
children 126248279847
files lisp/nxml/rng-nxml.el
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/nxml/rng-nxml.el	Fri Jan 11 16:01:26 2008 +0000
+++ b/lisp/nxml/rng-nxml.el	Fri Jan 11 17:30:23 2008 +0000
@@ -41,10 +41,12 @@
   :type 'boolean
   :group 'relax-ng)
 
-(defvar rng-preferred-prefix-alist-default nil
-  "Default value for variable `rng-preferred-prefix-alist'.")
-
-(defcustom rng-preferred-prefix-alist rng-preferred-prefix-alist-default
+(defcustom rng-preferred-prefix-alist
+  '(("http://www.w3.org/1999/XSL/Transform" . "xsl")
+    ("http://www.w3.org/1999/02/22-rdf-syntax-ns#" . "rdf")
+    ("http://www.w3.org/1999/xlink" . "xlink")
+    ("http://www.w3.org/2001/XmlSchema" . "xsd")
+    ("http://www.w3.org/2001/XMLSchema-instance" . "xsi"))
   "*Alist of namespaces vs preferred prefixes."
   :type '(repeat (cons :tag "With"
 		       (string :tag "this namespace URI")