1 | #ifndef XML_ERROR_MESSAGES_H
|
---|
2 | #define XML_ERROR_MESSAGES_H
|
---|
3 |
|
---|
4 | #include <xercesc/util/XercesDefs.hpp>
|
---|
5 |
|
---|
6 | XERCES_CPP_NAMESPACE_BEGIN
|
---|
7 |
|
---|
8 | // These are Fatal error messages
|
---|
9 |
|
---|
10 | #define E_ExpectedCommentOrCDATA "XMLBE00"
|
---|
11 | #define E_ExpectedAttrName "XMLBE01"
|
---|
12 | #define E_ExpectedNotationName "XMLBE02"
|
---|
13 | #define E_NoRepInMixed "XMLBE03"
|
---|
14 | #define E_BadDefAttrDecl "XMLBE04"
|
---|
15 | #define E_ExpectedDefAttrDecl "XMLBE05"
|
---|
16 | #define E_AttListSyntaxError "XMLBE06"
|
---|
17 | #define E_ExpectedEqSign "XMLBE07"
|
---|
18 | #define E_DupAttrName "XMLBE08"
|
---|
19 | #define E_BadIdForXMLLangAttr "XMLBE09"
|
---|
20 | #define E_ExpectedElementName "XMLBE0A"
|
---|
21 | #define E_MustStartWithXMLDecl "XMLBE0B"
|
---|
22 | #define E_CommentsMustStartWith "XMLBE0C"
|
---|
23 | #define E_InvalidDocumentStructure "XMLBE0D"
|
---|
24 | #define E_ExpectedDeclString "XMLBE0E"
|
---|
25 | #define E_BadXMLVersion "XMLBE0F"
|
---|
26 | #define E_UnsupportedXMLVersion "XMLBE10"
|
---|
27 | #define E_UnterminatedXMLDecl "XMLBE11"
|
---|
28 | #define E_BadXMLEncoding "XMLBE12"
|
---|
29 | #define E_BadStandalone "XMLBE13"
|
---|
30 | #define E_UnterminatedComment "XMLBE14"
|
---|
31 | #define E_PINameExpected "XMLBE15"
|
---|
32 | #define E_UnterminatedPI "XMLBE16"
|
---|
33 | #define E_InvalidCharacter "XMLBE17"
|
---|
34 | #define E_UnexpectedEOF "XMLBE18"
|
---|
35 | #define E_UnexpectedTextBeforeRoot "XMLBE19"
|
---|
36 | #define E_UnterminatedStartTag "XMLBE1A"
|
---|
37 | #define E_ExpectedAttrValue "XMLBE1B"
|
---|
38 | #define E_UnterminatedEndTag "XMLBE1C"
|
---|
39 | #define E_ExpectedAttributeType "XMLBE1D"
|
---|
40 | #define E_ExpectedEndOfTagX "XMLBE1E"
|
---|
41 | #define E_ExpectedMarkup "XMLBE1F"
|
---|
42 | #define E_NotValidAfterContent "XMLBE20"
|
---|
43 | #define E_ExpectedComment "XMLBE21"
|
---|
44 | #define E_ExpectedCommentOrPI "XMLBE22"
|
---|
45 | #define E_ExpectedWhitespace "XMLBE23"
|
---|
46 | #define E_NoRootElemInDOCTYPE "XMLBE24"
|
---|
47 | #define E_ExpectedQuotedString "XMLBE25"
|
---|
48 | #define E_ExpectedPublicId "XMLBE26"
|
---|
49 | #define E_InvalidPublicIdChar "XMLBE27"
|
---|
50 | #define E_UnterminatedDOCTYPE "XMLBE28"
|
---|
51 | #define E_InvalidCharacterInIntSubset "XMLBE29"
|
---|
52 | #define E_ExpectedCDATA "XMLBE2A"
|
---|
53 | #define E_InvalidInitialNameChar "XMLBE2B"
|
---|
54 | #define E_InvalidNameChar "XMLBE2C"
|
---|
55 | #define E_UnexpectedWhitespace "XMLBE2D"
|
---|
56 | #define E_InvalidCharacterInAttrValue "XMLBE2E"
|
---|
57 | #define E_ExpectedMarkupDecl "XMLBE2F"
|
---|
58 | #define E_TextDeclNotLegalHere "XMLBE30"
|
---|
59 | #define E_ConditionalSectInIntSubset "XMLBE31"
|
---|
60 | #define E_ExpectedPEName "XMLBE32"
|
---|
61 | #define E_UnterminatedEntityDecl "XMLBE33"
|
---|
62 | #define E_InvalidCharacterRef "XMLBE34"
|
---|
63 | #define E_UnterminatedCharRef "XMLBE35"
|
---|
64 | #define E_ExpectedEntityRefName "XMLBE36"
|
---|
65 | #define E_EntityNotFound "XMLBE37"
|
---|
66 | #define E_NoUnparsedEntityRefs "XMLBE38"
|
---|
67 | #define E_UnterminatedEntityRef "XMLBE39"
|
---|
68 | #define E_RecursiveEntity "XMLBE3A"
|
---|
69 | #define E_PartialMarkupInEntity "XMLBE3B"
|
---|
70 | #define E_UnterminatedElementDecl "XMLBE3C"
|
---|
71 | #define E_ExpectedContentSpecExpr "XMLBE3D"
|
---|
72 | #define E_ExpectedAsterisk "XMLBE3E"
|
---|
73 | #define E_UnterminatedContentModel "XMLBE3F"
|
---|
74 | #define E_ExpectedSystemId "XMLBE40"
|
---|
75 | #define E_ExpectedSystemOrPublicId "XMLBE41"
|
---|
76 | #define E_UnterminatedNotationDecl "XMLBE42"
|
---|
77 | #define E_ExpectedSeqChoiceLeaf "XMLBE43"
|
---|
78 | #define E_ExpectedChoiceOrCloseParen "XMLBE44"
|
---|
79 | #define E_ExpectedSeqOrCloseParen "XMLBE45"
|
---|
80 | #define Gen_CouldNotOpenDTD "XMLBE46"
|
---|
81 | #define V_NotSameAsFixedValue "XMLBE47"
|
---|
82 | #define E_ExpectedEnumValue "XMLBE48"
|
---|
83 | #define E_ExpectedEnumSepOrParen "XMLBE49"
|
---|
84 | #define Gen_CouldNotOpenExtEntity "XMLBE4A"
|
---|
85 | #define E_UnterminatedEntityLiteral "XMLBE4B"
|
---|
86 | #define E_MoreEndThanStartTags "XMLBE4C"
|
---|
87 | #define E_IllegalRefInStandalone "XMLBE4D"
|
---|
88 | #define E_ExpectedOpenParen "XMLBE4E"
|
---|
89 | #define E_SysException "XMLBE4F"
|
---|
90 | #define E_AttrAlreadyUsedInSTag "XMLBE50"
|
---|
91 | #define E_BracketInAttrValue "XMLBE51"
|
---|
92 | #define E_XMLException "XMLBE52"
|
---|
93 | #define E_Expected2ndSurrogateChar "XMLBE53"
|
---|
94 | #define E_ExpectedEndOfConditional "XMLBE54"
|
---|
95 | #define E_ExpectedIncOrIgn "XMLBE55"
|
---|
96 | #define E_ExpectedINCLUDEBracket "XMLBE56"
|
---|
97 | #define E_ExpectedTextDecl "XMLBE57"
|
---|
98 | #define E_ExpectedXMLDecl "XMLBE58"
|
---|
99 | #define E_UnexpectedEOE "XMLBE59"
|
---|
100 | #define E_PEPropogated "XMLBE5A"
|
---|
101 | #define E_ExtraCloseSquare "XMLBE5B"
|
---|
102 | #define E_PERefInMarkupInIntSubset "XMLBE5C"
|
---|
103 | #define E_EntityPropogated "XMLBE5D"
|
---|
104 | #define E_ExpectedNumericalCharRef "XMLBE5E"
|
---|
105 | #define E_ExpectedOpenSquareBracket "XMLBE5F"
|
---|
106 | #define E_BadSequenceInCharData "XMLBE60"
|
---|
107 | #define E_IllegalSequenceInComment "XMLBE61"
|
---|
108 | #define E_UnterminatedCDATASection "XMLBE62"
|
---|
109 | #define E_ExpectedNDATA "XMLBE63"
|
---|
110 | #define E_NDATANotValidForPE "XMLBE64"
|
---|
111 | #define E_HexRadixMustBeLowerCase "XMLBE65"
|
---|
112 | #define E_DeclStringRep "XMLBE66"
|
---|
113 | #define E_DeclStringsInWrongOrder "XMLBE67"
|
---|
114 | #define E_NoExtRefsInAttValue "XMLBE68"
|
---|
115 | #define E_XMLDeclMustBeLowerCase "XMLBE69"
|
---|
116 | #define E_ExpectedEntityValue "XMLBE6A"
|
---|
117 | #define E_BadDigitForRadix "XMLBE6B"
|
---|
118 | #define E_EndedWithTagsOnStack "XMLBE6C"
|
---|
119 | #define E_AmbiguousContentModel "XMLBE6D"
|
---|
120 | #define E_NestedCDATA "XMLBE6E"
|
---|
121 | #define Gen_NoDTDValidator "XMLBE6F"
|
---|
122 | #define E_UnknownPrefix "XMLBE70"
|
---|
123 |
|
---|
124 |
|
---|
125 |
|
---|
126 | // These are Validity messages
|
---|
127 |
|
---|
128 | #define V_ElementNotDefined "XMLBE71"
|
---|
129 | #define V_AttNotDefined "XMLBE72"
|
---|
130 | #define V_NotationNotDeclared "XMLBE73"
|
---|
131 | #define V_RootElemNotLikeDocType "XMLBE74"
|
---|
132 | #define V_RequiredAttrNotProvided "XMLBE75"
|
---|
133 | #define V_ElementNotValidForContent "XMLBE76"
|
---|
134 | #define V_BadIDAttrDefType "XMLBE77"
|
---|
135 | #define V_InvalidEmptyAttValue "XMLBE78"
|
---|
136 | #define V_ElementAlreadyExists "XMLBE79"
|
---|
137 | #define V_MultipleIdAttrs "XMLBE7A"
|
---|
138 | #define V_ReusedIDValue "XMLBE7B"
|
---|
139 | #define V_IDNotDeclared "XMLBE7C"
|
---|
140 | #define V_UnknownNotRefAttr "XMLBE7D"
|
---|
141 | #define V_UndeclaredElemInDocType "XMLBE7E"
|
---|
142 | #define V_EmptyNotValidForContent "XMLBE7F"
|
---|
143 | #define V_AttNotDefinedForElement "XMLBE80"
|
---|
144 | #define V_BadEntityRefAttr "XMLBE81"
|
---|
145 | #define V_UnknownEntityRefAttr "XMLBE82"
|
---|
146 | #define V_NotEnoughElemsForCM "XMLBE83"
|
---|
147 |
|
---|
148 |
|
---|
149 |
|
---|
150 | #define E_NoPIStartsWithXML "XMLBE84"
|
---|
151 |
|
---|
152 | // These are Warnings messages
|
---|
153 |
|
---|
154 | #define W_NotationAlreadyExists "XMLBE85"
|
---|
155 | #define W_AttListAlreadyExists "XMLBE86"
|
---|
156 | #define W_ContradictoryEncoding "XMLBE87"
|
---|
157 | #define W_UndeclaredElemInCM "XMLBE88"
|
---|
158 | #define W_UndeclaredElemInAttList "XMLBE89"
|
---|
159 |
|
---|
160 |
|
---|
161 | // These are Exception Messages
|
---|
162 |
|
---|
163 | #define Array_BadIndex "XMLBE8A"
|
---|
164 | #define Array_BadNewSize "XMLBE8B"
|
---|
165 | #define CPtr_PointerIsZero "XMLBE8C"
|
---|
166 | #define Enum_NoMoreElements "XMLBE8D"
|
---|
167 | #define File_CouldNotOpenFile "XMLBE8E"
|
---|
168 | #define File_CouldNotGetCurPos "XMLBE8F"
|
---|
169 | #define File_CouldNotCloseFile "XMLBE90"
|
---|
170 | #define File_CouldNotSeekToEnd "XMLBE91"
|
---|
171 | #define File_CouldNotSeekToPos "XMLBE92"
|
---|
172 | #define File_CouldNotDupHandle "XMLBE93"
|
---|
173 | #define File_CouldNotReadFromFile "XMLBE94"
|
---|
174 | #define File_CouldNotResetFile "XMLBE95"
|
---|
175 | #define File_CouldNotGetSize "XMLBE96"
|
---|
176 | #define File_CouldNotGetBasePathName "XMLBE97"
|
---|
177 | #define HshTbl_ZeroModulus "XMLBE98"
|
---|
178 | #define HshTbl_BadHashFromKey "XMLBE99"
|
---|
179 | #define HshTbl_NoSuchKeyExists "XMLBE9A"
|
---|
180 | #define Mutex_CouldNotCreate "XMLBE9B"
|
---|
181 | #define Mutex_CouldNotClose "XMLBE9C"
|
---|
182 | #define Mutex_CouldNotLock "XMLBE9D"
|
---|
183 | #define Mutex_CouldNotUnlock "XMLBE9E"
|
---|
184 | #define Mutex_CouldNotDestroy "XMLBE9F"
|
---|
185 | #define Pool_ElemAlreadyExists "XMLBEA0"
|
---|
186 | #define Pool_BadHashFromKey "XMLBEA1"
|
---|
187 | #define Pool_InvalidId "XMLBEA2"
|
---|
188 | #define Pool_ZeroModulus "XMLBEA3"
|
---|
189 | #define Stack_BadIndex "XMLBEA4"
|
---|
190 | #define Stack_EmptyStack "XMLBEA5"
|
---|
191 | #define Str_ZeroSizedTargetBuf "XMLBEA6"
|
---|
192 | #define Str_UnknownRadix "XMLBEA7"
|
---|
193 | #define Str_TargetBufTooSmall "XMLBEA8"
|
---|
194 | #define Str_StartIndexPastEnd "XMLBEA9"
|
---|
195 | #define Strm_StdErrWriteFailure "XMLBEAA"
|
---|
196 | #define Strm_StdOutWriteFailure "XMLBEAB"
|
---|
197 | #define Strm_ConWriteFailure "XMLBEAC"
|
---|
198 | #define StrPool_IllegalId "XMLBEAD"
|
---|
199 | #define URL_MalformedURL "XMLBEAE"
|
---|
200 | #define URL_UnsupportedProto "XMLBEAF"
|
---|
201 | #define URL_OnlyLocalHost "XMLBEB0"
|
---|
202 | #define Vector_BadIndex "XMLBEB1"
|
---|
203 | #define Gen_UnexpectedEOF "XMLBEB2"
|
---|
204 | #define Gen_ParseInProgress "XMLBEB3"
|
---|
205 | #define AttrList_BadIndex "XMLBEB4"
|
---|
206 | #define ElemStack_EmptyStack "XMLBEB5"
|
---|
207 | #define ElemStack_BadIndex "XMLBEB6"
|
---|
208 | #define ElemStack_StackUnderflow "XMLBEB7"
|
---|
209 | #define ElemStack_NoParentPushed "XMLBEB8"
|
---|
210 | #define RdrMgr_ReaderIdNotFound "XMLBEB9"
|
---|
211 | #define Reader_BadAutoEncoding "XMLBEBA"
|
---|
212 | #define Reader_CantCreateCvtrFor "XMLBEBB"
|
---|
213 | #define Reader_CouldNotDecodeFirstLine "XMLBEBC"
|
---|
214 | #define Reader_EOIInMultiSeq "XMLBEBD"
|
---|
215 | /* #define Reader_EncodingNeedsCvtr "XMLBEBE" THIS GUY IS GONE */
|
---|
216 | #define Reader_BadUTF8Seq "XMLBEBF"
|
---|
217 | #define Reader_BadSurrogateInUTF8 "XMLBEC0"
|
---|
218 | #define Scan_CouldNotOpenSource "XMLBEC1"
|
---|
219 | #define Scan_UnbalancedStartEnd "XMLBEC2"
|
---|
220 | #define AttDef_BadAttType "XMLBEC3"
|
---|
221 | #define AttDef_BadDefAttType "XMLBEC4"
|
---|
222 | #define BufMgr_NoMoreBuffers "XMLBEC5"
|
---|
223 | #define BufMgr_BufferNotInPool "XMLBEC6"
|
---|
224 | #define XMLRec_UnknownEncoding "XMLBEC7"
|
---|
225 | #define Trans_CouldNotXCodeXMLData "XMLBEC8"
|
---|
226 | #define Trans_CouldNotCreateDefCvtr "XMLBEC9"
|
---|
227 | #define Bitset_BadIndex "XMLBECA"
|
---|
228 | #define CM_BinOpHadUnaryType "XMLBECB"
|
---|
229 | #define CM_MustBeMixedOrChildren "XMLBECC"
|
---|
230 | #define CM_NoPCDATAHere "XMLBECD"
|
---|
231 | #define CM_NotValidForSpecType "XMLBECE"
|
---|
232 | #define CM_UnaryOpHadBinType "XMLBECF"
|
---|
233 | #define CM_UnknownCMType "XMLBED0"
|
---|
234 | #define CM_UnknownCMSpecType "XMLBED1"
|
---|
235 | #define Val_InvalidElemId "XMLBED2"
|
---|
236 |
|
---|
237 | // These are the new messages for 3.0 code base
|
---|
238 | // Note ALL CAPITALIZED DEFINES ARE AS/400 UNIQUE MESSAGES
|
---|
239 | #define FILE_OPEN_PROBLEMS "XMLBED3"
|
---|
240 | #define ICONV_CONVERT_PROBLEM "XMLBED4"
|
---|
241 | #define ICONV_CCSID_PROBLEM "XMLBED5"
|
---|
242 | #define E_Unexpected2ndSurrogateChar "XMLBED6"
|
---|
243 | #define E_XMLDeclMustBeFirst "XMLBED7"
|
---|
244 | #define E_XMLVersionRequired "XMLBED8"
|
---|
245 | #define E_StandaloneNotLegal "XMLBED9"
|
---|
246 | #define E_TooManyColonsInName "XMLBEDA"
|
---|
247 | #define E_InvalidColonPos "XMLBEDB"
|
---|
248 | #define E_ColonNotLegalWithNS "XMLBEDC"
|
---|
249 | #define V_RepElemInMixed "XMLBEDD"
|
---|
250 | #define Val_CantHaveIntSS "XMLBEDE"
|
---|
251 | #define Scan_BadPScanToken "XMLBEDF"
|
---|
252 | #define URL_NoProtocolPresent "XMLBEE0"
|
---|
253 | #define URL_ExpectingTwoSlashes "XMLBEE1"
|
---|
254 | #define URL_IncorrectEscapedCharRef "XMLBEE2"
|
---|
255 | #define URL_UnterminatedHostComponent "XMLBEE3"
|
---|
256 | #define URL_UnsupportedProto1 "XMLBEE4"
|
---|
257 | #define V_NoCharDataInCM "XMLBEE5"
|
---|
258 | #define V_DoesNotMatchEnumList "XMLBEE6"
|
---|
259 | #define V_AttrValNotName "XMLBEE7"
|
---|
260 | #define V_NoMultipleValues "XMLBEE8"
|
---|
261 | #define E_PartialTagMarkupError "XMLBEE9"
|
---|
262 | #define E_EmptyMainEntity "XMLBEEA"
|
---|
263 | #define E_CDATAOutsideOfContent "XMLBEEB"
|
---|
264 | #define E_OnlyCharRefsAllowedHere "XMLBEEC"
|
---|
265 | #define GENERAL_PANIC_MESSAGE "XMLBEED"
|
---|
266 |
|
---|
267 | // NEW 3.1 MESSAGES Woops, forgot XMLBEEE
|
---|
268 | #define NetAcc_InternalError "XMLBEEF"
|
---|
269 | #define Reader_SrcOfsNotSupported "XMLBEF0"
|
---|
270 | #define Trans_InvalidSizeReq "XMLBEF1"
|
---|
271 | #define Trans_Unrepresentable "XMLBEF2"
|
---|
272 | #define Trans_NotInSourceSet "XMLBEF3"
|
---|
273 |
|
---|
274 |
|
---|
275 | char Errors[][8] = {
|
---|
276 |
|
---|
277 | E_ExpectedCommentOrCDATA
|
---|
278 | ,E_ExpectedAttrName
|
---|
279 | ,E_ExpectedNotationName
|
---|
280 | ,E_NoRepInMixed
|
---|
281 | ,E_BadDefAttrDecl
|
---|
282 | ,E_ExpectedDefAttrDecl
|
---|
283 | ,E_AttListSyntaxError
|
---|
284 | ,E_ExpectedEqSign
|
---|
285 | ,E_DupAttrName
|
---|
286 | ,E_BadIdForXMLLangAttr
|
---|
287 | ,E_ExpectedElementName
|
---|
288 | ,E_MustStartWithXMLDecl
|
---|
289 | ,E_CommentsMustStartWith
|
---|
290 | ,E_InvalidDocumentStructure
|
---|
291 | ,E_ExpectedDeclString
|
---|
292 | ,E_BadXMLVersion
|
---|
293 | ,E_UnsupportedXMLVersion
|
---|
294 | ,E_UnterminatedXMLDecl
|
---|
295 | ,E_BadXMLEncoding
|
---|
296 | ,E_BadStandalone
|
---|
297 | ,E_UnterminatedComment
|
---|
298 | ,E_PINameExpected
|
---|
299 | ,E_UnterminatedPI
|
---|
300 | ,E_InvalidCharacter
|
---|
301 | ,E_UnexpectedTextBeforeRoot
|
---|
302 | ,E_UnterminatedStartTag
|
---|
303 | ,E_ExpectedAttrValue
|
---|
304 | ,E_UnterminatedEndTag
|
---|
305 | ,E_ExpectedAttributeType
|
---|
306 | ,E_ExpectedEndOfTagX
|
---|
307 | ,E_ExpectedMarkup
|
---|
308 | ,E_NotValidAfterContent
|
---|
309 | ,E_ExpectedComment
|
---|
310 | ,E_ExpectedCommentOrPI
|
---|
311 | ,E_ExpectedWhitespace
|
---|
312 | ,E_NoRootElemInDOCTYPE
|
---|
313 | ,E_ExpectedQuotedString
|
---|
314 | ,E_ExpectedPublicId
|
---|
315 | ,E_InvalidPublicIdChar
|
---|
316 | ,E_UnterminatedDOCTYPE
|
---|
317 | ,E_InvalidCharacterInIntSubset
|
---|
318 | ,E_ExpectedCDATA
|
---|
319 | ,E_InvalidInitialNameChar
|
---|
320 | ,E_InvalidNameChar
|
---|
321 | ,E_UnexpectedWhitespace
|
---|
322 | ,E_InvalidCharacterInAttrValue
|
---|
323 | ,E_ExpectedMarkupDecl
|
---|
324 | ,E_TextDeclNotLegalHere
|
---|
325 | ,E_ConditionalSectInIntSubset
|
---|
326 | ,E_ExpectedPEName
|
---|
327 | ,E_UnterminatedEntityDecl
|
---|
328 | ,E_InvalidCharacterRef
|
---|
329 | ,E_UnterminatedCharRef
|
---|
330 | ,E_ExpectedEntityRefName
|
---|
331 | ,E_EntityNotFound
|
---|
332 | ,E_NoUnparsedEntityRefs
|
---|
333 | ,E_UnterminatedEntityRef
|
---|
334 | ,E_RecursiveEntity
|
---|
335 | ,E_PartialMarkupInEntity
|
---|
336 | ,E_UnterminatedElementDecl
|
---|
337 | ,E_ExpectedContentSpecExpr
|
---|
338 | ,E_ExpectedAsterisk
|
---|
339 | ,E_UnterminatedContentModel
|
---|
340 | ,E_ExpectedSystemId
|
---|
341 | ,E_ExpectedSystemOrPublicId
|
---|
342 | ,E_UnterminatedNotationDecl
|
---|
343 | ,E_ExpectedSeqChoiceLeaf
|
---|
344 | ,E_ExpectedChoiceOrCloseParen
|
---|
345 | ,E_ExpectedSeqOrCloseParen
|
---|
346 | ,E_ExpectedEnumValue
|
---|
347 | ,E_ExpectedEnumSepOrParen
|
---|
348 | ,E_UnterminatedEntityLiteral
|
---|
349 | ,E_MoreEndThanStartTags
|
---|
350 | ,E_IllegalRefInStandalone
|
---|
351 | ,E_ExpectedOpenParen
|
---|
352 | ,E_AttrAlreadyUsedInSTag
|
---|
353 | ,E_BracketInAttrValue
|
---|
354 | ,E_Expected2ndSurrogateChar
|
---|
355 | ,E_ExpectedEndOfConditional
|
---|
356 | ,E_ExpectedIncOrIgn
|
---|
357 | ,E_ExpectedINCLUDEBracket
|
---|
358 | ,E_ExpectedTextDecl
|
---|
359 | ,E_ExpectedXMLDecl
|
---|
360 | ,E_UnexpectedEOE
|
---|
361 | ,E_PEPropogated
|
---|
362 | ,E_ExtraCloseSquare
|
---|
363 | ,E_PERefInMarkupInIntSubset
|
---|
364 | ,E_EntityPropogated
|
---|
365 | ,E_ExpectedNumericalCharRef
|
---|
366 | ,E_ExpectedOpenSquareBracket
|
---|
367 | ,E_BadSequenceInCharData
|
---|
368 | ,E_IllegalSequenceInComment
|
---|
369 | ,E_UnterminatedCDATASection
|
---|
370 | ,E_ExpectedNDATA
|
---|
371 | ,E_NDATANotValidForPE
|
---|
372 | ,E_HexRadixMustBeLowerCase
|
---|
373 | ,E_DeclStringRep
|
---|
374 | ,E_DeclStringsInWrongOrder
|
---|
375 | ,E_NoExtRefsInAttValue
|
---|
376 | ,E_XMLDeclMustBeLowerCase
|
---|
377 | ,E_ExpectedEntityValue
|
---|
378 | ,E_BadDigitForRadix
|
---|
379 | ,E_EndedWithTagsOnStack
|
---|
380 | ,E_AmbiguousContentModel
|
---|
381 | ,E_NestedCDATA
|
---|
382 | ,E_UnknownPrefix
|
---|
383 | ,E_PartialTagMarkupError
|
---|
384 | ,E_EmptyMainEntity
|
---|
385 | ,E_CDATAOutsideOfContent
|
---|
386 | ,E_OnlyCharRefsAllowedHere
|
---|
387 | ,E_Unexpected2ndSurrogateChar
|
---|
388 | ,E_NoPIStartsWithXML
|
---|
389 | ,E_XMLDeclMustBeFirst
|
---|
390 | ,E_XMLVersionRequired
|
---|
391 | ,E_StandaloneNotLegal
|
---|
392 | ,E_TooManyColonsInName
|
---|
393 | ,E_InvalidColonPos
|
---|
394 | ,E_ColonNotLegalWithNS
|
---|
395 | ,E_SysException
|
---|
396 | ,E_XMLException
|
---|
397 | ,E_UnexpectedEOF
|
---|
398 | };
|
---|
399 |
|
---|
400 | char Invalid[][8] = {
|
---|
401 | V_ElementNotDefined,
|
---|
402 | V_AttNotDefined,
|
---|
403 | V_NotationNotDeclared,
|
---|
404 | V_RootElemNotLikeDocType,
|
---|
405 | V_RequiredAttrNotProvided,
|
---|
406 | V_ElementNotValidForContent,
|
---|
407 | V_BadIDAttrDefType,
|
---|
408 | V_InvalidEmptyAttValue,
|
---|
409 | V_ElementAlreadyExists,
|
---|
410 | V_MultipleIdAttrs,
|
---|
411 | V_ReusedIDValue,
|
---|
412 | V_IDNotDeclared,
|
---|
413 | V_UnknownNotRefAttr,
|
---|
414 | V_UndeclaredElemInDocType,
|
---|
415 | V_EmptyNotValidForContent,
|
---|
416 | V_AttNotDefinedForElement,
|
---|
417 | V_BadEntityRefAttr,
|
---|
418 | V_UnknownEntityRefAttr,
|
---|
419 | V_NotEnoughElemsForCM
|
---|
420 | ,V_NoCharDataInCM
|
---|
421 | ,V_DoesNotMatchEnumList
|
---|
422 | ,V_AttrValNotName
|
---|
423 | ,V_NoMultipleValues
|
---|
424 | ,V_NotSameAsFixedValue
|
---|
425 | ,V_RepElemInMixed
|
---|
426 | };
|
---|
427 |
|
---|
428 |
|
---|
429 | char Warnings[][8] = {
|
---|
430 | // W_NoPIStartsWithXML,
|
---|
431 | W_NotationAlreadyExists,
|
---|
432 | W_AttListAlreadyExists,
|
---|
433 | W_ContradictoryEncoding,
|
---|
434 | W_UndeclaredElemInCM,
|
---|
435 | W_UndeclaredElemInAttList
|
---|
436 | };
|
---|
437 |
|
---|
438 | char Exceptions[][8]= {
|
---|
439 | Array_BadIndex,
|
---|
440 | Array_BadNewSize,
|
---|
441 | AttrList_BadIndex,
|
---|
442 | AttDef_BadAttType,
|
---|
443 | AttDef_BadDefAttType,
|
---|
444 | Bitset_BadIndex,
|
---|
445 | BufMgr_NoMoreBuffers,
|
---|
446 | BufMgr_BufferNotInPool,
|
---|
447 | CPtr_PointerIsZero,
|
---|
448 | CM_BinOpHadUnaryType,
|
---|
449 | CM_MustBeMixedOrChildren,
|
---|
450 | CM_NoPCDATAHere,
|
---|
451 | CM_NotValidForSpecType,
|
---|
452 | CM_UnaryOpHadBinType,
|
---|
453 | CM_UnknownCMType,
|
---|
454 | CM_UnknownCMSpecType,
|
---|
455 | ElemStack_EmptyStack,
|
---|
456 | ElemStack_BadIndex,
|
---|
457 | ElemStack_StackUnderflow,
|
---|
458 | ElemStack_NoParentPushed,
|
---|
459 | Enum_NoMoreElements,
|
---|
460 | File_CouldNotOpenFile,
|
---|
461 | File_CouldNotGetCurPos,
|
---|
462 | File_CouldNotCloseFile ,
|
---|
463 | File_CouldNotSeekToEnd ,
|
---|
464 | File_CouldNotSeekToPos ,
|
---|
465 | File_CouldNotDupHandle ,
|
---|
466 | File_CouldNotReadFromFile,
|
---|
467 | File_CouldNotResetFile ,
|
---|
468 | File_CouldNotGetSize ,
|
---|
469 | File_CouldNotGetBasePathName,
|
---|
470 | Gen_ParseInProgress,
|
---|
471 | Gen_NoDTDValidator,
|
---|
472 | Gen_CouldNotOpenDTD,
|
---|
473 | Gen_CouldNotOpenExtEntity,
|
---|
474 | Gen_UnexpectedEOF,
|
---|
475 | HshTbl_ZeroModulus,
|
---|
476 | HshTbl_BadHashFromKey,
|
---|
477 | HshTbl_NoSuchKeyExists,
|
---|
478 | Mutex_CouldNotCreate,
|
---|
479 | Mutex_CouldNotClose,
|
---|
480 | Mutex_CouldNotLock,
|
---|
481 | Mutex_CouldNotUnlock,
|
---|
482 | Mutex_CouldNotDestroy,
|
---|
483 | NetAcc_InternalError,
|
---|
484 | Pool_ElemAlreadyExists,
|
---|
485 | Pool_BadHashFromKey,
|
---|
486 | Pool_InvalidId,
|
---|
487 | Pool_ZeroModulus,
|
---|
488 | RdrMgr_ReaderIdNotFound,
|
---|
489 | Reader_BadAutoEncoding,
|
---|
490 | Reader_CantCreateCvtrFor,
|
---|
491 | Reader_CouldNotDecodeFirstLine,
|
---|
492 | Reader_EOIInMultiSeq,
|
---|
493 | Reader_BadUTF8Seq,
|
---|
494 | Reader_BadSurrogateInUTF8,
|
---|
495 | Reader_SrcOfsNotSupported,
|
---|
496 | Scan_CouldNotOpenSource,
|
---|
497 | Scan_UnbalancedStartEnd,
|
---|
498 | Scan_BadPScanToken,
|
---|
499 | Stack_BadIndex,
|
---|
500 | Stack_EmptyStack,
|
---|
501 | Str_ZeroSizedTargetBuf,
|
---|
502 | Str_UnknownRadix,
|
---|
503 | Str_TargetBufTooSmall,
|
---|
504 | Str_StartIndexPastEnd,
|
---|
505 | Strm_StdErrWriteFailure,
|
---|
506 | Strm_StdOutWriteFailure,
|
---|
507 | Strm_ConWriteFailure,
|
---|
508 | StrPool_IllegalId,
|
---|
509 | Trans_CouldNotXCodeXMLData,
|
---|
510 | Trans_CouldNotCreateDefCvtr,
|
---|
511 | Trans_InvalidSizeReq,
|
---|
512 | Trans_Unrepresentable,
|
---|
513 | Trans_NotInSourceSet,
|
---|
514 | URL_MalformedURL,
|
---|
515 | URL_UnsupportedProto,
|
---|
516 | URL_UnsupportedProto1,
|
---|
517 | URL_OnlyLocalHost,
|
---|
518 | URL_NoProtocolPresent,
|
---|
519 | URL_ExpectingTwoSlashes,
|
---|
520 | URL_IncorrectEscapedCharRef,
|
---|
521 | URL_UnterminatedHostComponent,
|
---|
522 | Vector_BadIndex,
|
---|
523 | Val_InvalidElemId,
|
---|
524 | Val_CantHaveIntSS,
|
---|
525 | XMLRec_UnknownEncoding
|
---|
526 | };
|
---|
527 |
|
---|
528 | XERCES_CPP_NAMESPACE_END
|
---|
529 |
|
---|
530 | #endif
|
---|
531 |
|
---|
532 |
|
---|