Xerces-C++: XMLErrs Class Reference

- Main Page
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# XMLErrs Class Reference

List of all members.

## Public Types
enum | Codes { NoError = 0, W_LowBounds = 1, NotationAlreadyExists = 2, AttListAlreadyExists = 3, ContradictoryEncoding = 4, UndeclaredElemInCM = 5, UndeclaredElemInAttList = 6, XMLException_Warning = 7, XIncludeResourceErrorWarning = 8, XIncludeCannotOpenFile = 9, XIncludeIncludeFailedResourceError = 10, W_HighBounds = 11, E_LowBounds = 12, FeatureUnsupported = 13, TopLevelNoNameComplexType = 14, TopLevelNoNameAttribute = 15, NoNameRefAttribute = 16, NoNameRefElement = 17, NoNameRefGroup = 18, NoNameRefAttGroup = 19, AnonComplexTypeWithName = 20, AnonSimpleTypeWithName = 21, InvalidElementContent = 22, SimpleTypeContentError = 23, ExpectedSimpleTypeInList = 24, ListUnionRestrictionError = 25, SimpleTypeDerivationByListError = 26, ExpectedSimpleTypeInRestriction = 27, DuplicateFacet = 28, ExpectedSimpleTypeInUnion = 29, EmptySimpleTypeContent = 30, InvalidSimpleContent = 31, UnspecifiedBase = 32, InvalidComplexContent = 33, SchemaElementContentError = 34, ContentError = 35, UnknownSimpleType = 36, UnknownComplexType = 37, UnresolvedPrefix = 38, RefElementNotFound = 39, TypeNotFound = 40, TopLevelAttributeNotFound = 41, InvalidChildInComplexType = 42, BaseTypeNotFound = 43, DatatypeValidatorCreationError = 44, InvalidChildFollowingSimpleContent = 45, InvalidChildFollowingConplexContent = 46, AttributeDefaultFixedValue = 47, NotOptionalDefaultAttValue = 48, DuplicateAttribute = 49, AttributeWithTypeAndSimpleType = 50, AttributeSimpleTypeNotFound = 51, ElementWithFixedAndDefault = 52, InvalidDeclarationName = 53, ElementWithTypeAndAnonType = 54, NotSimpleOrMixedElement = 55, DisallowedSimpleTypeExtension = 56, InvalidSimpleContentBase = 57, InvalidComplexTypeBase = 58, InvalidChildInSimpleContent = 59, InvalidChildInComplexContent = 60, AnnotationError = 61, DisallowedBaseDerivation = 62, SubstitutionRepeated = 63, UnionRepeated = 64, ExtensionRepeated = 65, ListRepeated = 66, RestrictionRepeated = 67, InvalidBlockValue = 68, InvalidFinalValue = 69, InvalidSubstitutionGroupElement = 70, SubstitutionGroupTypeMismatch = 71, DuplicateElementDeclaration = 72, InvalidAttValue = 73, AttributeRefContentError = 74, DuplicateRefAttribute = 75, ForbiddenDerivationByRestriction = 76, ForbiddenDerivationByExtension = 77, BaseNotComplexType = 78, ImportNamespaceDifference = 79, DeclarationNoSchemaLocation = 80, IncludeNamespaceDifference = 81, OnlyAnnotationExpected = 82, InvalidAttributeContent = 83, AttributeRequiredGlobal = 84, AttributeRequiredLocal = 85, AttributeDisallowedGlobal = 86, AttributeDisallowedLocal = 87, InvalidMin2MaxOccurs = 88, AnyAttributeContentError = 89, NoNameGlobalElement = 90, NoCircularDefinition = 91, DuplicateGlobalType = 92, DuplicateGlobalDeclaration = 93, WS_CollapseExpected = 94, Import_1_1 = 95, Import_1_2 = 96, ElemIDValueConstraint = 97, NoNotationType = 98, EmptiableMixedContent = 99, EmptyComplexRestrictionDerivation = 100, MixedOrElementOnly = 101, InvalidContentRestriction = 102, ForbiddenDerivation = 103, AtomicItemType = 104, GroupContentError = 105, AttGroupContentError = 106, MinMaxOnGroupChild = 107, DeclarationNotFound = 108, AllContentLimited = 109, BadMinMaxAllCT = 110, BadMinMaxAllElem = 111, DuplicateAttInDerivation = 112, NotExpressibleWildCardIntersection = 113, BadAttDerivation_1 = 114, BadAttDerivation_2 = 115, BadAttDerivation_3 = 116, BadAttDerivation_4 = 117, BadAttDerivation_5 = 118, BadAttDerivation_6 = 119, BadAttDerivation_7 = 120, BadAttDerivation_8 = 121, BadAttDerivation_9 = 122, AllContentError = 123, RedefineNamespaceDifference = 124, Redefine_InvalidSimpleType = 125, Redefine_InvalidSimpleTypeBase = 126, Redefine_InvalidComplexType = 127, Redefine_InvalidComplexTypeBase = 128, Redefine_InvalidGroupMinMax = 129, Redefine_DeclarationNotFound = 130, Redefine_GroupRefCount = 131, Redefine_AttGroupRefCount = 132, Redefine_InvalidChild = 133, Notation_DeclNotFound = 134, IC_DuplicateDecl = 135, IC_BadContent = 136, IC_KeyRefReferNotFound = 137, IC_KeyRefCardinality = 138, IC_XPathExprMissing = 139, AttUseCorrect = 140, AttDeclPropCorrect3 = 141, AttDeclPropCorrect5 = 142, AttGrpPropCorrect3 = 143, InvalidTargetNSValue = 144, XMLException_Error = 145, InvalidRedefine = 146, InvalidNSReference = 147, NotAllContent = 148, InvalidAnnotationContent = 149, InvalidFacetName = 150, InvalidXMLSchemaRoot = 151, CircularSubsGroup = 152, ELTSchemaNS = 153, InvalidAttTNS = 154, NSDeclInvalid = 155, DOMLevel1Node = 156, E_HighBounds = 157, F_LowBounds = 158, EntityExpansionLimitExceeded = 159, ExpectedCommentOrCDATA = 160, ExpectedAttrName = 161, ExpectedNotationName = 162, NoRepInMixed = 163, ExpectedDefAttrDecl = 164, ExpectedEqSign = 165, ExpectedElementName = 166, CommentsMustStartWith = 167, InvalidDocumentStructure = 168, ExpectedDeclString = 169, BadXMLVersion = 170, UnsupportedXMLVersion = 171, UnterminatedXMLDecl = 172, BadXMLEncoding = 173, BadStandalone = 174, UnterminatedComment = 175, PINameExpected = 176, UnterminatedPI = 177, InvalidCharacter = 178, UnterminatedStartTag = 179, ExpectedAttrValue = 180, UnterminatedEndTag = 181, ExpectedAttributeType = 182, ExpectedEndOfTagX = 183, ExpectedMarkup = 184, NotValidAfterContent = 185, ExpectedComment = 186, ExpectedCommentOrPI = 187, ExpectedWhitespace = 188, NoRootElemInDOCTYPE = 189, ExpectedQuotedString = 190, ExpectedPublicId = 191, InvalidPublicIdChar = 192, UnterminatedDOCTYPE = 193, InvalidCharacterInIntSubset = 194, UnexpectedWhitespace = 195, InvalidCharacterInAttrValue = 196, ExpectedMarkupDecl = 197, TextDeclNotLegalHere = 198, ConditionalSectInIntSubset = 199, ExpectedPEName = 200, UnterminatedEntityDecl = 201, InvalidCharacterRef = 202, UnterminatedCharRef = 203, ExpectedEntityRefName = 204, EntityNotFound = 205, NoUnparsedEntityRefs = 206, UnterminatedEntityRef = 207, RecursiveEntity = 208, PartialMarkupInEntity = 209, UnterminatedElementDecl = 210, ExpectedContentSpecExpr = 211, ExpectedAsterisk = 212, UnterminatedContentModel = 213, ExpectedSystemOrPublicId = 214, UnterminatedNotationDecl = 215, ExpectedSeqChoiceLeaf = 216, ExpectedChoiceOrCloseParen = 217, ExpectedSeqOrCloseParen = 218, ExpectedEnumValue = 219, ExpectedEnumSepOrParen = 220, UnterminatedEntityLiteral = 221, MoreEndThanStartTags = 222, ExpectedOpenParen = 223, AttrAlreadyUsedInSTag = 224, BracketInAttrValue = 225, Expected2ndSurrogateChar = 226, ExpectedEndOfConditional = 227, ExpectedIncOrIgn = 228, ExpectedINCLUDEBracket = 229, UnexpectedEOE = 230, PEPropogated = 231, ExtraCloseSquare = 232, PERefInMarkupInIntSubset = 233, EntityPropogated = 234, ExpectedNumericalCharRef = 235, ExpectedOpenSquareBracket = 236, BadSequenceInCharData = 237, IllegalSequenceInComment = 238, UnterminatedCDATASection = 239, ExpectedNDATA = 240, NDATANotValidForPE = 241, HexRadixMustBeLowerCase = 242, DeclStringRep = 243, DeclStringsInWrongOrder = 244, NoExtRefsInAttValue = 245, XMLDeclMustBeLowerCase = 246, ExpectedEntityValue = 247, BadDigitForRadix = 248, EndedWithTagsOnStack = 249, NestedCDATA = 250, UnknownPrefix = 251, PartialTagMarkupError = 252, EmptyMainEntity = 253, CDATAOutsideOfContent = 254, Unexpected2ndSurrogateChar = 255, NoPIStartsWithXML = 256, XMLDeclMustBeFirst = 257, XMLVersionRequired = 258, StandaloneNotLegal = 259, EncodingRequired = 260, ColonNotLegalWithNS = 261, XMLException_Fatal = 262, BadSchemaLocation = 263, SchemaScanFatalError = 264, IllegalRefInStandalone = 265, PEBetweenDecl = 266, NoEmptyStrNamespace = 267, NoUseOfxmlnsAsPrefix = 268, NoUseOfxmlnsURI = 269, PrefixXMLNotMatchXMLURI = 270, XMLURINotMatchXMLPrefix = 271, NoXMLNSAsElementPrefix = 272, CT_SimpleTypeChildRequired = 273, InvalidRootElemInDOCTYPE = 274, InvalidElementName = 275, InvalidAttrName = 276, InvalidEntityRefName = 277, DuplicateDocTypeDecl = 278, XIncludeOrphanFallback = 279, XIncludeNoHref = 280, XIncludeXPointerNotSupported = 281, XIncludeInvalidParseVal = 282, XIncludeMultipleFallbackElems = 283, XIncludeIncludeFailedNoFallback = 284, XIncludeCircularInclusionLoop = 285, XIncludeCircularInclusionDocIncludesSelf = 286, XIncludeDisallowedChild = 287, XIncludeConflictingNotation = 288, XIncludeConflictingEntity = 289, F_HighBounds = 290 }
## Static Public Member Functions
static bool | isFatal (const XMLErrs::Codes toCheck)
static bool | isWarning (const XMLErrs::Codes toCheck)
static bool | isError (const XMLErrs::Codes toCheck)
static XMLErrorReporter::ErrTypes | errorType (const XMLErrs::Codes toCheck)
static DOMError::ErrorSeverity | DOMErrorType (const XMLErrs::Codes toCheck)

## Member Enumeration Documentation

enum XMLErrs::Codes

Enumerator:

  NoError |
  W_LowBounds |
  NotationAlreadyExists |
  AttListAlreadyExists |
  ContradictoryEncoding |
  UndeclaredElemInCM |
  UndeclaredElemInAttList |
  XMLException_Warning |
  XIncludeResourceErrorWarning |
  XIncludeCannotOpenFile |
  XIncludeIncludeFailedResourceError |
  W_HighBounds |
  E_LowBounds |
  FeatureUnsupported |
  TopLevelNoNameComplexType |
  TopLevelNoNameAttribute |
  NoNameRefAttribute |
  NoNameRefElement |
  NoNameRefGroup |
  NoNameRefAttGroup |
  AnonComplexTypeWithName |
  AnonSimpleTypeWithName |
  InvalidElementContent |
  SimpleTypeContentError |
  ExpectedSimpleTypeInList |
  ListUnionRestrictionError |
  SimpleTypeDerivationByListError |
  ExpectedSimpleTypeInRestriction |
  DuplicateFacet |
  ExpectedSimpleTypeInUnion |
  EmptySimpleTypeContent |
  InvalidSimpleContent |
  UnspecifiedBase |
  InvalidComplexContent |
  SchemaElementContentError |
  ContentError |
  UnknownSimpleType |
  UnknownComplexType |
  UnresolvedPrefix |
  RefElementNotFound |
  TypeNotFound |
  TopLevelAttributeNotFound |
  InvalidChildInComplexType |
  BaseTypeNotFound |
  DatatypeValidatorCreationError |
  InvalidChildFollowingSimpleContent |
  InvalidChildFollowingConplexContent |
  AttributeDefaultFixedValue |
  NotOptionalDefaultAttValue |
  DuplicateAttribute |
  AttributeWithTypeAndSimpleType |
  AttributeSimpleTypeNotFound |
  ElementWithFixedAndDefault |
  InvalidDeclarationName |
  ElementWithTypeAndAnonType |
  NotSimpleOrMixedElement |
  DisallowedSimpleTypeExtension |
  InvalidSimpleContentBase |
  InvalidComplexTypeBase |
  InvalidChildInSimpleContent |
  InvalidChildInComplexContent |
  AnnotationError |
  DisallowedBaseDerivation |
  SubstitutionRepeated |
  UnionRepeated |
  ExtensionRepeated |
  ListRepeated |
  RestrictionRepeated |
  InvalidBlockValue |
  InvalidFinalValue |
  InvalidSubstitutionGroupElement |
  SubstitutionGroupTypeMismatch |
  DuplicateElementDeclaration |
  InvalidAttValue |
  AttributeRefContentError |
  DuplicateRefAttribute |
  ForbiddenDerivationByRestriction |
  ForbiddenDerivationByExtension |
  BaseNotComplexType |
  ImportNamespaceDifference |
  DeclarationNoSchemaLocation |
  IncludeNamespaceDifference |
  OnlyAnnotationExpected |
  InvalidAttributeContent |
  AttributeRequiredGlobal |
  AttributeRequiredLocal |
  AttributeDisallowedGlobal |
  AttributeDisallowedLocal |
  InvalidMin2MaxOccurs |
  AnyAttributeContentError |
  NoNameGlobalElement |
  NoCircularDefinition |
  DuplicateGlobalType |
  DuplicateGlobalDeclaration |
  WS_CollapseExpected |
  Import_1_1 |
  Import_1_2 |
  ElemIDValueConstraint |
  NoNotationType |
  EmptiableMixedContent |
  EmptyComplexRestrictionDerivation |
  MixedOrElementOnly |
  InvalidContentRestriction |
  ForbiddenDerivation |
  AtomicItemType |
  GroupContentError |
  AttGroupContentError |
  MinMaxOnGroupChild |
  DeclarationNotFound |
  AllContentLimited |
  BadMinMaxAllCT |
  BadMinMaxAllElem |
  DuplicateAttInDerivation |
  NotExpressibleWildCardIntersection |
  BadAttDerivation_1 |
  BadAttDerivation_2 |
  BadAttDerivation_3 |
  BadAttDerivation_4 |
  BadAttDerivation_5 |
  BadAttDerivation_6 |
  BadAttDerivation_7 |
  BadAttDerivation_8 |
  BadAttDerivation_9 |
  AllContentError |
  RedefineNamespaceDifference |
  Redefine_InvalidSimpleType |
  Redefine_InvalidSimpleTypeBase |
  Redefine_InvalidComplexType |
  Redefine_InvalidComplexTypeBase |
  Redefine_InvalidGroupMinMax |
  Redefine_DeclarationNotFound |
  Redefine_GroupRefCount |
  Redefine_AttGroupRefCount |
  Redefine_InvalidChild |
  Notation_DeclNotFound |
  IC_DuplicateDecl |
  IC_BadContent |
  IC_KeyRefReferNotFound |
  IC_KeyRefCardinality |
  IC_XPathExprMissing |
  AttUseCorrect |
  AttDeclPropCorrect3 |
  AttDeclPropCorrect5 |
  AttGrpPropCorrect3 |
  InvalidTargetNSValue |
  XMLException_Error |
  InvalidRedefine |
  InvalidNSReference |
  NotAllContent |
  InvalidAnnotationContent |
  InvalidFacetName |
  InvalidXMLSchemaRoot |
  CircularSubsGroup |
  ELTSchemaNS |
  InvalidAttTNS |
  NSDeclInvalid |
  DOMLevel1Node |
  E_HighBounds |
  F_LowBounds |
  EntityExpansionLimitExceeded |
  ExpectedCommentOrCDATA |
  ExpectedAttrName |
  ExpectedNotationName |
  NoRepInMixed |
  ExpectedDefAttrDecl |
  ExpectedEqSign |
  ExpectedElementName |
  CommentsMustStartWith |
  InvalidDocumentStructure |
  ExpectedDeclString |
  BadXMLVersion |
  UnsupportedXMLVersion |
  UnterminatedXMLDecl |
  BadXMLEncoding |
  BadStandalone |
  UnterminatedComment |
  PINameExpected |
  UnterminatedPI |
  InvalidCharacter |
  UnterminatedStartTag |
  ExpectedAttrValue |
  UnterminatedEndTag |
  ExpectedAttributeType |
  ExpectedEndOfTagX |
  ExpectedMarkup |
  NotValidAfterContent |
  ExpectedComment |
  ExpectedCommentOrPI |
  ExpectedWhitespace |
  NoRootElemInDOCTYPE |
  ExpectedQuotedString |
  ExpectedPublicId |
  InvalidPublicIdChar |
  UnterminatedDOCTYPE |
  InvalidCharacterInIntSubset |
  UnexpectedWhitespace |
  InvalidCharacterInAttrValue |
  ExpectedMarkupDecl |
  TextDeclNotLegalHere |
  ConditionalSectInIntSubset |
  ExpectedPEName |
  UnterminatedEntityDecl |
  InvalidCharacterRef |
  UnterminatedCharRef |
  ExpectedEntityRefName |
  EntityNotFound |
  NoUnparsedEntityRefs |
  UnterminatedEntityRef |
  RecursiveEntity |
  PartialMarkupInEntity |
  UnterminatedElementDecl |
  ExpectedContentSpecExpr |
  ExpectedAsterisk |
  UnterminatedContentModel |
  ExpectedSystemOrPublicId |
  UnterminatedNotationDecl |
  ExpectedSeqChoiceLeaf |
  ExpectedChoiceOrCloseParen |
  ExpectedSeqOrCloseParen |
  ExpectedEnumValue |
  ExpectedEnumSepOrParen |
  UnterminatedEntityLiteral |
  MoreEndThanStartTags |
  ExpectedOpenParen |
  AttrAlreadyUsedInSTag |
  BracketInAttrValue |
  Expected2ndSurrogateChar |
  ExpectedEndOfConditional |
  ExpectedIncOrIgn |
  ExpectedINCLUDEBracket |
  UnexpectedEOE |
  PEPropogated |
  ExtraCloseSquare |
  PERefInMarkupInIntSubset |
  EntityPropogated |
  ExpectedNumericalCharRef |
  ExpectedOpenSquareBracket |
  BadSequenceInCharData |
  IllegalSequenceInComment |
  UnterminatedCDATASection |
  ExpectedNDATA |
  NDATANotValidForPE |
  HexRadixMustBeLowerCase |
  DeclStringRep |
  DeclStringsInWrongOrder |
  NoExtRefsInAttValue |
  XMLDeclMustBeLowerCase |
  ExpectedEntityValue |
  BadDigitForRadix |
  EndedWithTagsOnStack |
  NestedCDATA |
  UnknownPrefix |
  PartialTagMarkupError |
  EmptyMainEntity |
  CDATAOutsideOfContent |
  Unexpected2ndSurrogateChar |
  NoPIStartsWithXML |
  XMLDeclMustBeFirst |
  XMLVersionRequired |
  StandaloneNotLegal |
  EncodingRequired |
  ColonNotLegalWithNS |
  XMLException_Fatal |
  BadSchemaLocation |
  SchemaScanFatalError |
  IllegalRefInStandalone |
  PEBetweenDecl |
  NoEmptyStrNamespace |
  NoUseOfxmlnsAsPrefix |
  NoUseOfxmlnsURI |
  PrefixXMLNotMatchXMLURI |
  XMLURINotMatchXMLPrefix |
  NoXMLNSAsElementPrefix |
  CT_SimpleTypeChildRequired |
  InvalidRootElemInDOCTYPE |
  InvalidElementName |
  InvalidAttrName |
  InvalidEntityRefName |
  DuplicateDocTypeDecl |
  XIncludeOrphanFallback |
  XIncludeNoHref |
  XIncludeXPointerNotSupported |
  XIncludeInvalidParseVal |
  XIncludeMultipleFallbackElems |
  XIncludeIncludeFailedNoFallback |
  XIncludeCircularInclusionLoop |
  XIncludeCircularInclusionDocIncludesSelf |
  XIncludeDisallowedChild |
  XIncludeConflictingNotation |
  XIncludeConflictingEntity |
  F_HighBounds |

## Member Function Documentation

static bool XMLErrs::isFatal | ( | const XMLErrs::Codes | toCheck | ) | `[static]`

static bool XMLErrs::isWarning | ( | const XMLErrs::Codes | toCheck | ) | `[static]`

static bool XMLErrs::isError | ( | const XMLErrs::Codes | toCheck | ) | `[static]`

static XMLErrorReporter::ErrTypes XMLErrs::errorType | ( | const XMLErrs::Codes | toCheck | ) | `[static]`

static DOMError::ErrorSeverity XMLErrs::DOMErrorType | ( | const XMLErrs::Codes | toCheck | ) | `[static]`

The documentation for this class was generated from the following file:

- XMLErrorCodes.hpp