<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>XMLErrorCodes.hpp Source File</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="../resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="../resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="../resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="../graphics/api-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="../resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','../resources/button-xml-hi.gif','../resources/button-xml-lo.gif');" src="../resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','../resources/button-asf-hi.gif','../resources/button-asf-lo.gif');" src="../resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','../resources/button-w3c-hi.gif','../resources/button-w3c-lo.gif');" src="../resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="../resources/join.gif" vspace="0" width="120"><BR> <A href="../../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','../graphics/ext-2-label-2.jpg','../graphics/ext-2-label-3.jpg');" src="../graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="../index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','../graphics/index-label-2.jpg','../graphics/index-label-3.jpg');" src="../graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> <A href="http://xml.apache.org/dist/xerces-c/" onMouseOut="rolloverOff('side-ext-8');" onMouseOver="rolloverOn('side-ext-8');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-8" onLoad="rolloverLoad('side-ext-8','../graphics/ext-8-label-2.jpg','../graphics/ext-8-label-3.jpg');" src="../graphics/ext-8-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../install.html" onMouseOut="rolloverOff('side-install');" onMouseOver="rolloverOn('side-install');"><IMG alt="Installation" border="0" height="12" hspace="0" name="side-install" onLoad="rolloverLoad('side-install','../graphics/install-label-2.jpg','../graphics/install-label-3.jpg');" src="../graphics/install-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build" border="0" height="12" hspace="0" name="side-build" onLoad="rolloverLoad('side-build','../graphics/build-label-2.jpg','../graphics/build-label-3.jpg');" src="../graphics/build-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <IMG alt="API Docs" border="0" height="12" hspace="0" src="../graphics/api-label-1.jpg" vspace="0" width="120"><BR> <A href="../samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Samples" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','../graphics/samples-label-2.jpg','../graphics/samples-label-3.jpg');" src="../graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../schema.html" onMouseOut="rolloverOff('side-schema');" onMouseOver="rolloverOn('side-schema');"><IMG alt="Schema" border="0" height="12" hspace="0" name="side-schema" onLoad="rolloverLoad('side-schema','../graphics/schema-label-2.jpg','../graphics/schema-label-3.jpg');" src="../graphics/schema-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="../faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','../graphics/faqs-label-2.jpg','../graphics/faqs-label-3.jpg');" src="../graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../program.html" onMouseOut="rolloverOff('side-program');" onMouseOver="rolloverOn('side-program');"><IMG alt="Programming" border="0" height="12" hspace="0" name="side-program" onLoad="rolloverLoad('side-program','../graphics/program-label-2.jpg','../graphics/program-label-3.jpg');" src="../graphics/program-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration" border="0" height="12" hspace="0" name="side-migrate" onLoad="rolloverLoad('side-migrate','../graphics/migrate-label-2.jpg','../graphics/migrate-label-3.jpg');" src="../graphics/migrate-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Releases" border="0" height="12" hspace="0" name="side-releases" onLoad="rolloverLoad('side-releases','../graphics/releases-label-2.jpg','../graphics/releases-label-3.jpg');" src="../graphics/releases-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../bug-report.html" onMouseOut="rolloverOff('side-bug-report');" onMouseOver="rolloverOn('side-bug-report');"><IMG alt="Bug-Reporting" border="0" height="12" hspace="0" name="side-bug-report" onLoad="rolloverLoad('side-bug-report','../graphics/bug-report-label-2.jpg','../graphics/bug-report-label-3.jpg');" src="../graphics/bug-report-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../feedback.html" onMouseOut="rolloverOff('side-feedback');" onMouseOver="rolloverOn('side-feedback');"><IMG alt="Feedback" border="0" height="12" hspace="0" name="side-feedback" onLoad="rolloverLoad('side-feedback','../graphics/feedback-label-2.jpg','../graphics/feedback-label-3.jpg');" src="../graphics/feedback-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="../y2k.html" onMouseOut="rolloverOff('side-y2k');" onMouseOver="rolloverOn('side-y2k');"><IMG alt="Y2K Compliance" border="0" height="12" hspace="0" name="side-y2k" onLoad="rolloverLoad('side-y2k','../graphics/y2k-label-2.jpg','../graphics/y2k-label-3.jpg');" src="../graphics/y2k-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../pdf.html" onMouseOut="rolloverOff('side-pdf');" onMouseOver="rolloverOn('side-pdf');"><IMG alt="PDF Document" border="0" height="12" hspace="0" name="side-pdf" onLoad="rolloverLoad('side-pdf','../graphics/pdf-label-2.jpg','../graphics/pdf-label-3.jpg');" src="../graphics/pdf-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="http://xml.apache.org/websrc/cvsweb.cgi/xml-xerces/c/" onMouseOut="rolloverOff('side-ext-50');" onMouseOver="rolloverOn('side-ext-50');"><IMG alt="CVS Repository" border="0" height="12" hspace="0" name="side-ext-50" onLoad="rolloverLoad('side-ext-50','../graphics/ext-50-label-2.jpg','../graphics/ext-50-label-3.jpg');" src="../graphics/ext-50-label-3.jpg" vspace="0" width="120"></A><BR> <A href="http://marc.theaimsgroup.com/?l=xerces-c-dev" onMouseOut="rolloverOff('side-ext-52');" onMouseOver="rolloverOn('side-ext-52');"><IMG alt="Mail Archive" border="0" height="12" hspace="0" name="side-ext-52" onLoad="rolloverLoad('side-ext-52','../graphics/ext-52-label-2.jpg','../graphics/ext-52-label-3.jpg');" src="../graphics/ext-52-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="14" hspace="0" src="../resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD> <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#FFFFFF" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="../resources/void.gif" vspace="0" width="2"><B>API Docs for SAX and DOM</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10"> </TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> <P> <!-- Generated by Doxygen 1.2.4 on Fri Oct 26 10:32:18 2001 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>XMLErrorCodes.hpp</h1><a href="XMLErrorCodes_hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">// This file is generated, don't edit it!!</font> 00002 00003 <font class="preprocessor">#if !defined(ERRHEADER_XMLErrs)</font> <a name="l00004"></a><a class="code" href="XMLErrorCodes_hpp.html#a0">00004</a> <font class="preprocessor"></font><font class="preprocessor">#define ERRHEADER_XMLErrs</font> 00005 <font class="preprocessor"></font> 00006 <font class="preprocessor">#include <<a class="code" href="XMLErrorReporter_hpp.html">framework/XMLErrorReporter.hpp</a>></font> 00007 <a name="l00008"></a><a class="code" href="class_XMLErrs.html">00008</a> <font class="keyword">class </font><a class="code" href="class_XMLErrs.html">XMLErrs</a> 00009 { 00010 <font class="keyword">public</font> : <a name="l00011"></a><a class="code" href="class_XMLErrs.html#s271">00011</a> <font class="keyword">enum</font> Codes 00012 { 00013 NoError = 0 00014 , W_LowBounds = 1 00015 , NotationAlreadyExists = 2 00016 , AttListAlreadyExists = 3 00017 , ContradictoryEncoding = 4 00018 , UndeclaredElemInCM = 5 00019 , UndeclaredElemInAttList = 6 00020 , W_HighBounds = 7 00021 , E_LowBounds = 8 00022 , FeatureUnsupported = 9 00023 , TopLevelNoNameComplexType = 10 00024 , TopLevelNoNameAttribute = 11 00025 , NoNameRefAttribute = 12 00026 , GlobalNoNameElement = 13 00027 , NoNameRefElement = 14 00028 , NoNameRefGroup = 15 00029 , NoNameRefAttGroup = 16 00030 , AnonComplexTypeWithName = 17 00031 , AnonSimpleTypeWithName = 18 00032 , InvalidElementContent = 19 00033 , UntypedElement = 20 00034 , SimpleTypeContentError = 21 00035 , ExpectedSimpleTypeInList = 22 00036 , ListUnionRestrictionError = 23 00037 , SimpleTypeDerivationByListError = 24 00038 , ExpectedSimpleTypeInRestriction = 25 00039 , DuplicateFacet = 26 00040 , ExpectedSimpleTypeInUnion = 27 00041 , EmptySimpleTypeContent = 28 00042 , InvalidSimpleContent = 29 00043 , UnspecifiedBase = 30 00044 , InvalidComplexContent = 31 00045 , SchemaElementContentError = 32 00046 , ContentError = 33 00047 , UnknownSimpleType = 34 00048 , UnknownComplexType = 35 00049 , UnresolvedPrefix = 36 00050 , RefElementNotFound = 37 00051 , TypeNotFound = 38 00052 , TopLevelAttributeNotFound = 39 00053 , InvalidChildInComplexType = 40 00054 , BaseTypeNotFound = 41 00055 , NoAttributeInSchema = 42 00056 , DatatypeValidatorCreationError = 43 00057 , InvalidChildFollowingSimpleContent = 44 00058 , InvalidChildFollowingConplexContent = 45 00059 , InvalidComplexTypeBlockValue = 46 00060 , InvalidComplexTypeFinalValue = 47 00061 , AttributeDefaultFixedValue = 48 00062 , NotOptionalDefaultAttValue = 49 00063 , LocalAttributeWithNameRef = 50 00064 , GlobalAttributeWithNameRef = 51 00065 , DuplicateAttribute = 52 00066 , AttributeWithTypeAndSimpleType = 53 00067 , AttributeSimpleTypeNotFound = 54 00068 , ElementWithFixedAndDefault = 55 00069 , DeclarationWithNameRef = 56 00070 , BadAttWithRef = 57 00071 , InvalidDeclarationName = 58 00072 , GlobalElementWithRef = 59 00073 , ElementWithTypeAndAnonType = 60 00074 , NotSimpleOrMixedElement = 61 00075 , DisallowedSimpleTypeExtension = 62 00076 , InvalidSimpleContentBase = 63 00077 , InvalidComplexTypeBase = 64 00078 , InvalidChildInSimpleContent = 65 00079 , InvalidChildInComplexContent = 66 00080 , AnnotationError = 67 00081 , DisallowedBaseDerivation = 68 00082 , SubstitutionRepeated = 69 00083 , UnionRepeated = 70 00084 , ExtensionRepeated = 71 00085 , ListRepeated = 72 00086 , RestrictionRepeated = 73 00087 , InvalidBlockValue = 74 00088 , InvalidFinalValue = 75 00089 , InvalidSubstitutionGroupElement = 76 00090 , SubstitutionGroupTypeMismatch = 77 00091 , DuplicateElementDeclaration = 78 00092 , InvalidElementBlockValue = 79 00093 , InvalidElementFinalValue = 80 00094 , InvalidAttValue = 81 00095 , AttributeRefContentError = 82 00096 , DuplicateRefAttribute = 83 00097 , ForbiddenDerivationByRestriction = 84 00098 , ForbiddenDerivationByExtension = 85 00099 , BaseNotComplexType = 86 00100 , ImportNamespaceDifference = 87 00101 , ImportRootError = 88 00102 , DeclarationNoSchemaLocation = 89 00103 , IncludeNamespaceDifference = 90 00104 , OnlyAnnotationExpected = 91 00105 , InvalidAttributeContent = 92 00106 , AttributeRequired = 93 00107 , AttributeDisallowed = 94 00108 , InvalidMin2MaxOccurs = 95 00109 , AnyAttributeContentError = 96 00110 , NoNameGlobalElement = 97 00111 , NoCircularDefinition = 98 00112 , DuplicateGlobalType = 99 00113 , DuplicateGlobalDeclaration = 100 00114 , WS_CollapseExpected = 101 00115 , Import_1_1 = 102 00116 , Import_1_2 = 103 00117 , ElemIDValueConstraint = 104 00118 , NoNotationType = 105 00119 , EmptiableMixedContent = 106 00120 , EmptyComplexRestrictionDerivation = 107 00121 , MixedOrElementOnly = 108 00122 , InvalidContentRestriction = 109 00123 , ForbiddenDerivation = 110 00124 , AtomicItemType = 111 00125 , MemberTypeNoUnion = 112 00126 , GroupContentError = 113 00127 , AttGroupContentError = 114 00128 , MinMaxOnGroupChild = 115 00129 , DeclarationNotFound = 116 00130 , AllContentLimited = 117 00131 , BadMinMaxAllCT = 118 00132 , BadMinMaxAllElem = 119 00133 , NoCircularAttGroup = 120 00134 , DuplicateAttInDerivation = 121 00135 , NotExpressibleWildCardIntersection = 122 00136 , BadAttDerivation_1 = 123 00137 , BadAttDerivation_2 = 124 00138 , BadAttDerivation_3 = 125 00139 , BadAttDerivation_4 = 126 00140 , BadAttDerivation_5 = 127 00141 , BadAttDerivation_6 = 128 00142 , BadAttDerivation_7 = 129 00143 , AllContentError = 130 00144 , RedefineNamespaceDifference = 131 00145 , Redefine_InvalidSimpleType = 132 00146 , Redefine_InvalidSimpleTypeBase = 133 00147 , Redefine_InvalidComplexType = 134 00148 , Redefine_InvalidComplexTypeBase = 135 00149 , Redefine_InvalidGroupMinMax = 136 00150 , Redefine_DeclarationNotFound = 137 00151 , Redefine_GroupRefCount = 138 00152 , Redefine_AttGroupRefCount = 139 00153 , Notation_InvalidDecl = 140 00154 , Notation_DeclNotFound = 141 00155 , DisplayErrorMessage = 142 00156 , E_HighBounds = 143 00157 , F_LowBounds = 144 00158 , ExpectedCommentOrCDATA = 145 00159 , ExpectedAttrName = 146 00160 , ExpectedNotationName = 147 00161 , NoRepInMixed = 148 00162 , BadDefAttrDecl = 149 00163 , ExpectedDefAttrDecl = 150 00164 , AttListSyntaxError = 151 00165 , ExpectedEqSign = 152 00166 , DupAttrName = 153 00167 , BadIdForXMLLangAttr = 154 00168 , ExpectedElementName = 155 00169 , MustStartWithXMLDecl = 156 00170 , CommentsMustStartWith = 157 00171 , InvalidDocumentStructure = 158 00172 , ExpectedDeclString = 159 00173 , BadXMLVersion = 160 00174 , UnsupportedXMLVersion = 161 00175 , UnterminatedXMLDecl = 162 00176 , BadXMLEncoding = 163 00177 , BadStandalone = 164 00178 , UnterminatedComment = 165 00179 , PINameExpected = 166 00180 , UnterminatedPI = 167 00181 , InvalidCharacter = 168 00182 , UnexpectedTextBeforeRoot = 169 00183 , UnterminatedStartTag = 170 00184 , ExpectedAttrValue = 171 00185 , UnterminatedEndTag = 172 00186 , ExpectedAttributeType = 173 00187 , ExpectedEndOfTagX = 174 00188 , ExpectedMarkup = 175 00189 , NotValidAfterContent = 176 00190 , ExpectedComment = 177 00191 , ExpectedCommentOrPI = 178 00192 , ExpectedWhitespace = 179 00193 , NoRootElemInDOCTYPE = 180 00194 , ExpectedQuotedString = 181 00195 , ExpectedPublicId = 182 00196 , InvalidPublicIdChar = 183 00197 , UnterminatedDOCTYPE = 184 00198 , InvalidCharacterInIntSubset = 185 00199 , ExpectedCDATA = 186 00200 , InvalidInitialNameChar = 187 00201 , InvalidNameChar = 188 00202 , UnexpectedWhitespace = 189 00203 , InvalidCharacterInAttrValue = 190 00204 , ExpectedMarkupDecl = 191 00205 , TextDeclNotLegalHere = 192 00206 , ConditionalSectInIntSubset = 193 00207 , ExpectedPEName = 194 00208 , UnterminatedEntityDecl = 195 00209 , InvalidCharacterRef = 196 00210 , UnterminatedCharRef = 197 00211 , ExpectedEntityRefName = 198 00212 , EntityNotFound = 199 00213 , NoUnparsedEntityRefs = 200 00214 , UnterminatedEntityRef = 201 00215 , RecursiveEntity = 202 00216 , PartialMarkupInEntity = 203 00217 , UnterminatedElementDecl = 204 00218 , ExpectedContentSpecExpr = 205 00219 , ExpectedAsterisk = 206 00220 , UnterminatedContentModel = 207 00221 , ExpectedSystemId = 208 00222 , ExpectedSystemOrPublicId = 209 00223 , UnterminatedNotationDecl = 210 00224 , ExpectedSeqChoiceLeaf = 211 00225 , ExpectedChoiceOrCloseParen = 212 00226 , ExpectedSeqOrCloseParen = 213 00227 , ExpectedEnumValue = 214 00228 , ExpectedEnumSepOrParen = 215 00229 , UnterminatedEntityLiteral = 216 00230 , MoreEndThanStartTags = 217 00231 , ExpectedOpenParen = 218 00232 , AttrAlreadyUsedInSTag = 219 00233 , BracketInAttrValue = 220 00234 , Expected2ndSurrogateChar = 221 00235 , ExpectedEndOfConditional = 222 00236 , ExpectedIncOrIgn = 223 00237 , ExpectedINCLUDEBracket = 224 00238 , ExpectedTextDecl = 225 00239 , ExpectedXMLDecl = 226 00240 , UnexpectedEOE = 227 00241 , PEPropogated = 228 00242 , ExtraCloseSquare = 229 00243 , PERefInMarkupInIntSubset = 230 00244 , EntityPropogated = 231 00245 , ExpectedNumericalCharRef = 232 00246 , ExpectedOpenSquareBracket = 233 00247 , BadSequenceInCharData = 234 00248 , IllegalSequenceInComment = 235 00249 , UnterminatedCDATASection = 236 00250 , ExpectedNDATA = 237 00251 , NDATANotValidForPE = 238 00252 , HexRadixMustBeLowerCase = 239 00253 , DeclStringRep = 240 00254 , DeclStringsInWrongOrder = 241 00255 , NoExtRefsInAttValue = 242 00256 , XMLDeclMustBeLowerCase = 243 00257 , ExpectedEntityValue = 244 00258 , BadDigitForRadix = 245 00259 , EndedWithTagsOnStack = 246 00260 , AmbiguousContentModel = 247 00261 , NestedCDATA = 248 00262 , UnknownPrefix = 249 00263 , PartialTagMarkupError = 250 00264 , EmptyMainEntity = 251 00265 , CDATAOutsideOfContent = 252 00266 , OnlyCharRefsAllowedHere = 253 00267 , Unexpected2ndSurrogateChar = 254 00268 , NoPIStartsWithXML = 255 00269 , XMLDeclMustBeFirst = 256 00270 , XMLVersionRequired = 257 00271 , StandaloneNotLegal = 258 00272 , EncodingRequired = 259 00273 , TooManyColonsInName = 260 00274 , InvalidColonPos = 261 00275 , ColonNotLegalWithNS = 262 00276 , SysException = 263 00277 , <a class="code" href="class_XMLException.html">XMLException</a> = 264 00278 , UnexpectedEOF = 265 00279 , UnexpectedError = 266 00280 , BadSchemaLocation = 267 00281 , NoGrammarResolver = 268 00282 , SchemaScanFatalError = 269 00283 , F_HighBounds = 270 00284 }; 00285 <a name="l00286"></a><a class="code" href="class_XMLErrs.html#d0">00286</a> <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="class_XMLErrs.html#d0">isFatal</a>(<font class="keyword">const</font> XMLErrs::Codes toCheck)<font class="keyword"></font> 00287 <font class="keyword"> </font>{ 00288 <font class="keywordflow">return</font> ((toCheck >= F_LowBounds) && (toCheck <= F_HighBounds)); 00289 } 00290 <a name="l00291"></a><a class="code" href="class_XMLErrs.html#d1">00291</a> <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="class_XMLErrs.html#d1">isWarning</a>(<font class="keyword">const</font> XMLErrs::Codes toCheck)<font class="keyword"></font> 00292 <font class="keyword"> </font>{ 00293 <font class="keywordflow">return</font> ((toCheck >= W_LowBounds) && (toCheck <= W_HighBounds)); 00294 } 00295 <a name="l00296"></a><a class="code" href="class_XMLErrs.html#d2">00296</a> <font class="keyword">static</font> <font class="keywordtype">bool</font> <a class="code" href="class_XMLErrs.html#d2">isError</a>(<font class="keyword">const</font> XMLErrs::Codes toCheck)<font class="keyword"></font> 00297 <font class="keyword"> </font>{ 00298 <font class="keywordflow">return</font> ((toCheck >= E_LowBounds) && (toCheck <= E_HighBounds)); 00299 } 00300 <a name="l00301"></a><a class="code" href="class_XMLErrs.html#d3">00301</a> <font class="keyword">static</font> XMLErrorReporter::ErrTypes <a class="code" href="class_XMLErrs.html#d3">errorType</a>(<font class="keyword">const</font> XMLErrs::Codes toCheck)<font class="keyword"></font> 00302 <font class="keyword"> </font>{ 00303 <font class="keywordflow">if</font> ((toCheck >= W_LowBounds) && (toCheck <= W_HighBounds)) 00304 <font class="keywordflow">return</font> XMLErrorReporter::ErrType_Warning; 00305 <font class="keywordflow">else</font> <font class="keywordflow">if</font> ((toCheck >= F_LowBounds) && (toCheck <= F_HighBounds)) 00306 <font class="keywordflow">return</font> XMLErrorReporter::ErrType_Fatal; 00307 <font class="keywordflow">else</font> <font class="keywordflow">if</font> ((toCheck >= E_LowBounds) && (toCheck <= E_HighBounds)) 00308 <font class="keywordflow">return</font> XMLErrorReporter::ErrType_Error; 00309 <font class="keywordflow">return</font> XMLErrorReporter::ErrTypes_Unknown; 00310 } 00311 }; 00312 <font class="preprocessor">#endif</font> 00313 <font class="preprocessor"></font> </div></pre> </FONT></TD></TR></TABLE><BR> </TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> Copyright © 2000 The Apache Software Foundation. All Rights Reserved. </I></FONT></TD></TR></TABLE></BODY></HTML>