diff options
Diffstat (limited to 'lisp/nxml')
| -rw-r--r-- | lisp/nxml/rng-xsd.el | 6 |
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. |
| 50 | NAME is a symbol giving the local name of the datatype. PARAMS is a | 50 | NAME is a symbol giving the local name of the datatype. PARAMS is a |
| 51 | list of pairs (PARAM-NAME . PARAM-VALUE) where PARAM-NAME is a symbol | 51 | list of pairs (PARAM-NAME . PARAM-VALUE) where PARAM-NAME is a symbol |
| 52 | giving the name of the parameter and PARAM-VALUE is a string giving | 52 | 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 | |||
| 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. |
| 370 | The template is a string with Y standing for years field, M standing | 370 | The template is a string with Y standing for years field, M standing |
| 371 | for months, D standing for day of month, T standing for a literal T, t | 371 | for months, D standing for day of month, T standing for a literal T, t |
| 372 | standing for time and - standing for a literal hyphen. A time zone is | 372 | standing 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. |
| 440 | Returns nil if invalid. REGEXP is a regexp for parsing the date time | 440 | Returns nil if invalid. REGEXP is a regexp for parsing the date time |
| 441 | as returned by `rng-xsd-make-date-time-regexp'. The list has 4 members | 441 | as 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 |