📄 xmlerrorcodes.hpp
字号:
, ExpectedCommentOrCDATA = 173 , ExpectedAttrName = 174 , ExpectedNotationName = 175 , NoRepInMixed = 176 , BadDefAttrDecl = 177 , ExpectedDefAttrDecl = 178 , AttListSyntaxError = 179 , ExpectedEqSign = 180 , DupAttrName = 181 , BadIdForXMLLangAttr = 182 , ExpectedElementName = 183 , MustStartWithXMLDecl = 184 , CommentsMustStartWith = 185 , InvalidDocumentStructure = 186 , ExpectedDeclString = 187 , BadXMLVersion = 188 , UnsupportedXMLVersion = 189 , UnterminatedXMLDecl = 190 , BadXMLEncoding = 191 , BadStandalone = 192 , UnterminatedComment = 193 , PINameExpected = 194 , UnterminatedPI = 195 , InvalidCharacter = 196 , UnexpectedTextBeforeRoot = 197 , UnterminatedStartTag = 198 , ExpectedAttrValue = 199 , UnterminatedEndTag = 200 , ExpectedAttributeType = 201 , ExpectedEndOfTagX = 202 , ExpectedMarkup = 203 , NotValidAfterContent = 204 , ExpectedComment = 205 , ExpectedCommentOrPI = 206 , ExpectedWhitespace = 207 , NoRootElemInDOCTYPE = 208 , ExpectedQuotedString = 209 , ExpectedPublicId = 210 , InvalidPublicIdChar = 211 , UnterminatedDOCTYPE = 212 , InvalidCharacterInIntSubset = 213 , ExpectedCDATA = 214 , InvalidInitialNameChar = 215 , InvalidNameChar = 216 , UnexpectedWhitespace = 217 , InvalidCharacterInAttrValue = 218 , ExpectedMarkupDecl = 219 , TextDeclNotLegalHere = 220 , ConditionalSectInIntSubset = 221 , ExpectedPEName = 222 , UnterminatedEntityDecl = 223 , InvalidCharacterRef = 224 , UnterminatedCharRef = 225 , ExpectedEntityRefName = 226 , EntityNotFound = 227 , NoUnparsedEntityRefs = 228 , UnterminatedEntityRef = 229 , RecursiveEntity = 230 , PartialMarkupInEntity = 231 , UnterminatedElementDecl = 232 , ExpectedContentSpecExpr = 233 , ExpectedAsterisk = 234 , UnterminatedContentModel = 235 , ExpectedSystemId = 236 , ExpectedSystemOrPublicId = 237 , UnterminatedNotationDecl = 238 , ExpectedSeqChoiceLeaf = 239 , ExpectedChoiceOrCloseParen = 240 , ExpectedSeqOrCloseParen = 241 , ExpectedEnumValue = 242 , ExpectedEnumSepOrParen = 243 , UnterminatedEntityLiteral = 244 , MoreEndThanStartTags = 245 , ExpectedOpenParen = 246 , AttrAlreadyUsedInSTag = 247 , BracketInAttrValue = 248 , Expected2ndSurrogateChar = 249 , ExpectedEndOfConditional = 250 , ExpectedIncOrIgn = 251 , ExpectedINCLUDEBracket = 252 , ExpectedTextDecl = 253 , ExpectedXMLDecl = 254 , UnexpectedEOE = 255 , PEPropogated = 256 , ExtraCloseSquare = 257 , PERefInMarkupInIntSubset = 258 , EntityPropogated = 259 , ExpectedNumericalCharRef = 260 , ExpectedOpenSquareBracket = 261 , BadSequenceInCharData = 262 , IllegalSequenceInComment = 263 , UnterminatedCDATASection = 264 , ExpectedNDATA = 265 , NDATANotValidForPE = 266 , HexRadixMustBeLowerCase = 267 , DeclStringRep = 268 , DeclStringsInWrongOrder = 269 , NoExtRefsInAttValue = 270 , XMLDeclMustBeLowerCase = 271 , ExpectedEntityValue = 272 , BadDigitForRadix = 273 , EndedWithTagsOnStack = 274 , AmbiguousContentModel = 275 , NestedCDATA = 276 , UnknownPrefix = 277 , PartialTagMarkupError = 278 , EmptyMainEntity = 279 , CDATAOutsideOfContent = 280 , OnlyCharRefsAllowedHere = 281 , Unexpected2ndSurrogateChar = 282 , NoPIStartsWithXML = 283 , XMLDeclMustBeFirst = 284 , XMLVersionRequired = 285 , StandaloneNotLegal = 286 , EncodingRequired = 287 , TooManyColonsInName = 288 , InvalidColonPos = 289 , ColonNotLegalWithNS = 290 , SysException = 291 , XMLException_Fatal = 292 , UnexpectedEOF = 293 , UnexpectedError = 294 , BadSchemaLocation = 295 , NoGrammarResolver = 296 , SchemaScanFatalError = 297 , IllegalRefInStandalone = 298 , PEBetweenDecl = 299 , NoEmptyStrNamespace = 300 , NoUseOfxmlnsAsPrefix = 301 , NoUseOfxmlnsURI = 302 , PrefixXMLNotMatchXMLURI = 303 , XMLURINotMatchXMLPrefix = 304 , NoXMLNSAsElementPrefix = 305 , CT_SimpleTypeChildRequired = 306 , InvalidRootElemInDOCTYPE = 307 , InvalidElementName = 308 , InvalidAttrName = 309 , InvalidEntityRefName = 310 , DuplicateDocTypeDecl = 311 , F_HighBounds = 312 }; static bool isFatal(const XMLErrs::Codes toCheck) { return ((toCheck >= F_LowBounds) && (toCheck <= F_HighBounds)); } static bool isWarning(const XMLErrs::Codes toCheck) { return ((toCheck >= W_LowBounds) && (toCheck <= W_HighBounds)); } static bool isError(const XMLErrs::Codes toCheck) { return ((toCheck >= E_LowBounds) && (toCheck <= E_HighBounds)); } static XMLErrorReporter::ErrTypes errorType(const XMLErrs::Codes toCheck) { if ((toCheck >= W_LowBounds) && (toCheck <= W_HighBounds)) return XMLErrorReporter::ErrType_Warning; else if ((toCheck >= F_LowBounds) && (toCheck <= F_HighBounds)) return XMLErrorReporter::ErrType_Fatal; else if ((toCheck >= E_LowBounds) && (toCheck <= E_HighBounds)) return XMLErrorReporter::ErrType_Error; return XMLErrorReporter::ErrTypes_Unknown; } static DOMError::ErrorSeverity DOMErrorType(const XMLErrs::Codes toCheck) { if ((toCheck >= W_LowBounds) && (toCheck <= W_HighBounds)) return DOMError::DOM_SEVERITY_WARNING; else if ((toCheck >= F_LowBounds) && (toCheck <= F_HighBounds)) return DOMError::DOM_SEVERITY_FATAL_ERROR; else return DOMError::DOM_SEVERITY_ERROR; }private: // ----------------------------------------------------------------------- // Unimplemented constructors and operators // ----------------------------------------------------------------------- XMLErrs();};XERCES_CPP_NAMESPACE_END#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -