Handbook
Glossary
XML parsing errors
The
xml
.
errors
vocabulary provides a rich and highly inspectable set of parsing errors. All XML errors are described by the union class
xml-error
.
multitags
( -- * )
notags
( -- * )
extra-attrs
( line -- * )
nonexist-ns
( line -- * )
not-yes/no
( line -- * )
unclosed
mismatched
( line column -- * )
expected
( line column -- * )
no-entity
( line -- * )
pre/post-content
( string pre? -- * )
unclosed-quote
( -- * )
bad-name
( line -- * )
quoteless-attr
( -- * )
disallowed-char
( line -- * )
missing-close
( -- * )
unexpected-end
( -- * )
duplicate-attr
( line column -- * )
bad-cdata
( -- * )
text-w/]]>
( -- * )
attr-w/<
( -- * )
misplaced-directive
( line -- * )
Additionally, most of these errors are a kind of
xml-error
which provides more information about where the error occurred.
Note that, in parsing an XML document, only the first error is reported.