emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/nxml/nxml-parse.el,v


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/nxml/nxml-parse.el,v
Date: Thu, 03 Jul 2008 12:25:26 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Juanma Barranquero <lektu>      08/07/03 12:25:23

Index: nxml/nxml-parse.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/nxml/nxml-parse.el,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- nxml/nxml-parse.el  6 May 2008 04:25:55 -0000       1.5
+++ nxml/nxml-parse.el  3 Jul 2008 12:25:21 -0000       1.6
@@ -34,11 +34,11 @@
 (defvar nxml-parse-file-name nil)
 
 (defvar nxml-validate-function nil
-  "Nil or a function to be called by `nxml-parse-file' to perform validation.
+  "Either nil or a function called by `nxml-parse-file' to perform validation.
 The function will be called once for each start-tag or end-tag.  The
 function is passed two arguments TEXT and START-TAG.  For a start-tag,
 START-TAG is a list (NAME ATTRIBUTES) where NAME and ATTRIBUTES are in
-the same form as returned by `nxml-parse-file.  For an end-tag,
+the same form as returned by `nxml-parse-file'.  For an end-tag,
 START-TAG is nil.  TEXT is a string containing the text immediately
 preceding the tag, or nil if there was no such text.  An empty element
 is treated as a start-tag followed by an end-tag.
@@ -88,16 +88,16 @@
 
 If the XML document is not well-formed, an error having the condition
 `nxml-file-parse-error' will be signaled; the error data will be a
-list of the \(FILE POSITION MESSAGE), where POSITION is an integer
-specifying the position where the error was detected, and MESSAGE is a
-string describing the error.
+list of the form \(FILE POSITION MESSAGE), where POSITION is an
+integer specifying the position where the error was detected, and
+MESSAGE is a string describing the error.
 
 The current contents of FILE will be parsed even if there is a
 modified buffer currently visiting FILE.
 
-If the variable `nxml-validation-function' is non-nil, it will be
-called twice for each element, and any reported error will be signaled
-in the same way as well-formedness error."
+If the variable `nxml-validate-function' is non-nil, it will be called
+twice for each element, and any reported error will be signaled in the
+same way as well-formedness error."
   (save-excursion
     (set-buffer (nxml-parse-find-file file))
     (unwind-protect




reply via email to

[Prev in Thread] Current Thread [Next in Thread]