summaryrefslogtreecommitdiffstats
path: root/dom/locales/en-US/chrome/layout/xmlparser.properties
diff options
context:
space:
mode:
Diffstat (limited to 'dom/locales/en-US/chrome/layout/xmlparser.properties')
-rw-r--r--dom/locales/en-US/chrome/layout/xmlparser.properties48
1 files changed, 48 insertions, 0 deletions
diff --git a/dom/locales/en-US/chrome/layout/xmlparser.properties b/dom/locales/en-US/chrome/layout/xmlparser.properties
new file mode 100644
index 0000000000..2bbb57c685
--- /dev/null
+++ b/dom/locales/en-US/chrome/layout/xmlparser.properties
@@ -0,0 +1,48 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# Map Expat error codes to error strings
+1 = out of memory
+2 = syntax error
+3 = no root element found
+4 = not well-formed
+5 = unclosed token
+6 = partial character
+7 = mismatched tag
+8 = duplicate attribute
+9 = junk after document element
+10 = illegal parameter entity reference
+11 = undefined entity
+12 = recursive entity reference
+13 = asynchronous entity
+14 = reference to invalid character number
+15 = reference to binary entity
+16 = reference to external entity in attribute
+17 = XML or text declaration not at start of entity
+18 = unknown encoding
+19 = encoding specified in XML declaration is incorrect
+20 = unclosed CDATA section
+21 = error in processing external entity reference
+22 = document is not standalone
+23 = unexpected parser state
+24 = entity declared in parameter entity
+27 = prefix not bound to a namespace
+28 = must not undeclare prefix
+29 = incomplete markup in parameter entity
+30 = XML declaration not well-formed
+31 = text declaration not well-formed
+32 = illegal character(s) in public id
+38 = reserved prefix (xml) must not be undeclared or bound to another namespace name
+39 = reserved prefix (xmlns) must not be declared or undeclared
+40 = prefix must not be bound to one of the reserved namespace names
+
+# %1$S is replaced by the Expat error string, may be followed by Expected (see below)
+# %2$S is replaced by URL
+# %3$u is replaced by line number
+# %4$u is replaced by column number
+XMLParsingError = XML Parsing Error: %1$S\nLocation: %2$S\nLine Number %3$u, Column %4$u:
+
+# %S is replaced by a tag name.
+# This gets appended to the error string if the error is mismatched tag.
+Expected = . Expected: </%S>.