1# This Source Code Form is subject to the terms of the Mozilla Public
2# License, v. 2.0. If a copy of the MPL was not distributed with this
3# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5# Map Expat error codes to error strings
61 = out of memory
72 = syntax error
83 = no root element found
94 = not well-formed
105 = unclosed token
116 = partial character
127 = mismatched tag
138 = duplicate attribute
149 = junk after document element
1510 = illegal parameter entity reference
1611 = undefined entity
1712 = recursive entity reference
1813 = asynchronous entity
1914 = reference to invalid character number
2015 = reference to binary entity
2116 = reference to external entity in attribute
2217 = XML or text declaration not at start of entity
2318 = unknown encoding
2419 = encoding specified in XML declaration is incorrect
2520 = unclosed CDATA section
2621 = error in processing external entity reference
2722 = document is not standalone
2823 = unexpected parser state
2924 = entity declared in parameter entity
3027 = prefix not bound to a namespace
3128 = must not undeclare prefix
3229 = incomplete markup in parameter entity
3330 = XML declaration not well-formed
3431 = text declaration not well-formed
3532 = illegal character(s) in public id
3638 = reserved prefix (xml) must not be undeclared or bound to another namespace name
3739 = reserved prefix (xmlns) must not be declared or undeclared
3840 = prefix must not be bound to one of the reserved namespace names
39
40# %1$S is replaced by the Expat error string, may be followed by Expected (see below)
41# %2$S is replaced by URL
42# %3$u is replaced by line number
43# %4$u is replaced by column number
44XMLParsingError = XML Parsing Error: %1$S\nLocation: %2$S\nLine Number %3$u, Column %4$u:
45
46# %S is replaced by a tag name.
47# This gets appended to the error string if the error is mismatched tag.
48Expected = . Expected: </%S>.
49