Function: nxml-validate-tag

nxml-validate-tag is a byte-compiled function defined in nxml-parse.el.gz.

Signature

(nxml-validate-tag TEXT TEXT-POS TAG)

Source Code

;; Defined in /usr/src/emacs/lisp/nxml/nxml-parse.el.gz
(defun nxml-validate-tag (text text-pos tag)
  (when nxml-validate-function
    (let ((err (funcall nxml-validate-function text tag))
	  pos)
      (when err
	(setq pos (nxml-validate-error-position (cdr err)
						(and text text-pos)
						tag))
	(or pos (error "Incorrect return value from %s"
		       nxml-validate-function))
	(nxml-parse-error pos (car err))))))