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