aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/nxml
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/nxml')
-rw-r--r--lisp/nxml/rng-xsd.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/nxml/rng-xsd.el b/lisp/nxml/rng-xsd.el
index 5aa850f5895..c2c90cc8a18 100644
--- a/lisp/nxml/rng-xsd.el
+++ b/lisp/nxml/rng-xsd.el
@@ -46,7 +46,7 @@
46 46
47;;;###autoload 47;;;###autoload
48(defun rng-xsd-compile (name params) 48(defun rng-xsd-compile (name params)
49 "Provides W3C XML Schema as a RELAX NG datatypes library. 49 "Provide W3C XML Schema as a RELAX NG datatypes library.
50NAME is a symbol giving the local name of the datatype. PARAMS is a 50NAME is a symbol giving the local name of the datatype. PARAMS is a
51list of pairs (PARAM-NAME . PARAM-VALUE) where PARAM-NAME is a symbol 51list of pairs (PARAM-NAME . PARAM-VALUE) where PARAM-NAME is a symbol
52giving the name of the parameter and PARAM-VALUE is a string giving 52giving the name of the parameter and PARAM-VALUE is a string giving
@@ -366,7 +366,7 @@ trailing digits. For example, -0021.0430 would be represented by [-1
366 string)) 366 string))
367 367
368(defun rng-xsd-make-date-time-regexp (template) 368(defun rng-xsd-make-date-time-regexp (template)
369 "Returns a regular expression matching a ISO 8601 date/time. 369 "Return a regular expression matching a ISO 8601 date/time.
370The template is a string with Y standing for years field, M standing 370The template is a string with Y standing for years field, M standing
371for months, D standing for day of month, T standing for a literal T, t 371for months, D standing for day of month, T standing for a literal T, t
372standing for time and - standing for a literal hyphen. A time zone is 372standing for time and - standing for a literal hyphen. A time zone is
@@ -436,7 +436,7 @@ sign, time zone hours, time zone minutes."
436 v)) 436 v))
437 437
438(defun rng-xsd-convert-date-time (string regexp) 438(defun rng-xsd-convert-date-time (string regexp)
439 "Converts an XML Schema date/time to a list. 439 "Convert an XML Schema date/time to a list.
440Returns nil if invalid. REGEXP is a regexp for parsing the date time 440Returns nil if invalid. REGEXP is a regexp for parsing the date time
441as returned by `rng-xsd-make-date-time-regexp'. The list has 4 members 441as returned by `rng-xsd-make-date-time-regexp'. The list has 4 members
442\(HAS-TIME-ZONE DAY SECOND SECOND-FRACTION), where HAS-TIME-ZONE is t 442\(HAS-TIME-ZONE DAY SECOND SECOND-FRACTION), where HAS-TIME-ZONE is t