Commit f98e3afa authored by Jason Rumney's avatar Jason Rumney
Browse files

(rng-schema-locating-files-default)

(rng-schema-locating-file-schema-file): Use files in etc/schemas.
(rng-schema-loader-alist): Use rng-c-load-schema to load rnc files.
parent fc5377f7
2007-12-19 Jason Rumney <jasonr@gnu.org>
* nxml/rng-maint.el (rng-update-autoloads, rng-byte-compile-load)
(rng-format-manual, rng-write-version): Do not autoload.
* nxml/rng-loc.el (rng-schema-locating-files-default)
(rng-schema-locating-file-schema-file): Use files in etc/schemas.
(rng-schema-loader-alist): Use rng-c-load-schema to load rnc files.
2007-12-18 Michael Albinus <michael.albinus@gmx.de> 2007-12-18 Michael Albinus <michael.albinus@gmx.de>
* files.el (cd-absolute): Set `list-buffers-directory' in order to * files.el (cd-absolute): Set `list-buffers-directory' in order to
......
...@@ -38,10 +38,12 @@ ...@@ -38,10 +38,12 @@
Nil if using a vacuous schema.") Nil if using a vacuous schema.")
(make-variable-buffer-local 'rng-current-schema-file-name) (make-variable-buffer-local 'rng-current-schema-file-name)
(defvar rng-schema-locating-files-default nil (defvar rng-schema-locating-files-default
(list (expand-file-name "schema/schemas.xml" data-directory))
"Default value for variable `rng-schema-locating-files'.") "Default value for variable `rng-schema-locating-files'.")
(defvar rng-schema-locating-file-schema-file nil (defvar rng-schema-locating-file-schema-file
(list (expand-file-name "schema/locate.rnc" data-directory))
"File containing schema for schema locating files.") "File containing schema for schema locating files.")
(defvar rng-schema-locating-file-schema nil (defvar rng-schema-locating-file-schema nil
...@@ -52,7 +54,7 @@ Nil if using a vacuous schema.") ...@@ -52,7 +54,7 @@ Nil if using a vacuous schema.")
:type '(repeat file) :type '(repeat file)
:group 'relax-ng) :group 'relax-ng)
(defvar rng-schema-loader-alist nil (defvar rng-schema-loader-alist '(("rnc" . rng-c-load-schema))
"Alist of schema extensions vs schema loader functions.") "Alist of schema extensions vs schema loader functions.")
(defvar rng-cached-document-element nil) (defvar rng-cached-document-element nil)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment