|
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 |
|
6 1 = out of memory |
|
7 2 = syntax error |
|
8 3 = no element found |
|
9 4 = not well-formed |
|
10 5 = unclosed token |
|
11 6 = partial character |
|
12 7 = mismatched tag |
|
13 8 = duplicate attribute |
|
14 9 = junk after document element |
|
15 10 = illegal parameter entity reference |
|
16 11 = undefined entity |
|
17 12 = recursive entity reference |
|
18 13 = asynchronous entity |
|
19 14 = reference to invalid character number |
|
20 15 = reference to binary entity |
|
21 16 = reference to external entity in attribute |
|
22 17 = XML or text declaration not at start of entity |
|
23 18 = unknown encoding |
|
24 19 = encoding specified in XML declaration is incorrect |
|
25 20 = unclosed CDATA section |
|
26 21 = error in processing external entity reference |
|
27 22 = document is not standalone |
|
28 23 = unexpected parser state |
|
29 24 = entity declared in parameter entity |
|
30 27 = prefix not bound to a namespace |
|
31 28 = must not undeclare prefix |
|
32 29 = incomplete markup in parameter entity |
|
33 30 = XML declaration not well-formed |
|
34 31 = text declaration not well-formed |
|
35 32 = illegal character(s) in public id |
|
36 38 = reserved prefix (xml) must not be undeclared or bound to another namespace name |
|
37 39 = reserved prefix (xmlns) must not be declared or undeclared |
|
38 40 = 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 |
|
44 XMLParsingError = 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. |
|
48 Expected = . Expected: </%S>. |