summaryrefslogtreecommitdiff
path: root/lisp/nxml/rng-xsd.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/nxml/rng-xsd.el')
-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 @@
;;;###autoload
(defun rng-xsd-compile (name params)
- "Provides W3C XML Schema as a RELAX NG datatypes library.
+ "Provide W3C XML Schema as a RELAX NG datatypes library.
NAME is a symbol giving the local name of the datatype. PARAMS is a
list of pairs (PARAM-NAME . PARAM-VALUE) where PARAM-NAME is a symbol
giving 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
string))
(defun rng-xsd-make-date-time-regexp (template)
- "Returns a regular expression matching a ISO 8601 date/time.
+ "Return a regular expression matching a ISO 8601 date/time.
The template is a string with Y standing for years field, M standing
for months, D standing for day of month, T standing for a literal T, t
standing for time and - standing for a literal hyphen. A time zone is
@@ -436,7 +436,7 @@ sign, time zone hours, time zone minutes."
v))
(defun rng-xsd-convert-date-time (string regexp)
- "Converts an XML Schema date/time to a list.
+ "Convert an XML Schema date/time to a list.
Returns nil if invalid. REGEXP is a regexp for parsing the date time
as returned by `rng-xsd-make-date-time-regexp'. The list has 4 members
\(HAS-TIME-ZONE DAY SECOND SECOND-FRACTION), where HAS-TIME-ZONE is t