;ELC   
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.



(byte-code "\300\301!\210\300\302!\210\300\303!\207" [require nxml-parse rng-match rng-dt] 2)
(defvar rng-parse-prev-was-start-tag nil)
#@410 Parse and validate the XML document in FILE and return it as a list.
The returned list has the same form as that returned by
`nxml-parse-file'.  SCHEMA is a list representing the schema to use
for validation, such as returned by the function `rng-c-load-schema'.
If the XML document is invalid with respect to schema, an error will
be signaled in the same way as when it is not well-formed.

(fn SCHEMA FILE)
(defalias 'rng-parse-validate-file #[514 "r\306!q\210\307\216\211\310\311\312\312\211\211\211\313 \210\314 \210\315!\316 .\207" [rng-parse-prev-was-start-tag rng-dt-namespace-context-getter nxml-validate-function nxml-parse-file-name rng-last-ipattern-index rng-ipattern-table nxml-parse-find-file #[0 "\300\301!\207" [kill-buffer nil] 2] rng-parse-do-validate (nxml-ns-get-context) nil rng-ipattern-maybe-init rng-compile-maybe-init rng-compile nxml-parse-instance rng-compile-table rng-match-state rng-current-schema] 7 (#$ . 221)])
#@23 

(fn TEXT START-TAG)
(defalias 'rng-parse-do-validate #[514 "\205 \302\211\262\203) \211\204) \303 \203) \304\206 \305!?\205\257 \306\205' \307B\207\203< \310!\204< \311 \204< \312\307B\207\211\204I \313 ?\205\257 \314C\207\315\316@!!\204U \317C\207\211A@\320\321\211\203\240 \211\204\240 @\262@:\203u @@	=\204\225 \322\316@!!\204\206 \323\324BB\202\223 \325A!?\205\223 \326\327BB\262A\262T\262\202[ \211\206\255 \330 ?\205\255 \331\332B\266\204\207" [rng-parse-prev-was-start-tag nxml-xmlns-namespace-uri t rng-match-text-typed-p rng-match-element-value "" "Invalid data" text rng-blank-p rng-match-mixed-text "Text not allowed" rng-match-end-tag "Missing elements" rng-match-start-tag-open rng-parse-to-match-name "Element not allowed" 0 nil rng-match-attribute-name "Attribute not allowed" attribute-name rng-match-attribute-value "Invalid attribute value" attribute-value rng-match-start-tag-close "Missing attributes" tag-close] 9 (#$ . 1190)])
#@13 

(fn NAME)
(defalias 'rng-parse-to-match-name #[257 "\211:\203 \207\300B\207" [nil] 3 (#$ . 2172)])
(provide 'rng-parse)
