| API Docs for SAX and DOM |

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# XMLValid Class Reference

`#include <XMLValidityCodes.hpp>`

List of all members.

## Public Types

enum

Codes {
NoError = 0, E_LowBounds = 1, ElementNotDefined = 2, AttNotDefined = 3,
NotationNotDeclared = 4, RootElemNotLikeDocType = 5, RequiredAttrNotProvided = 6, ElementNotValidForContent = 7,
BadIDAttrDefType = 8, InvalidEmptyAttValue = 9, ElementAlreadyExists = 10, MultipleIdAttrs = 11,
ReusedIDValue = 12, IDNotDeclared = 13, UnknownNotRefAttr = 14, UndeclaredElemInDocType = 15,
EmptyNotValidForContent = 16, AttNotDefinedForElement = 17, BadEntityRefAttr = 18, UnknownEntityRefAttr = 19,
NotEnoughElemsForCM = 20, NoCharDataInCM = 21, DoesNotMatchEnumList = 22, AttrValNotName = 23,
NoMultipleValues = 24, NotSameAsFixedValue = 25, RepElemInMixed = 26, NoValidatorFor = 27,
IncorrectDatatype = 28, NotADatatype = 29, TextOnlyContentWithType = 30, FeatureUnsupported = 31,
NestedOnlyInElemOnly = 32, EltRefOnlyInMixedElemOnly = 33, OnlyInEltContent = 34, OrderIsAll = 35,
DatatypeWithType = 36, DatatypeQualUnsupported = 37, GroupContentRestricted = 38, UnknownBaseDatatype = 39,
OneOfTypeRefArchRef = 40, NoContentForRef = 41, IncorrectDefaultType = 42, IllegalAttContent = 43,
ValueNotInteger = 44, DatatypeError = 45, SchemaError = 46, TypeAlreadySet = 47,
ProhibitedAttributePresent = 48, IllegalXMLSpace = 49, NotBoolean = 50, NotDecimal = 51,
FacetsInconsistent = 52, IllegalFacetValue = 53, IllegalDecimalFacet = 54, UnknownFacet = 55,
InvalidEnumValue = 56, OutOfBounds = 57, NotAnEnumValue = 58, NotInteger = 59,
IllegalIntegerFacet = 60, NotReal = 61, IllegalRealFacet = 62, ScaleLargerThanPrecision = 63,
PrecisionExceeded = 64, ScaleExceeded = 65, NotFloat = 66, SchemaRootError = 67,
WrongTargetNamespace = 68, SimpleTypeHasChild = 69, NoDatatypeValidatorForSimpleType = 70, GrammarNotFound = 71,
DisplayErrorMessage = 72, NillNotAllowed = 73, NilAttrNotEmpty = 74, FixedDifferentFromActual = 75,
NoDatatypeValidatorForAttribute = 76, GenericError = 77, ElementNotQualified = 78, ElementNotUnQualified = 79,
IllegalRefInStandalone = 80, NoDefAttForStandalone = 81, NoAttNormForStandalone = 82, NoWSForStandalone = 83,
VC_EntityNotFound = 84, PartialMarkupInPE = 85, DatatypeValidationFailure = 86, UniqueParticleAttributionFail = 87,
NoAbstractInXsiType = 88, NoDirectUseAbstractElement = 89, NoUseAbstractType = 90, BadXsiType = 91,
NonDerivedXsiType = 92, NoSubforBlock = 93, AttributeNotQualified = 94, AttributeNotUnQualified = 95,
IC_FieldMultipleMatch = 96, IC_UnknownField = 97, IC_AbsentKeyValue = 98, IC_UniqueNotEnoughValues = 99,
IC_KeyNotEnoughValues = 100, IC_KeyRefNotEnoughValues = 101, IC_KeyMatchesNillable = 102, IC_DuplicateUnique = 103,
IC_DuplicateKey = 104, IC_KeyRefOutOfScope = 105, IC_KeyNotFound = 106, E_HighBounds = 107,
W_LowBounds = 108, W_HighBounds = 109, F_LowBounds = 110, F_HighBounds = 111
}

## Static Public Methods

bool | isFatal (const XMLValid::Codes toCheck)
bool | isWarning (const XMLValid::Codes toCheck)
bool | isError (const XMLValid::Codes toCheck)
XMLErrorReporter::ErrTypes | errorType (const XMLValid::Codes toCheck)

## Member Enumeration Documentation

enum XMLValid::Codes

Enumeration values:

  NoError |
  E_LowBounds |
  ElementNotDefined |
  AttNotDefined |
  NotationNotDeclared |
  RootElemNotLikeDocType |
  RequiredAttrNotProvided |
  ElementNotValidForContent |
  BadIDAttrDefType |
  InvalidEmptyAttValue |
  ElementAlreadyExists |
  MultipleIdAttrs |
  ReusedIDValue |
  IDNotDeclared |
  UnknownNotRefAttr |
  UndeclaredElemInDocType |
  EmptyNotValidForContent |
  AttNotDefinedForElement |
  BadEntityRefAttr |
  UnknownEntityRefAttr |
  NotEnoughElemsForCM |
  NoCharDataInCM |
  DoesNotMatchEnumList |
  AttrValNotName |
  NoMultipleValues |
  NotSameAsFixedValue |
  RepElemInMixed |
  NoValidatorFor |
  IncorrectDatatype |
  NotADatatype |
  TextOnlyContentWithType |
  FeatureUnsupported |
  NestedOnlyInElemOnly |
  EltRefOnlyInMixedElemOnly |
  OnlyInEltContent |
  OrderIsAll |
  DatatypeWithType |
  DatatypeQualUnsupported |
  GroupContentRestricted |
  UnknownBaseDatatype |
  OneOfTypeRefArchRef |
  NoContentForRef |
  IncorrectDefaultType |
  IllegalAttContent |
  ValueNotInteger |
  DatatypeError |
  SchemaError |
  TypeAlreadySet |
  ProhibitedAttributePresent |
  IllegalXMLSpace |
  NotBoolean |
  NotDecimal |
  FacetsInconsistent |
  IllegalFacetValue |
  IllegalDecimalFacet |
  UnknownFacet |
  InvalidEnumValue |
  OutOfBounds |
  NotAnEnumValue |
  NotInteger |
  IllegalIntegerFacet |
  NotReal |
  IllegalRealFacet |
  ScaleLargerThanPrecision |
  PrecisionExceeded |
  ScaleExceeded |
  NotFloat |
  SchemaRootError |
  WrongTargetNamespace |
  SimpleTypeHasChild |
  NoDatatypeValidatorForSimpleType |
  GrammarNotFound |
  DisplayErrorMessage |
  NillNotAllowed |
  NilAttrNotEmpty |
  FixedDifferentFromActual |
  NoDatatypeValidatorForAttribute |
  GenericError |
  ElementNotQualified |
  ElementNotUnQualified |
  IllegalRefInStandalone |
  NoDefAttForStandalone |
  NoAttNormForStandalone |
  NoWSForStandalone |
  VC_EntityNotFound |
  PartialMarkupInPE |
  DatatypeValidationFailure |
  UniqueParticleAttributionFail |
  NoAbstractInXsiType |
  NoDirectUseAbstractElement |
  NoUseAbstractType |
  BadXsiType |
  NonDerivedXsiType |
  NoSubforBlock |
  AttributeNotQualified |
  AttributeNotUnQualified |
  IC_FieldMultipleMatch |
  IC_UnknownField |
  IC_AbsentKeyValue |
  IC_UniqueNotEnoughValues |
  IC_KeyNotEnoughValues |
  IC_KeyRefNotEnoughValues |
  IC_KeyMatchesNillable |
  IC_DuplicateUnique |
  IC_DuplicateKey |
  IC_KeyRefOutOfScope |
  IC_KeyNotFound |
  E_HighBounds |
  W_LowBounds |
  W_HighBounds |
  F_LowBounds |
  F_HighBounds |

## Member Function Documentation

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

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

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

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

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

- XMLValidityCodes.hpp

Copyright © 2000 The Apache Software Foundation. All Rights Reserved.