[GME-commit] GMESRC/GME/Include/xercesc/util/MsgLoaders/msgfile CrtXMLMsgs, NONE, 1.1 Makefile.in, NONE, 1.1 MsgLoader.cpp, NONE, 1.1 MsgLoader.hpp, NONE, 1.1 XMLMessages.h, NONE, 1.1

Log messages of CVS commits gme-commit at list.isis.vanderbilt.edu
Tue Feb 19 14:16:30 CST 2008


Update of /project/gme-repository/GMESRC/GME/Include/xercesc/util/MsgLoaders/msgfile
In directory escher:/tmp/cvs-serv26529/util/MsgLoaders/msgfile

Added Files:
	CrtXMLMsgs Makefile.in MsgLoader.cpp MsgLoader.hpp 
	XMLMessages.h 
Log Message:
Xerces2.7 includes checkin.


CVS User: Zoltan Molnar, ISIS (zolmol)

--- NEW FILE: XMLMessages.h ---
#ifndef XML_ERROR_MESSAGES_H
#define XML_ERROR_MESSAGES_H

#include <xercesc/util/XercesDefs.hpp>

XERCES_CPP_NAMESPACE_BEGIN

// These are Fatal error messages

#define E_ExpectedCommentOrCDATA					"XMLBE00"
#define E_ExpectedAttrName						"XMLBE01"
#define E_ExpectedNotationName						"XMLBE02"
#define E_NoRepInMixed							"XMLBE03"
#define E_BadDefAttrDecl						"XMLBE04"
#define E_ExpectedDefAttrDecl						"XMLBE05"
#define E_AttListSyntaxError						"XMLBE06"
#define E_ExpectedEqSign						"XMLBE07"
#define E_DupAttrName							"XMLBE08"
#define E_BadIdForXMLLangAttr						"XMLBE09"
#define E_ExpectedElementName						"XMLBE0A"
#define E_MustStartWithXMLDecl						"XMLBE0B"
#define E_CommentsMustStartWith						"XMLBE0C"
#define E_InvalidDocumentStructure					"XMLBE0D"
#define E_ExpectedDeclString						"XMLBE0E"
#define E_BadXMLVersion							"XMLBE0F"
#define E_UnsupportedXMLVersion						"XMLBE10"
#define E_UnterminatedXMLDecl						"XMLBE11"
#define E_BadXMLEncoding						"XMLBE12"
#define E_BadStandalone							"XMLBE13"
#define E_UnterminatedComment						"XMLBE14"
#define E_PINameExpected						"XMLBE15"
#define E_UnterminatedPI						"XMLBE16"
#define E_InvalidCharacter						"XMLBE17"
#define E_UnexpectedEOF							"XMLBE18"
#define E_UnexpectedTextBeforeRoot					"XMLBE19"
#define E_UnterminatedStartTag						"XMLBE1A"
#define E_ExpectedAttrValue						"XMLBE1B"
#define E_UnterminatedEndTag						"XMLBE1C"
#define E_ExpectedAttributeType						"XMLBE1D"
#define E_ExpectedEndOfTagX						"XMLBE1E"
#define E_ExpectedMarkup						"XMLBE1F"
#define E_NotValidAfterContent						"XMLBE20"
#define E_ExpectedComment						"XMLBE21"
#define E_ExpectedCommentOrPI						"XMLBE22"
#define E_ExpectedWhitespace						"XMLBE23"
#define E_NoRootElemInDOCTYPE						"XMLBE24"
#define E_ExpectedQuotedString						"XMLBE25"
#define E_ExpectedPublicId						"XMLBE26"
#define E_InvalidPublicIdChar						"XMLBE27"
#define E_UnterminatedDOCTYPE						"XMLBE28"
#define E_InvalidCharacterInIntSubset					"XMLBE29"
#define E_ExpectedCDATA							"XMLBE2A"
#define E_InvalidInitialNameChar					"XMLBE2B"
#define E_InvalidNameChar						"XMLBE2C"
#define E_UnexpectedWhitespace						"XMLBE2D"
#define E_InvalidCharacterInAttrValue					"XMLBE2E"
#define E_ExpectedMarkupDecl						"XMLBE2F"
#define E_TextDeclNotLegalHere						"XMLBE30"
#define E_ConditionalSectInIntSubset					"XMLBE31"
#define E_ExpectedPEName						"XMLBE32"
#define E_UnterminatedEntityDecl					"XMLBE33"
#define E_InvalidCharacterRef						"XMLBE34"
#define E_UnterminatedCharRef						"XMLBE35"
#define E_ExpectedEntityRefName						"XMLBE36"
#define E_EntityNotFound						"XMLBE37"
#define E_NoUnparsedEntityRefs						"XMLBE38"
#define E_UnterminatedEntityRef						"XMLBE39"
#define E_RecursiveEntity						"XMLBE3A"
#define E_PartialMarkupInEntity						"XMLBE3B"
#define E_UnterminatedElementDecl					"XMLBE3C"
#define E_ExpectedContentSpecExpr					"XMLBE3D"
#define E_ExpectedAsterisk						"XMLBE3E"
#define E_UnterminatedContentModel					"XMLBE3F"
#define E_ExpectedSystemId						"XMLBE40"
#define E_ExpectedSystemOrPublicId					"XMLBE41"
#define E_UnterminatedNotationDecl					"XMLBE42"
#define E_ExpectedSeqChoiceLeaf						"XMLBE43"
#define E_ExpectedChoiceOrCloseParen					"XMLBE44"
#define E_ExpectedSeqOrCloseParen					"XMLBE45"
#define Gen_CouldNotOpenDTD						"XMLBE46"
#define V_NotSameAsFixedValue						"XMLBE47"
#define E_ExpectedEnumValue						"XMLBE48"
#define E_ExpectedEnumSepOrParen					"XMLBE49"
#define Gen_CouldNotOpenExtEntity					"XMLBE4A"
#define E_UnterminatedEntityLiteral					"XMLBE4B"
#define E_MoreEndThanStartTags						"XMLBE4C"
#define E_IllegalRefInStandalone					"XMLBE4D"
#define E_ExpectedOpenParen						"XMLBE4E"
#define E_SysException							"XMLBE4F"
#define E_AttrAlreadyUsedInSTag						"XMLBE50"
#define E_BracketInAttrValue						"XMLBE51"
#define E_XMLException							"XMLBE52"
#define E_Expected2ndSurrogateChar					"XMLBE53"
#define E_ExpectedEndOfConditional					"XMLBE54"
#define E_ExpectedIncOrIgn						"XMLBE55"
#define E_ExpectedINCLUDEBracket					"XMLBE56"
#define E_ExpectedTextDecl						"XMLBE57"
#define E_ExpectedXMLDecl						"XMLBE58"
#define E_UnexpectedEOE							"XMLBE59"
#define E_PEPropogated							"XMLBE5A"
#define E_ExtraCloseSquare						"XMLBE5B"
#define E_PERefInMarkupInIntSubset					"XMLBE5C"
#define E_EntityPropogated						"XMLBE5D"
#define E_ExpectedNumericalCharRef					"XMLBE5E"
#define E_ExpectedOpenSquareBracket					"XMLBE5F"
#define E_BadSequenceInCharData						"XMLBE60"
#define E_IllegalSequenceInComment					"XMLBE61"
#define E_UnterminatedCDATASection					"XMLBE62"
#define E_ExpectedNDATA							"XMLBE63"
#define E_NDATANotValidForPE						"XMLBE64"
#define E_HexRadixMustBeLowerCase					"XMLBE65"
#define E_DeclStringRep							"XMLBE66"
#define E_DeclStringsInWrongOrder					"XMLBE67"
#define E_NoExtRefsInAttValue						"XMLBE68"
#define E_XMLDeclMustBeLowerCase					"XMLBE69"
#define E_ExpectedEntityValue						"XMLBE6A"
#define E_BadDigitForRadix						"XMLBE6B"
#define E_EndedWithTagsOnStack						"XMLBE6C"
#define E_AmbiguousContentModel						"XMLBE6D"
#define E_NestedCDATA							"XMLBE6E"
#define Gen_NoDTDValidator						"XMLBE6F"
#define E_UnknownPrefix							"XMLBE70"



// These are Validity messages

#define V_ElementNotDefined						"XMLBE71"
#define V_AttNotDefined							"XMLBE72"
#define V_NotationNotDeclared						"XMLBE73"
#define V_RootElemNotLikeDocType					"XMLBE74"
#define V_RequiredAttrNotProvided					"XMLBE75"
#define V_ElementNotValidForContent					"XMLBE76"
#define V_BadIDAttrDefType						"XMLBE77"
#define V_InvalidEmptyAttValue						"XMLBE78"
#define V_ElementAlreadyExists						"XMLBE79"
#define V_MultipleIdAttrs						"XMLBE7A"
#define V_ReusedIDValue							"XMLBE7B"
#define V_IDNotDeclared							"XMLBE7C"
#define V_UnknownNotRefAttr						"XMLBE7D"
#define V_UndeclaredElemInDocType					"XMLBE7E"
#define V_EmptyNotValidForContent					"XMLBE7F"
#define V_AttNotDefinedForElement					"XMLBE80"
#define V_BadEntityRefAttr						"XMLBE81"
#define V_UnknownEntityRefAttr						"XMLBE82"
#define V_NotEnoughElemsForCM						"XMLBE83"



#define E_NoPIStartsWithXML						"XMLBE84"

// These are Warnings messages

#define W_NotationAlreadyExists						"XMLBE85"
#define W_AttListAlreadyExists						"XMLBE86"
#define W_ContradictoryEncoding						"XMLBE87"
#define W_UndeclaredElemInCM						"XMLBE88"
#define W_UndeclaredElemInAttList					"XMLBE89"


// These are Exception Messages

#define Array_BadIndex							"XMLBE8A"
#define Array_BadNewSize						"XMLBE8B"
#define CPtr_PointerIsZero						"XMLBE8C"
#define Enum_NoMoreElements						"XMLBE8D"
#define File_CouldNotOpenFile						"XMLBE8E"
#define File_CouldNotGetCurPos						"XMLBE8F"
#define File_CouldNotCloseFile						"XMLBE90"
#define File_CouldNotSeekToEnd						"XMLBE91"
#define File_CouldNotSeekToPos						"XMLBE92"
#define File_CouldNotDupHandle						"XMLBE93"
#define File_CouldNotReadFromFile					"XMLBE94"
#define File_CouldNotResetFile						"XMLBE95"
#define File_CouldNotGetSize						"XMLBE96"
#define File_CouldNotGetBasePathName					"XMLBE97"
#define HshTbl_ZeroModulus						"XMLBE98"
#define HshTbl_BadHashFromKey						"XMLBE99"
#define HshTbl_NoSuchKeyExists						"XMLBE9A"
#define Mutex_CouldNotCreate						"XMLBE9B"
#define Mutex_CouldNotClose						"XMLBE9C"
#define Mutex_CouldNotLock						"XMLBE9D"
#define Mutex_CouldNotUnlock						"XMLBE9E"
#define Mutex_CouldNotDestroy						"XMLBE9F"
#define Pool_ElemAlreadyExists						"XMLBEA0"
#define Pool_BadHashFromKey						"XMLBEA1"
#define Pool_InvalidId							"XMLBEA2"
#define Pool_ZeroModulus						"XMLBEA3"
#define Stack_BadIndex							"XMLBEA4"
#define Stack_EmptyStack						"XMLBEA5"
#define Str_ZeroSizedTargetBuf						"XMLBEA6"
#define Str_UnknownRadix						"XMLBEA7"
#define Str_TargetBufTooSmall						"XMLBEA8"
#define Str_StartIndexPastEnd						"XMLBEA9"
#define Strm_StdErrWriteFailure						"XMLBEAA"
#define Strm_StdOutWriteFailure						"XMLBEAB"
#define Strm_ConWriteFailure						"XMLBEAC"
#define StrPool_IllegalId						"XMLBEAD"
#define URL_MalformedURL						"XMLBEAE"
#define URL_UnsupportedProto						"XMLBEAF"
#define URL_OnlyLocalHost						"XMLBEB0"
#define Vector_BadIndex							"XMLBEB1"
#define Gen_UnexpectedEOF						"XMLBEB2"
#define Gen_ParseInProgress						"XMLBEB3"
#define AttrList_BadIndex						"XMLBEB4"
#define ElemStack_EmptyStack						"XMLBEB5"
#define ElemStack_BadIndex						"XMLBEB6"
#define ElemStack_StackUnderflow					"XMLBEB7"
#define ElemStack_NoParentPushed					"XMLBEB8"
#define RdrMgr_ReaderIdNotFound						"XMLBEB9"
#define Reader_BadAutoEncoding						"XMLBEBA"
#define Reader_CantCreateCvtrFor					"XMLBEBB"
#define Reader_CouldNotDecodeFirstLine					"XMLBEBC"
#define Reader_EOIInMultiSeq						"XMLBEBD"
/* #define Reader_EncodingNeedsCvtr					"XMLBEBE"   THIS GUY IS GONE */
#define Reader_BadUTF8Seq						"XMLBEBF"
#define Reader_BadSurrogateInUTF8					"XMLBEC0"
#define Scan_CouldNotOpenSource						"XMLBEC1"
#define Scan_UnbalancedStartEnd						"XMLBEC2"
#define AttDef_BadAttType						"XMLBEC3"
#define AttDef_BadDefAttType						"XMLBEC4"
#define BufMgr_NoMoreBuffers						"XMLBEC5"
#define BufMgr_BufferNotInPool						"XMLBEC6"
#define XMLRec_UnknownEncoding						"XMLBEC7"
#define Trans_CouldNotXCodeXMLData					"XMLBEC8"
#define Trans_CouldNotCreateDefCvtr					"XMLBEC9"
#define Bitset_BadIndex							"XMLBECA"
#define CM_BinOpHadUnaryType						"XMLBECB"
#define CM_MustBeMixedOrChildren					"XMLBECC"
#define CM_NoPCDATAHere							"XMLBECD"
#define CM_NotValidForSpecType						"XMLBECE"
#define CM_UnaryOpHadBinType						"XMLBECF"
#define CM_UnknownCMType						"XMLBED0"
#define CM_UnknownCMSpecType						"XMLBED1"
#define Val_InvalidElemId						"XMLBED2"

// These are the new messages for 3.0 code base
// Note ALL CAPITALIZED DEFINES ARE AS/400 UNIQUE MESSAGES
#define FILE_OPEN_PROBLEMS						"XMLBED3"
#define ICONV_CONVERT_PROBLEM						"XMLBED4"
#define ICONV_CCSID_PROBLEM						"XMLBED5"
#define E_Unexpected2ndSurrogateChar					"XMLBED6"
#define E_XMLDeclMustBeFirst						"XMLBED7"
#define E_XMLVersionRequired						"XMLBED8"
#define E_StandaloneNotLegal						"XMLBED9"
#define E_TooManyColonsInName						"XMLBEDA"
#define E_InvalidColonPos						"XMLBEDB"
#define E_ColonNotLegalWithNS						"XMLBEDC"
#define V_RepElemInMixed						"XMLBEDD"
#define Val_CantHaveIntSS						"XMLBEDE"
#define Scan_BadPScanToken						"XMLBEDF"
#define URL_NoProtocolPresent						"XMLBEE0"
#define URL_ExpectingTwoSlashes						"XMLBEE1"
#define URL_IncorrectEscapedCharRef					"XMLBEE2"
#define URL_UnterminatedHostComponent					"XMLBEE3"
#define URL_UnsupportedProto1						"XMLBEE4"
#define V_NoCharDataInCM						"XMLBEE5"
#define V_DoesNotMatchEnumList						"XMLBEE6"
#define V_AttrValNotName						"XMLBEE7"
#define V_NoMultipleValues						"XMLBEE8"
#define E_PartialTagMarkupError						"XMLBEE9"
#define E_EmptyMainEntity						"XMLBEEA"
#define E_CDATAOutsideOfContent						"XMLBEEB"
#define E_OnlyCharRefsAllowedHere					"XMLBEEC"
#define GENERAL_PANIC_MESSAGE   					"XMLBEED"

// NEW 3.1 MESSAGES					Woops, forgot XMLBEEE
#define NetAcc_InternalError						"XMLBEEF"
#define Reader_SrcOfsNotSupported					"XMLBEF0"
#define Trans_InvalidSizeReq						"XMLBEF1"
#define Trans_Unrepresentable						"XMLBEF2"
#define Trans_NotInSourceSet						"XMLBEF3"


char Errors[][8] =  {

  E_ExpectedCommentOrCDATA
 ,E_ExpectedAttrName	
 ,E_ExpectedNotationName
 ,E_NoRepInMixed
 ,E_BadDefAttrDecl
 ,E_ExpectedDefAttrDecl
 ,E_AttListSyntaxError
 ,E_ExpectedEqSign	
 ,E_DupAttrName	
 ,E_BadIdForXMLLangAttr	
 ,E_ExpectedElementName	
 ,E_MustStartWithXMLDecl
 ,E_CommentsMustStartWith
 ,E_InvalidDocumentStructure
 ,E_ExpectedDeclString	
 ,E_BadXMLVersion
 ,E_UnsupportedXMLVersion
 ,E_UnterminatedXMLDecl	
 ,E_BadXMLEncoding
 ,E_BadStandalone
 ,E_UnterminatedComment	
 ,E_PINameExpected
 ,E_UnterminatedPI
 ,E_InvalidCharacter
 ,E_UnexpectedTextBeforeRoot
 ,E_UnterminatedStartTag
 ,E_ExpectedAttrValue
 ,E_UnterminatedEndTag
 ,E_ExpectedAttributeType
 ,E_ExpectedEndOfTagX
 ,E_ExpectedMarkup
 ,E_NotValidAfterContent
 ,E_ExpectedComment
 ,E_ExpectedCommentOrPI	
 ,E_ExpectedWhitespace
 ,E_NoRootElemInDOCTYPE
 ,E_ExpectedQuotedString
 ,E_ExpectedPublicId
 ,E_InvalidPublicIdChar
 ,E_UnterminatedDOCTYPE	
 ,E_InvalidCharacterInIntSubset	
 ,E_ExpectedCDATA
 ,E_InvalidInitialNameChar
 ,E_InvalidNameChar
 ,E_UnexpectedWhitespace
 ,E_InvalidCharacterInAttrValue	
 ,E_ExpectedMarkupDecl
 ,E_TextDeclNotLegalHere
 ,E_ConditionalSectInIntSubset
 ,E_ExpectedPEName
 ,E_UnterminatedEntityDecl
 ,E_InvalidCharacterRef
 ,E_UnterminatedCharRef
 ,E_ExpectedEntityRefName
 ,E_EntityNotFound
 ,E_NoUnparsedEntityRefs
 ,E_UnterminatedEntityRef
 ,E_RecursiveEntity
 ,E_PartialMarkupInEntity
 ,E_UnterminatedElementDecl
 ,E_ExpectedContentSpecExpr
 ,E_ExpectedAsterisk
 ,E_UnterminatedContentModel
 ,E_ExpectedSystemId
 ,E_ExpectedSystemOrPublicId
 ,E_UnterminatedNotationDecl
 ,E_ExpectedSeqChoiceLeaf
 ,E_ExpectedChoiceOrCloseParen
 ,E_ExpectedSeqOrCloseParen
 ,E_ExpectedEnumValue
 ,E_ExpectedEnumSepOrParen
 ,E_UnterminatedEntityLiteral
 ,E_MoreEndThanStartTags
 ,E_IllegalRefInStandalone
 ,E_ExpectedOpenParen
 ,E_AttrAlreadyUsedInSTag
 ,E_BracketInAttrValue
 ,E_Expected2ndSurrogateChar
 ,E_ExpectedEndOfConditional
 ,E_ExpectedIncOrIgn
 ,E_ExpectedINCLUDEBracket
 ,E_ExpectedTextDecl
 ,E_ExpectedXMLDecl
 ,E_UnexpectedEOE
 ,E_PEPropogated
 ,E_ExtraCloseSquare
 ,E_PERefInMarkupInIntSubset
 ,E_EntityPropogated
 ,E_ExpectedNumericalCharRef
 ,E_ExpectedOpenSquareBracket
 ,E_BadSequenceInCharData
 ,E_IllegalSequenceInComment
 ,E_UnterminatedCDATASection
 ,E_ExpectedNDATA
 ,E_NDATANotValidForPE
 ,E_HexRadixMustBeLowerCase
 ,E_DeclStringRep
 ,E_DeclStringsInWrongOrder
 ,E_NoExtRefsInAttValue
 ,E_XMLDeclMustBeLowerCase
 ,E_ExpectedEntityValue
 ,E_BadDigitForRadix
 ,E_EndedWithTagsOnStack
 ,E_AmbiguousContentModel
 ,E_NestedCDATA
 ,E_UnknownPrefix
 ,E_PartialTagMarkupError
 ,E_EmptyMainEntity
 ,E_CDATAOutsideOfContent
 ,E_OnlyCharRefsAllowedHere
 ,E_Unexpected2ndSurrogateChar
 ,E_NoPIStartsWithXML
 ,E_XMLDeclMustBeFirst
 ,E_XMLVersionRequired
 ,E_StandaloneNotLegal
 ,E_TooManyColonsInName
 ,E_InvalidColonPos
 ,E_ColonNotLegalWithNS
 ,E_SysException
 ,E_XMLException
 ,E_UnexpectedEOF
};

char Invalid[][8] = {
 V_ElementNotDefined,
 V_AttNotDefined,
 V_NotationNotDeclared,
 V_RootElemNotLikeDocType,
 V_RequiredAttrNotProvided,
 V_ElementNotValidForContent,
 V_BadIDAttrDefType,
 V_InvalidEmptyAttValue,
 V_ElementAlreadyExists,
 V_MultipleIdAttrs,
 V_ReusedIDValue,
 V_IDNotDeclared,
 V_UnknownNotRefAttr,
 V_UndeclaredElemInDocType,
 V_EmptyNotValidForContent,
 V_AttNotDefinedForElement,
 V_BadEntityRefAttr,
 V_UnknownEntityRefAttr,
 V_NotEnoughElemsForCM
 ,V_NoCharDataInCM
 ,V_DoesNotMatchEnumList
 ,V_AttrValNotName
 ,V_NoMultipleValues
 ,V_NotSameAsFixedValue
 ,V_RepElemInMixed
};						


char Warnings[][8] = {
// W_NoPIStartsWithXML,
 W_NotationAlreadyExists,
 W_AttListAlreadyExists,
 W_ContradictoryEncoding,
 W_UndeclaredElemInCM,
 W_UndeclaredElemInAttList
};

char Exceptions[][8]= {
 Array_BadIndex,
 Array_BadNewSize,
 AttrList_BadIndex,
 AttDef_BadAttType,
 AttDef_BadDefAttType,
 Bitset_BadIndex,
 BufMgr_NoMoreBuffers,
 BufMgr_BufferNotInPool,
 CPtr_PointerIsZero,
 CM_BinOpHadUnaryType,
 CM_MustBeMixedOrChildren,
 CM_NoPCDATAHere,
 CM_NotValidForSpecType,
 CM_UnaryOpHadBinType,
 CM_UnknownCMType,
 CM_UnknownCMSpecType,
 ElemStack_EmptyStack,
 ElemStack_BadIndex,
 ElemStack_StackUnderflow,
 ElemStack_NoParentPushed,
 Enum_NoMoreElements,
 File_CouldNotOpenFile,
 File_CouldNotGetCurPos,
 File_CouldNotCloseFile	,
 File_CouldNotSeekToEnd	,
 File_CouldNotSeekToPos	,
 File_CouldNotDupHandle	,
 File_CouldNotReadFromFile,
 File_CouldNotResetFile	,
 File_CouldNotGetSize	,
 File_CouldNotGetBasePathName,
 Gen_ParseInProgress,
 Gen_NoDTDValidator,
 Gen_CouldNotOpenDTD,
 Gen_CouldNotOpenExtEntity,
 Gen_UnexpectedEOF,
 HshTbl_ZeroModulus,
 HshTbl_BadHashFromKey,
 HshTbl_NoSuchKeyExists,
 Mutex_CouldNotCreate,
 Mutex_CouldNotClose,
 Mutex_CouldNotLock,
 Mutex_CouldNotUnlock,
 Mutex_CouldNotDestroy,
 NetAcc_InternalError,
 Pool_ElemAlreadyExists,
 Pool_BadHashFromKey,
 Pool_InvalidId,
 Pool_ZeroModulus,
 RdrMgr_ReaderIdNotFound,
 Reader_BadAutoEncoding,
 Reader_CantCreateCvtrFor,
 Reader_CouldNotDecodeFirstLine,
 Reader_EOIInMultiSeq,
 Reader_BadUTF8Seq,
 Reader_BadSurrogateInUTF8,
 Reader_SrcOfsNotSupported,
 Scan_CouldNotOpenSource,
 Scan_UnbalancedStartEnd,
 Scan_BadPScanToken,
 Stack_BadIndex,
 Stack_EmptyStack,
 Str_ZeroSizedTargetBuf,
 Str_UnknownRadix,
 Str_TargetBufTooSmall,
 Str_StartIndexPastEnd,
 Strm_StdErrWriteFailure,
 Strm_StdOutWriteFailure,
 Strm_ConWriteFailure,
 StrPool_IllegalId,
 Trans_CouldNotXCodeXMLData,
 Trans_CouldNotCreateDefCvtr,
 Trans_InvalidSizeReq,
 Trans_Unrepresentable,
 Trans_NotInSourceSet,
 URL_MalformedURL,
 URL_UnsupportedProto,
 URL_UnsupportedProto1,
 URL_OnlyLocalHost,
 URL_NoProtocolPresent,
 URL_ExpectingTwoSlashes,
 URL_IncorrectEscapedCharRef,
 URL_UnterminatedHostComponent,
 Vector_BadIndex,
 Val_InvalidElemId,
 Val_CantHaveIntSS,
 XMLRec_UnknownEncoding
};

XERCES_CPP_NAMESPACE_END

#endif



--- NEW FILE: Makefile.in ---
#
# Copyright 1999-2000,2004 The Apache Software Foundation.
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#      http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#

PLATFORM = @platform@
COMPILER = @compiler@
GCC = @GCC@
GXX = @GXX@
PREFIX = @prefix@
THREADS = @threads@
PREFIX_INCLUDE = @prefix_include@
include ../../../Makefile.incl

MODULE = util
SUBMODULE = MsgLoaders/MsgFile

CPP_PUBHEADERS = \
	MsgLoader.hpp

CPP_OBJECTS = MsgLoader.$(TO)

include ../../Makefile.util.submodule

--- NEW FILE: CrtXMLMsgs ---
 /*
 * Copyright 1999-2000,2004 The Apache Software Foundation.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 /*                                                                   */
 /* Copyright (c) 1999-2000 The Apache Software Foundation.  All      */
 /* rights reserved.                                                  */
 /*                                                                   */
 /* Redistribution and use in source and binary forms, with or without*/
 /* modification, are permitted provided that the following conditions*/
 /* are met:                                                          */
 /*                                                                   */
 /* 1. Redistributions of source code must retain the above copyright */
 /*    notice, this list of conditions and the following disclaimer.  */
 /*                                                                   */
 /* 2. Redistributions in binary form must reproduce the above copyrig*/
 /*    notice, this list of conditions and the following disclaimer in*/
 /*    the documentation and/or other materials provided with the     */
 /*    distribution.                                                  */
 /*                                                                   */
 /* 3. The end-user documentation included with the redistribution,   */
 /*    if any, must include the following acknowledgment:             */
 /*       "This product includes software developed by the            */
 /*        Apache Software Foundation (http://www.apache.org/)."      */
 /*    Alternately, this acknowledgment may appear in the software    */
 /*    itself if and wherever such third-party acknowledgments        */
 /*    normally appear.                                               */
 /*                                                                   */
 /* 4. The names "Xerces" and "Apache Software Foundation" must       */
 /*    not be used to endorse or promote products derived from this   */
 /*    software without prior written permission. For written         */
 /*    permission, please contact apache\@apache.org.                 */
 /*                                                                   */
 /* 5. Products derived from this software may not be called "Apache",*/
 /*    nor may "Apache" appear in their name, without prior written   */
 /*    permission of the Apache Software Foundation.                  */
 /*                                                                   */
 /* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED  */
 /* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES */
 /* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE       */
 /* DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR  */
 /* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,  */
 /* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT  */
 /* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF  */
 /* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED & */
 /* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,*/
 /* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT*/
 /* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF*/
 /* SUCH DAMAGE.                                                      */
 /* ==================================================================*/
 /*                                                                   */
 /* This software consists of voluntary contributions made by many    */
 /* individuals on behalf of the Apache Software Foundation, and was  */
 /* originally based on software copyright (c) 1999, International    */
 /* Business Machines, Inc., http://www.ibm.com . For more information*/
 /* on the Apache Software Foundation, please see                     */
 /* <http://www.apache.org/>.                                         */
 /*                                                                   */
 /*                                                                   */
 /* $Log: CrtXMLMsgs,v $
 /* Revision 1.1  2008/02/19 20:16:28  zolmol
 /* Xerces2.7 includes checkin.
 /*
  * Revision 1.2  2004/09/08 13:56:34  peiyongz
  * Apache License Version 2.0
  *
 /* Revision 1.1.1.1  2002/02/01 22:22:22  peiyongz
 /* sane_include
 /*
 /* Revision 1.3  2000/02/11 17:48:19  abagchi
 /* Message change for some Panic return codes
 /*
 /* Revision 1.2  2000/02/10 00:15:02  abagchi
 /* Added Apache Copyright notice
 /*                                  */
 /* Revision 1.2  2000/02/06 07:48:23  swan                           */
 /* Year 2K copyright swat.                                           */
 /*                                                                   */
 /*********************************************************************/
 /*   The following CL source program creates a message file and      */
 /*   adds to the message file the XML parser messages.  If the       */
 /*   message file already exists, it just adds the parser messages.  */
 /*                                                                   */
 /*   Copy the stream file to an AS/400 source physical file using    */
 /*        CPYFRMSTMF command.   Make sure the target source physical */
 /*        file has record length of 200 to avoid truncation          */
 /*        Use CRTSRCPF.                                              */
 /*   After creating the CL program,  call it with two argument:      */
 /*        1)  Message file name (recommend QXMLMSG)                  */
 /*        2)  Message file library  (recommend your product library) */
 /*   The XML MsgLoader support assumes parser messages are in:       */
 /*        QXMLMSG   *LIBL                                            */
 /*   If you specify a different target message file then QXMLMSG,    */
 /*   you must update the following cpp source to reference the       */
 /*   changed message file name. If you do not run with your product  */
 /*   library in the library list you will also need to change the    */
 /*   library qualifier.                                              */
 /*                                                                   */
 /*  <xml directory>/src/util/MsgLoaders/MsgFile/MsgLoader.cpp        */
 /*  <xml directory>/src/util/Platforms/OS400/OS400PlatformUtils.cpp  */
 /*********************************************************************/

             PGM        PARM(&FILENAME &LIBNAME)
             DCL        VAR(&FILENAME) TYPE(*CHAR) LEN(10)
             DCL        VAR(&LIBNAME) TYPE(*CHAR) LEN(10)
             MONMSG     MSGID(CPF0000)

             CRTMSGF    MSGF(&LIBNAME/&FILENAME)
             RMVMSGD    MSGID(XMLBE00) MSGF(&LIBNAME/&FILENAME)

             ADDMSGD    MSGID(XMLBE00) MSGF(&LIBNAME/&FILENAME) MSG('Expected comment or CDATA') SEV(20) DMPLST(*NONE) LVL('12/03/99' 81) ALROPT(*NO) LOGPRB(*NO) CCSID(*JOB)

             RMVMSGD    MSGID(XMLBE01) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE01) MSGF(&LIBNAME/&FILENAME) MSG('Expected attribute name') SEV(10) DMPLST(*NONE) LVL('12/03/99' 81) ALROPT(*NO) LOGPRB(*NO) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE02) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE02) MSGF(&LIBNAME/&FILENAME) MSG('Expected notation name') SEV(20) DMPLST(*NONE) LVL('12/03/99' 81) ALROPT(*NO) LOGPRB(*NO) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE03) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE03) MSGF(&LIBNAME/&FILENAME) MSG('Repetition of individual elements is not legal for mixed content models') SEV(20) DMPLST(*NONE) LVL('12/03/99' 81) +
                          ALROPT(*NO) LOGPRB(*NO) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE04) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE04) MSGF(&LIBNAME/&FILENAME) MSG('Bad default attribute declaration') SEV(20) DMPLST(*NONE) LVL('12/03/99' 81) ALROPT(*NO) LOGPRB(*NO) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE05) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE05) MSGF(&LIBNAME/&FILENAME) MSG('Expected default attribute declaration, assuming #IMPLIED') SEV(20) DMPLST(*NONE) LVL('12/03/99' 81) ALROPT(*NO) +
                          LOGPRB(*NO) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE06) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE06) MSGF(&LIBNAME/&FILENAME) MSG('Attribute list syntax error') SEV(20) DMPLST(*NONE) LVL('12/03/99' 81) ALROPT(*NO) LOGPRB(*NO) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE07) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE07) MSGF(&LIBNAME/&FILENAME) MSG('Expected equal sign') SEV(20) DMPLST(*NONE) LVL('12/03/99' 81) ALROPT(*NO) LOGPRB(*NO) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE08) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE08) MSGF(&LIBNAME/&FILENAME) MSG('Duplicated attribute name') SEV(20) DMPLST(*NONE) LVL('12/03/99' 81) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE09) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE09) MSGF(&LIBNAME/&FILENAME) MSG('Bad ID ''&1'' for xml:lang attribute') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 81) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE0A) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE0A) MSGF(&LIBNAME/&FILENAME) MSG('Expected element name') SEV(20) DMPLST(*NONE) LVL('12/03/99' 81) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE0B) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE0B) MSGF(&LIBNAME/&FILENAME) MSG('Must start with an XMLDecl') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE0C) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE0C) MSGF(&LIBNAME/&FILENAME) MSG('Comments must start with <!--') SEV(20) DMPLST(*NONE) LVL('01/14/00' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE0D) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE0D) MSGF(&LIBNAME/&FILENAME) MSG('Invalid document structure') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE0E) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE0E) MSGF(&LIBNAME/&FILENAME) MSG('Expected ''version='', ''encoding='', or ''standalone=''') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE0F) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE0F) MSGF(&LIBNAME/&FILENAME) MSG('Bad XML version string') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE10) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE10) MSGF(&LIBNAME/&FILENAME) MSG('Unsupported XML version, ''&1''') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE11) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE11) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated XML decl') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE12) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE12) MSGF(&LIBNAME/&FILENAME) MSG('Bad XML encoding declaration') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE13) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE13) MSGF(&LIBNAME/&FILENAME) MSG('Bad standalone declaration') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE14) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE14) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated comment') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE15) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE15) MSGF(&LIBNAME/&FILENAME) MSG('Processing instruction name expected') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE16) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE16) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated processing instruction') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE17) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE17) MSGF(&LIBNAME/&FILENAME) MSG('Invalid character (Unicode: 0x&1)') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE18) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE18) MSGF(&LIBNAME/&FILENAME) MSG('Unexpected end of file exception. Message: &1') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/14/00' 76) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE19) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE19) MSGF(&LIBNAME/&FILENAME) MSG('Unexpected text before root element') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE1A) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE1A) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated start tag, ''&1''') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE1B) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE1B) MSGF(&LIBNAME/&FILENAME) MSG('Expected attribute value') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE1C) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE1C) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated end tag') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE1D) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE1D) MSGF(&LIBNAME/&FILENAME) MSG('Expected attribute type (CDATA, ID, NMTOKEN, ...), for attribute ''&1'' of element ''&2''') SEV(20) FMT((*CHAR *VARY +
                          2) (*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE1E) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE1E) MSGF(&LIBNAME/&FILENAME) MSG('Expected end of tag ''&1''') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 73) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE1F) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE1F) MSGF(&LIBNAME/&FILENAME) MSG('Expected tag name, comment, PI, or other markup') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE20) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE20) MSGF(&LIBNAME/&FILENAME) MSG('Not valid after content') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE21) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE21) MSGF(&LIBNAME/&FILENAME) MSG('Expected comment') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE22) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE22) MSGF(&LIBNAME/&FILENAME) MSG('Expected comment or processing instruction') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE23) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE23) MSGF(&LIBNAME/&FILENAME) MSG('Expected whitespace') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE24) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE24) MSGF(&LIBNAME/&FILENAME) MSG('No root element in DOCTYPE') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE25) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE25) MSGF(&LIBNAME/&FILENAME) MSG('Expected quoted string') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE26) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE26) MSGF(&LIBNAME/&FILENAME) MSG('Expected public id') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE27) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE27) MSGF(&LIBNAME/&FILENAME) MSG('Invalid character in public id (Unicode: 0x&1)') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 83) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE28) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE28) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated DOCTYPE declaration') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE29) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE29) MSGF(&LIBNAME/&FILENAME) MSG('Invalid character in internal subset (Unicode: 0x&1)') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 83) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE2A) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE2A) MSGF(&LIBNAME/&FILENAME) MSG('Expected CDATA section') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE2B) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE2B) MSGF(&LIBNAME/&FILENAME) MSG('Invalid initial name character') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE2C) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE2C) MSGF(&LIBNAME/&FILENAME) MSG('Invalid name character') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE2D) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE2D) MSGF(&LIBNAME/&FILENAME) MSG('Unexpected whitespace') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE2E) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE2E) MSGF(&LIBNAME/&FILENAME) MSG('Invalid character in attribute value (Unicode: 0x&1)') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 83) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE2F) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE2F) MSGF(&LIBNAME/&FILENAME) MSG('Expected a markup declaration') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE30) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE30) MSGF(&LIBNAME/&FILENAME) MSG('Text declaration not legal here') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE31) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE31) MSGF(&LIBNAME/&FILENAME) MSG('Conditional section in internal subset') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE32) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE32) MSGF(&LIBNAME/&FILENAME) MSG('Expected parameter entity name') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE33) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE33) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated entity declaration, ''&1''') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE34) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE34) MSGF(&LIBNAME/&FILENAME) MSG('Invalid character reference') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE35) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE35) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated character reference') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE36) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE36) MSGF(&LIBNAME/&FILENAME) MSG('Expected entity name for reference') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE37) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE37) MSGF(&LIBNAME/&FILENAME) MSG('Entity ''&1'' was not found') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 71) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE38) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE38) MSGF(&LIBNAME/&FILENAME) MSG('Unparsed entity references, ''&1'', not valid here') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/14/00' 76) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE39) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE39) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated entity reference') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE3A) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE3A) MSGF(&LIBNAME/&FILENAME) MSG('Recursive entity expansion') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE3B) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE3B) MSGF(&LIBNAME/&FILENAME) MSG('Partial markup in entity value') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE3C) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE3C) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated element declaration, ''&1''') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE3D) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE3D) MSGF(&LIBNAME/&FILENAME) MSG('Expected content specification expression for element ''&1''') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) +
                          LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE3E) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE3E) MSGF(&LIBNAME/&FILENAME) MSG('Expected asterisk') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE3F) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE3F) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated Content model') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE40) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE40) MSGF(&LIBNAME/&FILENAME) MSG('Expected system id') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE41) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE41) MSGF(&LIBNAME/&FILENAME) MSG('Expected system or public id') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE42) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE42) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated notation declaration') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE43) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE43) MSGF(&LIBNAME/&FILENAME) MSG('Expected '','', ''|'', or '')'' characters') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE44) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE44) MSGF(&LIBNAME/&FILENAME) MSG('Expected ''|'' or '')'' characters') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE45) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE45) MSGF(&LIBNAME/&FILENAME) MSG('Expected '','' or '')'' characters in content model of element ''&1''') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) +
                          LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE46) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE46) MSGF(&LIBNAME/&FILENAME) MSG('Could not open DTD file ''&1''') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 71) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE47) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE47) MSGF(&LIBNAME/&FILENAME) MSG('Attribute ''&1'' has a value, ''&2'' that does not match its #FIXED value, ''&3''') SEV(20) FMT((*CHAR *VARY 2) +
                          (*CHAR *VARY 2) (*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 71) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE48) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE48) MSGF(&LIBNAME/&FILENAME) MSG('Expected enumeration value for attribute ''&1''') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 83) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE49) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE49) MSGF(&LIBNAME/&FILENAME) MSG('Expected | enumeration separator, or closing parenthesis') SEV(20) DMPLST(*NONE) LVL('01/14/00' 76) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE4A) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE4A) MSGF(&LIBNAME/&FILENAME) MSG('Could not open external entity ''&1''') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/14/00' 76) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE4B) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE4B) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated entity literal') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE4C) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE4C) MSGF(&LIBNAME/&FILENAME) MSG('There are more end tags than start tags') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE4D) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE4D) MSGF(&LIBNAME/&FILENAME) MSG('Reference to external declaration in standalone document. Entity = ''&1''') SEV(20) FMT((*CHAR *VARY 2)) +
                          DMPLST(*NONE) LVL('01/13/00' 71) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE4E) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE4E) MSGF(&LIBNAME/&FILENAME) MSG('Expected an open parenthesis') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE4F) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE4F) MSGF(&LIBNAME/&FILENAME) MSG('A system exception occurred during processing') SEV(20) DMPLST(*NONE) LVL('01/14/00' 78) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE50) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE50) MSGF(&LIBNAME/&FILENAME) MSG('The attribute ''&1'' is already used in element ''&2''') SEV(20) FMT((*CHAR *VARY 2) (*CHAR *VARY 2)) DMPLST(*NONE) +
                          LVL('01/13/00' 71) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE51) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE51) MSGF(&LIBNAME/&FILENAME) MSG('A ''<'' character cannot be used in an attribute ''&1'', except through &lt;') SEV(20) FMT((*CHAR *VARY 2)) +
                          DMPLST(*NONE) LVL('01/14/00' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE52) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE52) MSGF(&LIBNAME/&FILENAME) MSG('An exception occurred! Type: &1, Message: &2') SEV(20) FMT((*CHAR *VARY 2) (*CHAR *VARY 2)) DMPLST(*NONE) +
                          LVL('01/14/00' 78) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE53) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE53) MSGF(&LIBNAME/&FILENAME) MSG('A leading surrogate character was not followed by a legal second character') SEV(20) DMPLST(*NONE) LVL('12/03/99' +
                          83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE54) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE54) MSGF(&LIBNAME/&FILENAME) MSG('Expected '']]>'' to end a conditional section') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE55) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE55) MSGF(&LIBNAME/&FILENAME) MSG('Expected INCLUDE or IGNORE here') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE56) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE56) MSGF(&LIBNAME/&FILENAME) MSG('Expected [ to follow INCLUDE or IGNORE') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE57) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE57) MSGF(&LIBNAME/&FILENAME) MSG('Expected a TextDecl here: <?xml ....') SEV(20) DMPLST(*NONE) LVL('01/14/00' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE58) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE58) MSGF(&LIBNAME/&FILENAME) MSG('Expected a XMLDecl here: <?xml ....') SEV(20) DMPLST(*NONE) LVL('01/14/00' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE59) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE59) MSGF(&LIBNAME/&FILENAME) MSG('Unexpected end of entity ''&1''') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 72) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE5A) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE5A) MSGF(&LIBNAME/&FILENAME) MSG('A PE propagated out of the int/ext subset, discarding extra text') SEV(20) DMPLST(*NONE) LVL('01/14/00' 78) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE5B) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE5B) MSGF(&LIBNAME/&FILENAME) MSG('An extra ] character was found and ignored') SEV(20) DMPLST(*NONE) LVL('01/14/00' 78) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE5C) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE5C) MSGF(&LIBNAME/&FILENAME) MSG('PE refs are not allowed inside markup in the internal subset') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE5D) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE5D) MSGF(&LIBNAME/&FILENAME) MSG('An entity propagated out of the content section into Miscellaneous') SEV(20) DMPLST(*NONE) LVL('01/14/00' 78) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE5E) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE5E) MSGF(&LIBNAME/&FILENAME) MSG('Expected &amp;# to be followed by a numeric character value') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE5F) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE5F) MSGF(&LIBNAME/&FILENAME) MSG('Expected an open bracket (''['') here') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE60) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE60) MSGF(&LIBNAME/&FILENAME) MSG('The sequence '']]>'' is not allowed in character data') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE61) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE61) MSGF(&LIBNAME/&FILENAME) MSG('Illegal sequence ''--'' in comment') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE62) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE62) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated CDATA section') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE63) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE63) MSGF(&LIBNAME/&FILENAME) MSG('Expected NDATA') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE64) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE64) MSGF(&LIBNAME/&FILENAME) MSG('NDATA is not legal for parameter entities') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE65) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE65) MSGF(&LIBNAME/&FILENAME) MSG('Hex radix character refs must use ''x'', not ''X''') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE66) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE66) MSGF(&LIBNAME/&FILENAME) MSG('''&1'' has already been set. Ignoring redundant setting') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' +
                          72) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE67) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE67) MSGF(&LIBNAME/&FILENAME) MSG('The XMLDecl strings must be in the order: version, encoding, standalone') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE68) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE68) MSGF(&LIBNAME/&FILENAME) MSG('External entities cannot be referred to from attribute values') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE69) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE69) MSGF(&LIBNAME/&FILENAME) MSG('The XML or Text decl must start with ''<?xml '', not ''<?XML ''') SEV(20) DMPLST(*NONE) LVL('01/14/00' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE6A) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE6A) MSGF(&LIBNAME/&FILENAME) MSG('Expected a literal entity value or PUBLIC/SYSTEM id') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE6B) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE6B) MSGF(&LIBNAME/&FILENAME) MSG('''&1'' is not a valid digit for the indicated radix') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 72) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE6C) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE6C) MSGF(&LIBNAME/&FILENAME) MSG('The input ended before all started tags were ended. Last tag started was ''&1''') SEV(20) FMT((*CHAR *VARY 2)) +
                          DMPLST(*NONE) LVL('01/14/00' 78) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE6D) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE6D) MSGF(&LIBNAME/&FILENAME) MSG('The content model for element ''&1'' is ambiguous') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 72) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE6E) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE6E) MSGF(&LIBNAME/&FILENAME) MSG('Nested CDATA sections are not allowed') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE6F) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE6F) MSGF(&LIBNAME/&FILENAME) MSG('A DOCTYPE was seen but the installed validator does not understand DTDs') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE70) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE70) MSGF(&LIBNAME/&FILENAME) MSG('The prefix ''&1'' has not been mapped to any URI') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 72) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE71) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE71) MSGF(&LIBNAME/&FILENAME) MSG('Unknown element ''&1''') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 72) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE72) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE72) MSGF(&LIBNAME/&FILENAME) MSG('Attribute ''&1'' not defined') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 72) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE73) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE73) MSGF(&LIBNAME/&FILENAME) MSG('Notation ''&1'' was referenced but never declared') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 90) +
                          CCSID(*JOB)
             RMVMSGD MSGID(XMLBE74) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE74) MSGF(&LIBNAME/&FILENAME) MSG('Root element different from DOCTYPE') SEV(20) DMPLST(*NONE) LVL('12/03/99' 82) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE75) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE75) MSGF(&LIBNAME/&FILENAME) MSG('Required attribute ''&1'' was not provided') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 90) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE76) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE76) MSGF(&LIBNAME/&FILENAME) MSG('Element ''&1'' is not valid for content model: ''&2''') SEV(20) FMT((*CHAR *VARY 2) (*CHAR *VARY 2)) DMPLST(*NONE) +
                          LVL('01/13/00' 90) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE77) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE77) MSGF(&LIBNAME/&FILENAME) MSG('ID attributes must be #IMPLIED or #REQUIRED') SEV(20) DMPLST(*NONE) LVL('01/14/00' 79) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE78) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE78) MSGF(&LIBNAME/&FILENAME) MSG('This type of attribute cannot have an empty value') SEV(20) DMPLST(*NONE) LVL('01/14/00' 78) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE79) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE79) MSGF(&LIBNAME/&FILENAME) MSG('Element ''&1'' has already been declared') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 90) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE7A) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE7A) MSGF(&LIBNAME/&FILENAME) MSG('Element ''&1'' has more than one ID attribute') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 90) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE7B) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE7B) MSGF(&LIBNAME/&FILENAME) MSG('ID ''&1'' has already been used') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 90) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE7C) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE7C) MSGF(&LIBNAME/&FILENAME) MSG('ID attribute ''&1'' was referenced but never declared') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' +
                          90) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE7D) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE7D) MSGF(&LIBNAME/&FILENAME) MSG('Attribute ''&1'' refers to an unknown notation ''&2''') SEV(20) FMT((*CHAR *VARY 2) (*CHAR *VARY 2)) DMPLST(*NONE) +
                          LVL('01/13/00' 90) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE7E) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE7E) MSGF(&LIBNAME/&FILENAME) MSG('Element ''&1'' was used in the DOCTYPE but never declared') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) +
                          LVL('01/13/00' 90) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE7F) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE7F) MSGF(&LIBNAME/&FILENAME) MSG('Empty content not valid for content model: ''&1''') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 90) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE80) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE80) MSGF(&LIBNAME/&FILENAME) MSG('Attribute ''&1'' is not declared for element ''&2''') SEV(20) FMT((*CHAR *VARY 2) (*CHAR *VARY 2)) DMPLST(*NONE) +
                          LVL('01/14/00' 80) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE81) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE81) MSGF(&LIBNAME/&FILENAME) MSG('Attributes of type ENTITY/ENTITIES must refer to an external, unparsed entity') SEV(20) DMPLST(*NONE) LVL('12/03/99' +
                          83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE82) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE82) MSGF(&LIBNAME/&FILENAME) MSG('Attribute ''&1'' refers to an unknown entity ''&2''') SEV(20) FMT((*CHAR *VARY 2) (*CHAR *VARY 2)) DMPLST(*NONE) +
                          LVL('01/13/00' 90) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE83) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE83) MSGF(&LIBNAME/&FILENAME) MSG('Not enough elements to match content model : &1') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 83) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE84) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE84) MSGF(&LIBNAME/&FILENAME) MSG('No processing instruction starts with ''xml''') SEV(10) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE85) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE85) MSGF(&LIBNAME/&FILENAME) MSG('Notation ''&1'' has already been declared') SEV(10) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 90) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE86) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE86) MSGF(&LIBNAME/&FILENAME) MSG('Attribute ''&1'' has already been declared for element ''&2''') SEV(10) FMT((*CHAR *VARY 2) (*CHAR *VARY 2)) +
                          DMPLST(*NONE) LVL('01/13/00' 90) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE87) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE87) MSGF(&LIBNAME/&FILENAME) MSG('Encoding (&1, from XMLDecl or manually set) contradicts the auto-sensed encoding, ignoring it') SEV(10) FMT((*CHAR +
                          *VARY 2)) DMPLST(*NONE) LVL('01/14/00' 80) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE88) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE88) MSGF(&LIBNAME/&FILENAME) MSG('Element ''&1'' was referenced in a content model but never declared') SEV(10) FMT((*CHAR *VARY 2)) DMPLST(*NONE) +
                          LVL('01/13/00' 90) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE89) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE89) MSGF(&LIBNAME/&FILENAME) MSG('Element ''&1'' was referenced in an attlist but never declared') SEV(10) FMT((*CHAR *VARY 2)) DMPLST(*NONE) +
                          LVL('01/13/00' 90) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE8A) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE8A) MSGF(&LIBNAME/&FILENAME) MSG('The index is beyond the array bounds') SEV(20) DMPLST(*NONE) LVL('12/03/99' 83) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE8B) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE8B) MSGF(&LIBNAME/&FILENAME) MSG('The new size is less than the old one') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE8C) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE8C) MSGF(&LIBNAME/&FILENAME) MSG('The pointer has not been set') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE8D) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE8D) MSGF(&LIBNAME/&FILENAME) MSG('The enumerator contains no more elements') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE8E) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE8E) MSGF(&LIBNAME/&FILENAME) MSG('Could not open file: &1') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/14/00' 80) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE8F) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE8F) MSGF(&LIBNAME/&FILENAME) MSG('Could not query the current file position') SEV(30) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE90) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE90) MSGF(&LIBNAME/&FILENAME) MSG('Could not close the file') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE91) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE91) MSGF(&LIBNAME/&FILENAME) MSG('Could not seek to end of file') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE92) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE92) MSGF(&LIBNAME/&FILENAME) MSG('Could not seek to required position in file') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE93) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE93) MSGF(&LIBNAME/&FILENAME) MSG('Could not duplicate the handle') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE94) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE94) MSGF(&LIBNAME/&FILENAME) MSG('Could not read data from file') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE95) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE95) MSGF(&LIBNAME/&FILENAME) MSG('Could not reset file to beginning') SEV(20) DMPLST(*NONE) LVL('12/03/99' 84) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE96) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE96) MSGF(&LIBNAME/&FILENAME) MSG('Could not ascertain the file size') SEV(20) DMPLST(*NONE) LVL('01/14/00' 79) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE97) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE97) MSGF(&LIBNAME/&FILENAME) MSG('Could not determine base pathname of the file') SEV(20) DMPLST(*NONE) LVL('12/03/99' 85) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE98) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE98) MSGF(&LIBNAME/&FILENAME) MSG('The hash modulus cannot be zero') SEV(20) DMPLST(*NONE) LVL('12/03/99' 85) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE99) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE99) MSGF(&LIBNAME/&FILENAME) MSG('Hashing the key returned an invalid bad hash value') SEV(20) DMPLST(*NONE) LVL('12/03/99' 85) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE9A) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE9A) MSGF(&LIBNAME/&FILENAME) MSG('The key ''&1'' could not be found in the hash table') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 90) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE9B) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE9B) MSGF(&LIBNAME/&FILENAME) MSG('Could not create mutex') SEV(20) DMPLST(*NONE) LVL('12/03/99' 85) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE9C) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE9C) MSGF(&LIBNAME/&FILENAME) MSG('Could not close mutex') SEV(20) DMPLST(*NONE) LVL('12/03/99' 85) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE9D) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE9D) MSGF(&LIBNAME/&FILENAME) MSG('Could not lock mutex') SEV(20) DMPLST(*NONE) LVL('12/03/99' 85) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE9E) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE9E) MSGF(&LIBNAME/&FILENAME) MSG('Could not unlock mutex') SEV(20) DMPLST(*NONE) LVL('12/03/99' 85) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBE9F) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBE9F) MSGF(&LIBNAME/&FILENAME) MSG('Could not destroy mutex') SEV(20) DMPLST(*NONE) LVL('12/03/99' 85) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEA0) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEA0) MSGF(&LIBNAME/&FILENAME) MSG('The element ''&1'' already exists') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/13/00' 90) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEA1) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEA1) MSGF(&LIBNAME/&FILENAME) MSG('Hashing the key returned an invalid bad hash value') SEV(20) DMPLST(*NONE) LVL('12/03/99' 85) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEA2) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEA2) MSGF(&LIBNAME/&FILENAME) MSG('The passed id is not valid for this pool') SEV(20) DMPLST(*NONE) LVL('12/03/99' 85) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEA3) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEA3) MSGF(&LIBNAME/&FILENAME) MSG('The modulus value cannot be zero') SEV(20) DMPLST(*NONE) LVL('12/03/99' 85) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEA4) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEA4) MSGF(&LIBNAME/&FILENAME) MSG('The index is past the top of stack') SEV(20) DMPLST(*NONE) LVL('12/03/99' 85) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEA5) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEA5) MSGF(&LIBNAME/&FILENAME) MSG('The stack is empty, cannot access members') SEV(20) DMPLST(*NONE) LVL('12/03/99' 85) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEA6) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEA6) MSGF(&LIBNAME/&FILENAME) MSG('The target buffer cannot have a max size of zero') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEA7) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEA7) MSGF(&LIBNAME/&FILENAME) MSG('The given radix is not supported. Use 2, 8, 10, or 16') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEA8) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEA8) MSGF(&LIBNAME/&FILENAME) MSG('The target buffer is too small to accept the results') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEA9) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEA9) MSGF(&LIBNAME/&FILENAME) MSG('The start index is past the end of the string') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEAA) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEAA) MSGF(&LIBNAME/&FILENAME) MSG('Could not write to standard err') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEAB) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEAB) MSGF(&LIBNAME/&FILENAME) MSG(' Could not write to standard out') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEAC) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEAC) MSGF(&LIBNAME/&FILENAME) MSG('Could not write to console') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEAD) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEAD) MSGF(&LIBNAME/&FILENAME) MSG('String pool id was not legal') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEAE) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEAE) MSGF(&LIBNAME/&FILENAME) MSG('The URL was not correctly formed') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEAF) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEAF) MSGF(&LIBNAME/&FILENAME) MSG('The URL used an unsupported protocol') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEB0) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEB0) MSGF(&LIBNAME/&FILENAME) MSG('Only localhost is supported at this time') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEB1) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEB1) MSGF(&LIBNAME/&FILENAME) MSG('The passed index is past the end of the vector') SEV(20) DMPLST(*NONE) LVL('01/14/00' 79) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEB2) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEB2) MSGF(&LIBNAME/&FILENAME) MSG('Unexpected end of input') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEB3) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEB3) MSGF(&LIBNAME/&FILENAME) MSG('Parse may not be called while parsing') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEB4) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEB4) MSGF(&LIBNAME/&FILENAME) MSG('The index given was beyond the max attribute index') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEB5) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEB5) MSGF(&LIBNAME/&FILENAME) MSG('The element stack is empty') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEB6) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEB6) MSGF(&LIBNAME/&FILENAME) MSG('The element stack index given was beyond the stack top') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEB7) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEB7) MSGF(&LIBNAME/&FILENAME) MSG('The element stack was already empty when a pop request occurred') SEV(20) DMPLST(*NONE) LVL('01/14/00' 79) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEB8) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEB8) MSGF(&LIBNAME/&FILENAME) MSG('A parent operation was requested, but only one element is on the stack') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEB9) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEB9) MSGF(&LIBNAME/&FILENAME) MSG('The indicated reader id was never found') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEBA) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEBA) MSGF(&LIBNAME/&FILENAME) MSG('The auto encoding enum has an unknown value') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEBB) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEBB) MSGF(&LIBNAME/&FILENAME) MSG('Could not create a converter for encoding:  &1') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/14/00' 79) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEBC) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEBC) MSGF(&LIBNAME/&FILENAME) MSG('Could not decode first line of entity: &1') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/14/00' 79) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEBD) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEBD) MSGF(&LIBNAME/&FILENAME) MSG('End of input was hit in the middle of a multibyte sequence') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEBE) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEBE) MSGF(&LIBNAME/&FILENAME) MSG('This encoding (&1) should have had a transcoder') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/14/00' 79) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEBF) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEBF) MSGF(&LIBNAME/&FILENAME) MSG('Invalid second byte of a UTF-8 character sequence') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEC0) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEC0) MSGF(&LIBNAME/&FILENAME) MSG('Invalid surrogate character found in UTF-8 data') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEC1) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEC1) MSGF(&LIBNAME/&FILENAME) MSG('The primary document entity could not be opened. Id = &1') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/14/00' +
                          79) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEC2) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEC2) MSGF(&LIBNAME/&FILENAME) MSG('Unbalanced start/end tags found, cannot continue') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEC3) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEC3) MSGF(&LIBNAME/&FILENAME) MSG('The passed AttTypes value is not known') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEC4) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEC4) MSGF(&LIBNAME/&FILENAME) MSG('The passed DefAttTypes value is not known') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEC5) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEC5) MSGF(&LIBNAME/&FILENAME) MSG('The buffer manager cannot provide any more buffers') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEC6) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEC6) MSGF(&LIBNAME/&FILENAME) MSG('The passed buffer was not found in this manager''s pool') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEC7) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEC7) MSGF(&LIBNAME/&FILENAME) MSG('The passed recognizer encoding was not known') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEC8) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEC8) MSGF(&LIBNAME/&FILENAME) MSG('The block of XML data could not be transcoded') SEV(20) DMPLST(*NONE) LVL('12/03/99' 86) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEC9) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEC9) MSGF(&LIBNAME/&FILENAME) MSG('Could not create a default transcoder') SEV(20) DMPLST(*NONE) LVL('12/03/99' 87) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBECA) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBECA) MSGF(&LIBNAME/&FILENAME) MSG('The bit index was beyond the set size') SEV(20) DMPLST(*NONE) LVL('12/03/99' 87) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBECB) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBECB) MSGF(&LIBNAME/&FILENAME) MSG('The binary operation node had a unary node type') SEV(20) DMPLST(*NONE) LVL('12/03/99' 87) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBECC) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBECC) MSGF(&LIBNAME/&FILENAME) MSG('The content type must be mixed or children') SEV(20) DMPLST(*NONE) LVL('12/03/99' 87) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBECD) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBECD) MSGF(&LIBNAME/&FILENAME) MSG('PCDATA nodes are not valid here') SEV(20) DMPLST(*NONE) LVL('12/03/99' 87) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBECE) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBECE) MSGF(&LIBNAME/&FILENAME) MSG('The ''&1'' operation is invalid for the spec type') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/14/00' 79) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBECF) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBECF) MSGF(&LIBNAME/&FILENAME) MSG('The unary operation node had a binary node type') SEV(20) DMPLST(*NONE) LVL('12/03/99' 87) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBED0) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBED0) MSGF(&LIBNAME/&FILENAME) MSG('Unknown content model type') SEV(20) DMPLST(*NONE) LVL('12/03/99' 87) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBED1) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBED1) MSGF(&LIBNAME/&FILENAME) MSG('Unknown content spec type') SEV(20) DMPLST(*NONE) LVL('12/03/99' 87) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBED2) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBED2) MSGF(&LIBNAME/&FILENAME) MSG('The element id was invalid') SEV(20) DMPLST(*NONE) LVL('12/03/99' 87) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBED3) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBED3) MSGF(&LIBNAME/&FILENAME) MSG('Stream file could not be opened') SECLVL('&N Recovery  . . . :   Failure opening file &1. See following messages for +
                          additional information.') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 81) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBED4) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBED4) MSGF(&LIBNAME/&FILENAME) MSG('Conversion failure for converter &1') SECLVL('&N Recovery  . . . :   See following messages for additional +
                          information.') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 81) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBED5) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBED5) MSGF(&LIBNAME/&FILENAME) MSG('ICONV Converter not supported for &1') SECLVL('&N Recovery  . . . :   AS/400 does not support conversion of the +
                          requested document.') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('12/03/99' 81) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBED6) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBED6) MSGF(&LIBNAME/&FILENAME) MSG('Got an unexpected trailing surrogate character') SEV(20) DMPLST(*NONE) LVL('01/13/00' 87) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBED7) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBED7) MSGF(&LIBNAME/&FILENAME) MSG('The XML or Text declaration must start at line/column 1/1') SEV(20) DMPLST(*NONE) LVL('01/14/00' 60) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBED8) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBED8) MSGF(&LIBNAME/&FILENAME) MSG('The ''version='' string is required in an XMLDecl') SEV(20) DMPLST(*NONE) LVL('01/14/00' 60) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBED9) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBED9) MSGF(&LIBNAME/&FILENAME) MSG('The ''standalone='' string is only allowed in the main XML entity') SEV(20) DMPLST(*NONE) LVL('01/14/00' 60) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEDA) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEDA) MSGF(&LIBNAME/&FILENAME) MSG('When namespaces are enabled, a name can have only one colon character') SEV(20) DMPLST(*NONE) LVL('01/14/00' 60) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEDB) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEDB) MSGF(&LIBNAME/&FILENAME) MSG('When namespaces are enabled, the colon cannot be the first or last character') SEV(20) DMPLST(*NONE) LVL('01/14/00' +
                          60) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEDC) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEDC) MSGF(&LIBNAME/&FILENAME) MSG('Colons are not allowed in this name when namespaces are enabled') SEV(20) DMPLST(*NONE) LVL('01/14/00' 60) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEDD) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEDD) MSGF(&LIBNAME/&FILENAME) MSG('Element types cannot be duplicated in Mixed content models') SEV(20) DMPLST(*NONE) LVL('01/14/00' 60) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEDE) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEDE) MSGF(&LIBNAME/&FILENAME) MSG('When reusing the validator, no internal subset is allowed') SEV(20) DMPLST(*NONE) LVL('01/14/00' 60) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEDF) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEDF) MSGF(&LIBNAME/&FILENAME) MSG('The call to scanNext() is illegal at this time') SEV(20) DMPLST(*NONE) LVL('01/14/00' 60) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEE0) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEE0) MSGF(&LIBNAME/&FILENAME) MSG('No protocol prefix present') SEV(20) DMPLST(*NONE) LVL('01/14/00' 60) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEE1) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEE1) MSGF(&LIBNAME/&FILENAME) MSG('Expected // after protocol') SEV(20) DMPLST(*NONE) LVL('01/14/00' 60) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEE2) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEE2) MSGF(&LIBNAME/&FILENAME) MSG('% must be followed by two hex digits') SEV(20) DMPLST(*NONE) LVL('01/14/00' 60) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEE3) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEE3) MSGF(&LIBNAME/&FILENAME) MSG('Unterminated host component') SEV(20) DMPLST(*NONE) LVL('01/14/00' 60) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEE4) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEE4) MSGF(&LIBNAME/&FILENAME) MSG('Unsupported URL protocol: ''&1''') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/14/00' 60) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEE5) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEE5) MSGF(&LIBNAME/&FILENAME) MSG('No character data is allowed by content model') SEV(20) DMPLST(*NONE) LVL('01/14/00' 61) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEE6) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEE6) MSGF(&LIBNAME/&FILENAME) MSG('Attribute ''&1'' does not match its defined enumeration or notation list') SEV(20) FMT((*CHAR *VARY 2)) +
                          DMPLST(*NONE) LVL('01/14/00' 61) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEE7) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEE7) MSGF(&LIBNAME/&FILENAME) MSG('The values for attribute ''&1'' must be names or name tokens') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) +
                          LVL('01/14/00' 61) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEE8) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEE8) MSGF(&LIBNAME/&FILENAME) MSG('Attribute ''&1'' does not support multiple values') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/14/00' 61) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEE9) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEE9) MSGF(&LIBNAME/&FILENAME) MSG('The start and the end tag were in the different entities') SEV(20) DMPLST(*NONE) LVL('01/14/00' 61) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEEA) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEEA) MSGF(&LIBNAME/&FILENAME) MSG('The main XML document cannot be empty') SEV(20) DMPLST(*NONE) LVL('01/14/00' 61) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEEB) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEEB) MSGF(&LIBNAME/&FILENAME) MSG('CDATA is not allowed outside the root element') SEV(20) DMPLST(*NONE) LVL('01/14/00' 61) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEEC) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEEC) MSGF(&LIBNAME/&FILENAME) MSG('Only numeric character entities or special character entities are legal here') SEV(20) DMPLST(*NONE) LVL('01/14/00' +
                          61) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEED) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEED) MSGF(&LIBNAME/&FILENAME) MSG('Unable to correctly initialize parser, reason code is &1.') SECLVL('&N Cause . . . . . :   The Xerces-C system could +
                          not be initialized. If you are using ICU, then the most likely reason for this failure is the inability to find the ICU coverter files. The converter files +
                          have the extension .cnv and exist in a directory ''icu/data'' relative to the Xerces-C shared library. If you have installed the converter files in a +
                          different location, you need to set up the environment variable ICU_DATA'' to point directly to the directory containing the converter files. Reason codes +
                          are: 0 -- Unable to load transcoding service 1 -- Unable to create default transcoder 2 -- Unable to locate complete parser 3 -- Customer-messaging choice not +
                          compiled 4 -- Could not load customer messaging correctly   5 -- Unable to synchronize system or mutex  6 -- Unable to initialize system or mutex  +
                          &N Recovery  . . . :   Correct any errors, and then try request again') SEV(20) FMT((*CHAR *VARY +
                          2)) DMPLST(*NONE) LVL('01/14/00' 61) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEEF) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEEF) MSGF(&LIBNAME/&FILENAME) MSG('Error on &1 NetAccessor. Msg: &2') SEV(20) FMT((*CHAR *VARY 2) (*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/14/00' 61) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEF0) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEF0) MSGF(&LIBNAME/&FILENAME) MSG('The current transcoding service does not support source offset information') SEV(20) DMPLST(*NONE) LVL('01/14/00' +
                          61) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEF1) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEF1) MSGF(&LIBNAME/&FILENAME) MSG('The maximum size to xlat is larger than the declared block size') SEV(20) DMPLST(*NONE) LVL('01/14/00' 61) CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEF2) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEF2) MSGF(&LIBNAME/&FILENAME) MSG('Got an representable code point for encoding &1') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) LVL('01/14/00' 61) +
                          CCSID(*JOB)
             RMVMSGD    MSGID(XMLBEF3) MSGF(&LIBNAME/&FILENAME)
             ADDMSGD    MSGID(XMLBEF3) MSGF(&LIBNAME/&FILENAME) MSG('A source character was not in the code point set for encoding &1') SEV(20) FMT((*CHAR *VARY 2)) DMPLST(*NONE) +
                          LVL('01/14/00' 61) CCSID(*JOB)
             ENDPGM

--- NEW FILE: MsgLoader.hpp ---
/*
 * Copyright 1999-2000,2004 The Apache Software Foundation.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*
 * $Id: MsgLoader.hpp,v 1.1 2008/02/19 20:16:28 zolmol Exp $
 */

#if !defined(ICONVMSGLOADER_HPP)
#define ICONVMSGLOADER_HPP

#include <xercesc/util/XercesDefs.hpp>
#include <xercesc/util/XMLMsgLoader.hpp>

#include <nl_types.h>

XERCES_CPP_NAMESPACE_BEGIN

//
//  This is a simple in Iconv RC message loader implementation.
//
class XMLUTIL_EXPORT MsgCatalogLoader : public XMLMsgLoader
{
public :
    // -----------------------------------------------------------------------
    //  Public Constructors and Destructor
    // -----------------------------------------------------------------------
    MsgCatalogLoader(const XMLCh* const msgDomain);
    ~MsgCatalogLoader();


    // -----------------------------------------------------------------------
    //  Implementation of the virtual message loader API
    // -----------------------------------------------------------------------
    virtual bool loadMsg
    (
        const   XMLMsgLoader::XMLMsgId  msgToLoad
        ,       XMLCh* const            toFill
        , const unsigned int            maxChars
    );

    virtual bool loadMsg
    (
        const   XMLMsgLoader::XMLMsgId  msgToLoad
        ,       XMLCh* const            toFill
        , const unsigned int            maxChars
        , const XMLCh* const            repText1
        , const XMLCh* const            repText2 = 0
        , const XMLCh* const            repText3 = 0
        , const XMLCh* const            repText4 = 0
        , MemoryManager* const          manager  = XMLPlatformUtils::fgMemoryManager
    );

    virtual bool loadMsg
    (
        const   XMLMsgLoader::XMLMsgId  msgToLoad
        ,       XMLCh* const            toFill
        , const unsigned int            maxChars
        , const char* const             repText1
        , const char* const             repText2 = 0
        , const char* const             repText3 = 0
        , const char* const             repText4 = 0
        , MemoryManager * const         manager  = XMLPlatformUtils::fgMemoryManager
    );


private :
    // -----------------------------------------------------------------------
    //  Unimplemented constructors and operators
    // -----------------------------------------------------------------------
    MsgCatalogLoader();
    MsgCatalogLoader(const MsgCatalogLoader&);
    MsgCatalogLoader& operator=(const MsgCatalogLoader&);


    // -----------------------------------------------------------------------
    //  Private data members
    //
    //  fModHandle
    //      This is our DLL module handle that we need in order to load
    //      resource messages. This is set during construction.
    //
    //  fMsgDomain
    //      This is the name of the error domain that this loader is for.
    // -----------------------------------------------------------------------
    nl_catd 	fCatalogHandle;
    XMLCh*      fMsgDomain;
	
};

XERCES_CPP_NAMESPACE_END

#endif

--- NEW FILE: MsgLoader.cpp ---
/*
 * Copyright 1999-2000,2004 The Apache Software Foundation.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*
 * $Id: MsgLoader.cpp,v 1.1 2008/02/19 20:16:28 zolmol Exp $
 */

// ---------------------------------------------------------------------------
//  Includes
// ---------------------------------------------------------------------------
#include <xercesc/util/XercesDefs.hpp>
#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/util/XMLMsgLoader.hpp>
#include <xercesc/util/XMLString.hpp>
#include <xercesc/util/XMLUniDefs.hpp>
#include <xercesc/util/XMLUni.hpp>
#include "MsgLoader.hpp"
#include "XMLMessages.h"
#include <locale.h>
#include <stdlib.h>
#include <stdio.h>
#include <qmhrtvm.h>
#include <qusec.h>

XERCES_CPP_NAMESPACE_BEGIN

// ---------------------------------------------------------------------------
//  Public Constructors and Destructor
// ---------------------------------------------------------------------------
MsgCatalogLoader::MsgCatalogLoader(const XMLCh* const msgDomain) :

    fCatalogHandle(0)
    , fMsgDomain(0)
{

    fMsgDomain = XMLString::replicate(msgDomain, XMLPlatformUtils::fgMemoryManager);
}

MsgCatalogLoader::~MsgCatalogLoader()
{

    XMLPlatformUtils::fgMemoryManager->deallocate(fMsgDomain);//delete[] fMsgDomain;
}


char* PackingRepText(const char * const repText1,
		     const char * const repText2,
		     const char * const repText3,
		     const char * const repText4,
		     int& totalsize)
{
    short sizes[4];
    char* reps[4];
    char *buffer;		// Allocate just what we need
    char* anchor;
    char temp[2];


    reps[0] = (char*)repText1;
    reps[1] = (char*)repText2;
    reps[2] = (char*)repText3;
    reps[3] = (char*)repText4;
    int count = 0;

    for(int i = 0; i < 4; i++)
	if(reps[i] != NULL)
	{				// Collect all the sizes and count how many we've got
	    sizes[i] = strlen(reps[i]);
            totalsize += sizes[i]+2;
	    count++;
	}

    buffer = (char*)malloc(totalsize);		// Allocate just what we need
    anchor = buffer;

    for(i = 0; i < count; i++)		// Stuff everything into the buffer
    {
	
	memcpy(buffer, (void *)&sizes[i], sizeof(short));
	buffer += sizeof(short);
	memcpy(buffer, reps[i], sizes[i]);
	buffer += sizes[i];
    }

    return anchor;		// This guy is still holding the beginning of the buffer

}

// ---------------------------------------------------------------------------
//  Implementation of the local retrieve message
// ---------------------------------------------------------------------------


bool localMsg(char * msgId
                            ,       XMLCh* const            toFill
                            , const unsigned int            maxChars
			    ,		char*		    repTexts
			    ,		int		    size)
{

    typedef _Packed struct {
	Qmh_Rtvm_RTVM0100_t mdata;        /* Basic Message Data                  */
	char                mtext[1024];  /* Kind of arbitrary, enough?      */
    } MyMessage_t;

    /* Information about the message that we're going to retrieve               */
    char         msgformat[9]  = "RTVM0100";
    char         msgfile[21]   = "QXMLMSG   *LIBL     ";
    char	 *msgsubstdta  = repTexts;		// ??
    int	  msgsubstlen = 0;
    if(repTexts)
	msgsubstlen = size;  //strlen(repTexts);	// ??
    char         msgsubst[11]  = "*YES      ";
    char         msgfmtctl[11] = "*NO       ";
    Qus_EC_t     errorcode;
    MyMessage_t  message;                 /* message we'll retrieve        */


  memset(&errorcode, 0, sizeof(errorcode));    /* Clear the error area   */
  errorcode.Bytes_Provided = sizeof(errorcode);/* Init the error code    */

  memset(&message, 0, sizeof(message.mdata));  /* Clear the message area */
  message.mtext[0]='\0';                       /* Null Text String       */

  int len = sizeof(message);
  for(int i = 0; i < 1024; i++)
      message.mtext[i] = '\0';

  QMHRTVM( &message, len, msgformat, msgId,
           msgfile, msgsubstdta, msgsubstlen, msgsubst, msgfmtctl, &errorcode);  /*,
	   "*MSGID    ", 1200, 1200);  */

                                         /* The error message should now be stored in message.mtext */
					 /* with the CCSID 1200					    */

//    char msgString[100];
//    char* catMessage = catgets( fCatalogHandle, msgSet, (int)msgToLoad, msgString);
    XMLString::transcode(message.mtext, toFill, maxChars);
	
    return true;
}

// ---------------------------------------------------------------------------
//  Implementation of the virtual message loader API
// ---------------------------------------------------------------------------

bool MsgCatalogLoader::loadMsg(const  XMLMsgLoader::XMLMsgId  msgToLoad
                            ,       XMLCh* const            toFill
                            , const unsigned int            maxChars)
{
    char * msgId;
    char * repTexts = NULL;
    int size = 0;
    if (XMLString::equals(fMsgDomain, XMLUni::fgXMLErrDomain))
    {
        if(msgToLoad < 7)	// Warning messages
            msgId = Warnings[msgToLoad - 2];
        else               // Fatal Errors
            msgId = Errors[msgToLoad - 9];
    }
    else if (XMLString::equals(fMsgDomain, XMLUni::fgExceptDomain))
        msgId = Exceptions[msgToLoad - 2];
    else if (XMLString::equals(fMsgDomain, XMLUni::fgValidityDomain))
        msgId = Invalid[msgToLoad - 2];
    else if (XMLString::equals(fMsgDomain, XMLUni::fgXMLDOMMsgDomain))
        msgId = DOMMsg[msgToLoad - 2];

    if (!localMsg(msgId, toFill, maxChars, repTexts, size))
        return false;
	
    return true;
}


bool MsgCatalogLoader::loadMsg(const  XMLMsgLoader::XMLMsgId  msgToLoad
                            ,       XMLCh* const              toFill
                            , const unsigned int              maxChars
                            , const char* const               repText1
                            , const char* const               repText2
                            , const char* const               repText3
                            , const char* const               repText4
                            , MemoryManager * const           manager)
{
    char * msgId;
    int size=0;
    char* repTexts = PackingRepText(repText1, repText2, repText3, repText4, size);
    if (XMLString::equals(fMsgDomain, XMLUni::fgXMLErrDomain))
    {
        if(msgToLoad < 7)
            msgId = Warnings[msgToLoad - 2];
        else
            msgId = Errors[msgToLoad - 9];
    }
    else if (XMLString::equals(fMsgDomain, XMLUni::fgExceptDomain))
        msgId = Exceptions[msgToLoad - 2];
    else if (XMLString::equals(fMsgDomain, XMLUni::fgValidityDomain))
        msgId = Invalid[msgToLoad - 2];
    else if (XMLString::equals(fMsgDomain, XMLUni::fgXMLDOMMsgDomain))
        msgId = DOMMsg[msgToLoad - 2];

    // Call the other version to load up the message
    // note that no one is deleting repTexts...
    if (!localMsg(msgId, toFill, maxChars, repTexts, size))
        return false;

    return true;
}


bool MsgCatalogLoader::loadMsg(const  XMLMsgLoader::XMLMsgId  msgToLoad
                            ,       XMLCh* const              toFill
                            , const unsigned int              maxChars
                            , const XMLCh* const              repText1
                            , const XMLCh* const              repText2
                            , const XMLCh* const              repText3
                            , const XMLCh* const              repText4
                            , MemoryManager* const            manager)
{
    //
    //  Transcode the provided parameters and call the other version,
    //  which will do the replacement work.
    //
    char* tmp1 = 0;
    char* tmp2 = 0;
    char* tmp3 = 0;
    char* tmp4 = 0;

    bool bRet = false;
    if (repText1)
        tmp1 = XMLString::transcode(repText1, manager);
    if (repText2)
        tmp2 = XMLString::transcode(repText2, manager);
    if (repText3)
        tmp3 = XMLString::transcode(repText3, manager);
    if (repText4)
        tmp4 = XMLString::transcode(repText4, manager);

    bRet = loadMsg(msgToLoad, toFill, maxChars, tmp1, tmp2, tmp3, tmp4, manager);

    if (tmp1)
        manager->deallocate(tmp1);//delete [] tmp1;
    if (tmp2)
        manager->deallocate(tmp2);//delete [] tmp2;
    if (tmp3)
        manager->deallocate(tmp3);//delete [] tmp3;
    if (tmp4)
        manager->deallocate(tmp4);//delete [] tmp4;

    return bRet;
}

XERCES_CPP_NAMESPACE_END



More information about the GME-commit mailing list