www.alphaworks.ibm.comwww.ibm.com/developerwww.ibm.com

Home

Readme
Download

Build







Migration

Releases

Feedback

Y2K Compliance


CVS Repository
Mail Archive

API Docs for SAX and DOM
 

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

XMLErrs Class Reference

#include <XMLErrorCodes.hpp>

List of all members.

Public Types

enum  Codes {
  NoError = 0, W_LowBounds = 1, NotationAlreadyExists = 2, AttListAlreadyExists = 3,
  ContradictoryEncoding = 4, UndeclaredElemInCM = 5, UndeclaredElemInAttList = 6, W_HighBounds = 7,
  E_LowBounds = 8, FeatureUnsupported = 9, TopLevelNoNameComplexType = 10, TopLevelNoNameAttribute = 11,
  NoNameRefAttribute = 12, GlobalNoNameElement = 13, NoNameRefElement = 14, AnonComplexTypeWithName = 15,
  AnonSimpleTypeWithName = 16, InvalidElementContent = 17, InvalidAttributeName = 18, UntypedElement = 19,
  SimpleTypeContentError = 20, ExpectedSimpleTypeInList = 21, ListUnionRestrictionError = 22, SimpleTypeDerivationByListError = 23,
  ExpectedSimpleTypeInRestriction = 24, DuplicateFacet = 25, ExpectedSimpleTypeInUnion = 26, EmptySimpleTypeContent = 27,
  InvalidSimpleContent = 28, UnspecifiedBase = 29, InvalidComplexContent = 30, SchemaElementContentError = 31,
  ContentError = 32, UnknownSimpleType = 33, UnknownComplexType = 34, UnresolvedPrefix = 35,
  RefElementNotFound = 36, TypeNotFound = 37, TopLevelAttributeNotFound = 38, InvalidChildInComplexType = 39,
  BaseTypeNotFound = 40, NoAttributeInSchema = 41, DatatypeValidatorCreationError = 42, InvalidComplexTypeName = 43,
  InvalidChildFollowingSimpleContent = 44, InvalidChildFollowingConplexContent = 45, InvalidComplexTypeBlockValue = 46, InvalidComplexTypeFinalValue = 47,
  AttributeDefaultFixedValue = 48, NotOptionalDefaultAttValue = 49, LocalAttributeWithNameRef = 50, GlobalAttributeWithNameRef = 51,
  DuplicateAttribute = 52, AttributeWithTypeAndSimpleType = 53, AttributeSimpleTypeNotFound = 54, ElementWithFixedAndDefault = 55,
  ElementWithNameRef = 56, BadAttWithRef = 57, InvalidElementName = 58, GlobalElementWithRef = 59,
  ElementWithTypeAndAnonType = 60, DatatypeValidationFailure = 61, NotSimpleOrMixedElement = 62, DisallowedSimpleTypeExtension = 63,
  InvalidSimpleContentBase = 64, InvalidComplexTypeBase = 65, InvalidChildInSimpleContent = 66, InvalidChildInComplexContent = 67,
  AnnotationError = 68, DisallowedBaseDerivation = 69, SubstitutionRepeated = 70, UnionRepeated = 71,
  ExtensionRepeated = 72, ListRepeated = 73, RestrictionRepeated = 74, InvalidBlockValue = 75,
  InvalidFinalValue = 76, InvalidSubstitutionGroupElement = 77, SubstitutionGroupTypeMismatch = 78, DuplicateElementDeclaration = 79,
  InvalidElementBlockValue = 80, InvalidElementFinalValue = 81, InvalidAttValue = 82, AttributeRefContentError = 83,
  DuplicateRefAttribute = 84, ForbiddenDerivationByRestriction = 85, ForbiddenDerivationByExtension = 86, BaseNotComplexType = 87,
  ImportNoSchemaLocation = 88, ImportNamespaceDifference = 89, ImportRootError = 90, IncludeNoSchemaLocation = 91,
  IncludeNamespaceDifference = 92, OnlyAnnotationExpected = 93, InvalidAttributeContent = 94, AttributeRequired = 95,
  AttributeDisallowed = 96, InvalidMin2MaxOccurs = 97, AnyAttributeContentError = 98, NoNameGlobalElement = 99,
  NoCircularDefinition = 100, DuplicateGlobalType = 101, WS_CollapseExpected = 102, DisplayErrorMessage = 103,
  E_HighBounds = 104, F_LowBounds = 105, ExpectedCommentOrCDATA = 106, ExpectedAttrName = 107,
  ExpectedNotationName = 108, NoRepInMixed = 109, BadDefAttrDecl = 110, ExpectedDefAttrDecl = 111,
  AttListSyntaxError = 112, ExpectedEqSign = 113, DupAttrName = 114, BadIdForXMLLangAttr = 115,
  ExpectedElementName = 116, MustStartWithXMLDecl = 117, CommentsMustStartWith = 118, InvalidDocumentStructure = 119,
  ExpectedDeclString = 120, BadXMLVersion = 121, UnsupportedXMLVersion = 122, UnterminatedXMLDecl = 123,
  BadXMLEncoding = 124, BadStandalone = 125, UnterminatedComment = 126, PINameExpected = 127,
  UnterminatedPI = 128, InvalidCharacter = 129, UnexpectedTextBeforeRoot = 130, UnterminatedStartTag = 131,
  ExpectedAttrValue = 132, UnterminatedEndTag = 133, ExpectedAttributeType = 134, ExpectedEndOfTagX = 135,
  ExpectedMarkup = 136, NotValidAfterContent = 137, ExpectedComment = 138, ExpectedCommentOrPI = 139,
  ExpectedWhitespace = 140, NoRootElemInDOCTYPE = 141, ExpectedQuotedString = 142, ExpectedPublicId = 143,
  InvalidPublicIdChar = 144, UnterminatedDOCTYPE = 145, InvalidCharacterInIntSubset = 146, ExpectedCDATA = 147,
  InvalidInitialNameChar = 148, InvalidNameChar = 149, UnexpectedWhitespace = 150, InvalidCharacterInAttrValue = 151,
  ExpectedMarkupDecl = 152, TextDeclNotLegalHere = 153, ConditionalSectInIntSubset = 154, ExpectedPEName = 155,
  UnterminatedEntityDecl = 156, InvalidCharacterRef = 157, UnterminatedCharRef = 158, ExpectedEntityRefName = 159,
  EntityNotFound = 160, NoUnparsedEntityRefs = 161, UnterminatedEntityRef = 162, RecursiveEntity = 163,
  PartialMarkupInEntity = 164, UnterminatedElementDecl = 165, ExpectedContentSpecExpr = 166, ExpectedAsterisk = 167,
  UnterminatedContentModel = 168, ExpectedSystemId = 169, ExpectedSystemOrPublicId = 170, UnterminatedNotationDecl = 171,
  ExpectedSeqChoiceLeaf = 172, ExpectedChoiceOrCloseParen = 173, ExpectedSeqOrCloseParen = 174, ExpectedEnumValue = 175,
  ExpectedEnumSepOrParen = 176, UnterminatedEntityLiteral = 177, MoreEndThanStartTags = 178, IllegalRefInStandalone = 179,
  ExpectedOpenParen = 180, AttrAlreadyUsedInSTag = 181, BracketInAttrValue = 182, Expected2ndSurrogateChar = 183,
  ExpectedEndOfConditional = 184, ExpectedIncOrIgn = 185, ExpectedINCLUDEBracket = 186, ExpectedTextDecl = 187,
  ExpectedXMLDecl = 188, UnexpectedEOE = 189, PEPropogated = 190, ExtraCloseSquare = 191,
  PERefInMarkupInIntSubset = 192, EntityPropogated = 193, ExpectedNumericalCharRef = 194, ExpectedOpenSquareBracket = 195,
  BadSequenceInCharData = 196, IllegalSequenceInComment = 197, UnterminatedCDATASection = 198, ExpectedNDATA = 199,
  NDATANotValidForPE = 200, HexRadixMustBeLowerCase = 201, DeclStringRep = 202, DeclStringsInWrongOrder = 203,
  NoExtRefsInAttValue = 204, XMLDeclMustBeLowerCase = 205, ExpectedEntityValue = 206, BadDigitForRadix = 207,
  EndedWithTagsOnStack = 208, AmbiguousContentModel = 209, NestedCDATA = 210, UnknownPrefix = 211,
  PartialTagMarkupError = 212, EmptyMainEntity = 213, CDATAOutsideOfContent = 214, OnlyCharRefsAllowedHere = 215,
  Unexpected2ndSurrogateChar = 216, NoPIStartsWithXML = 217, XMLDeclMustBeFirst = 218, XMLVersionRequired = 219,
  StandaloneNotLegal = 220, TooManyColonsInName = 221, InvalidColonPos = 222, ColonNotLegalWithNS = 223,
  SysException = 224, XMLException = 225, UnexpectedEOF = 226, UnexpectedError = 227,
  BadSchemaLocation = 228, NoGrammarResolver = 229, F_HighBounds = 230
}

Static Public Methods

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


Member Enumeration Documentation

enum XMLErrs::Codes
 

Enumeration values:
NoError  
W_LowBounds  
NotationAlreadyExists  
AttListAlreadyExists  
ContradictoryEncoding  
UndeclaredElemInCM  
UndeclaredElemInAttList  
W_HighBounds  
E_LowBounds  
FeatureUnsupported  
TopLevelNoNameComplexType  
TopLevelNoNameAttribute  
NoNameRefAttribute  
GlobalNoNameElement  
NoNameRefElement  
AnonComplexTypeWithName  
AnonSimpleTypeWithName  
InvalidElementContent  
InvalidAttributeName  
UntypedElement  
SimpleTypeContentError  
ExpectedSimpleTypeInList  
ListUnionRestrictionError  
SimpleTypeDerivationByListError  
ExpectedSimpleTypeInRestriction  
DuplicateFacet  
ExpectedSimpleTypeInUnion  
EmptySimpleTypeContent  
InvalidSimpleContent  
UnspecifiedBase  
InvalidComplexContent  
SchemaElementContentError  
ContentError  
UnknownSimpleType  
UnknownComplexType  
UnresolvedPrefix  
RefElementNotFound  
TypeNotFound  
TopLevelAttributeNotFound  
InvalidChildInComplexType  
BaseTypeNotFound  
NoAttributeInSchema  
DatatypeValidatorCreationError  
InvalidComplexTypeName  
InvalidChildFollowingSimpleContent  
InvalidChildFollowingConplexContent  
InvalidComplexTypeBlockValue  
InvalidComplexTypeFinalValue  
AttributeDefaultFixedValue  
NotOptionalDefaultAttValue  
LocalAttributeWithNameRef  
GlobalAttributeWithNameRef  
DuplicateAttribute  
AttributeWithTypeAndSimpleType  
AttributeSimpleTypeNotFound  
ElementWithFixedAndDefault  
ElementWithNameRef  
BadAttWithRef  
InvalidElementName  
GlobalElementWithRef  
ElementWithTypeAndAnonType  
DatatypeValidationFailure  
NotSimpleOrMixedElement  
DisallowedSimpleTypeExtension  
InvalidSimpleContentBase  
InvalidComplexTypeBase  
InvalidChildInSimpleContent  
InvalidChildInComplexContent  
AnnotationError  
DisallowedBaseDerivation  
SubstitutionRepeated  
UnionRepeated  
ExtensionRepeated  
ListRepeated  
RestrictionRepeated  
InvalidBlockValue  
InvalidFinalValue  
InvalidSubstitutionGroupElement  
SubstitutionGroupTypeMismatch  
DuplicateElementDeclaration  
InvalidElementBlockValue  
InvalidElementFinalValue  
InvalidAttValue  
AttributeRefContentError  
DuplicateRefAttribute  
ForbiddenDerivationByRestriction  
ForbiddenDerivationByExtension  
BaseNotComplexType  
ImportNoSchemaLocation  
ImportNamespaceDifference  
ImportRootError  
IncludeNoSchemaLocation  
IncludeNamespaceDifference  
OnlyAnnotationExpected  
InvalidAttributeContent  
AttributeRequired  
AttributeDisallowed  
InvalidMin2MaxOccurs  
AnyAttributeContentError  
NoNameGlobalElement  
NoCircularDefinition  
DuplicateGlobalType  
WS_CollapseExpected  
DisplayErrorMessage  
E_HighBounds  
F_LowBounds  
ExpectedCommentOrCDATA  
ExpectedAttrName  
ExpectedNotationName  
NoRepInMixed  
BadDefAttrDecl  
ExpectedDefAttrDecl  
AttListSyntaxError  
ExpectedEqSign  
DupAttrName  
BadIdForXMLLangAttr  
ExpectedElementName  
MustStartWithXMLDecl  
CommentsMustStartWith  
InvalidDocumentStructure  
ExpectedDeclString  
BadXMLVersion  
UnsupportedXMLVersion  
UnterminatedXMLDecl  
BadXMLEncoding  
BadStandalone  
UnterminatedComment  
PINameExpected  
UnterminatedPI  
InvalidCharacter  
UnexpectedTextBeforeRoot  
UnterminatedStartTag  
ExpectedAttrValue  
UnterminatedEndTag  
ExpectedAttributeType  
ExpectedEndOfTagX  
ExpectedMarkup  
NotValidAfterContent  
ExpectedComment  
ExpectedCommentOrPI  
ExpectedWhitespace  
NoRootElemInDOCTYPE  
ExpectedQuotedString  
ExpectedPublicId  
InvalidPublicIdChar  
UnterminatedDOCTYPE  
InvalidCharacterInIntSubset  
ExpectedCDATA  
InvalidInitialNameChar  
InvalidNameChar  
UnexpectedWhitespace  
InvalidCharacterInAttrValue  
ExpectedMarkupDecl  
TextDeclNotLegalHere  
ConditionalSectInIntSubset  
ExpectedPEName  
UnterminatedEntityDecl  
InvalidCharacterRef  
UnterminatedCharRef  
ExpectedEntityRefName  
EntityNotFound  
NoUnparsedEntityRefs  
UnterminatedEntityRef  
RecursiveEntity  
PartialMarkupInEntity  
UnterminatedElementDecl  
ExpectedContentSpecExpr  
ExpectedAsterisk  
UnterminatedContentModel  
ExpectedSystemId  
ExpectedSystemOrPublicId  
UnterminatedNotationDecl  
ExpectedSeqChoiceLeaf  
ExpectedChoiceOrCloseParen  
ExpectedSeqOrCloseParen  
ExpectedEnumValue  
ExpectedEnumSepOrParen  
UnterminatedEntityLiteral  
MoreEndThanStartTags  
IllegalRefInStandalone  
ExpectedOpenParen  
AttrAlreadyUsedInSTag  
BracketInAttrValue  
Expected2ndSurrogateChar  
ExpectedEndOfConditional  
ExpectedIncOrIgn  
ExpectedINCLUDEBracket  
ExpectedTextDecl  
ExpectedXMLDecl  
UnexpectedEOE  
PEPropogated  
ExtraCloseSquare  
PERefInMarkupInIntSubset  
EntityPropogated  
ExpectedNumericalCharRef  
ExpectedOpenSquareBracket  
BadSequenceInCharData  
IllegalSequenceInComment  
UnterminatedCDATASection  
ExpectedNDATA  
NDATANotValidForPE  
HexRadixMustBeLowerCase  
DeclStringRep  
DeclStringsInWrongOrder  
NoExtRefsInAttValue  
XMLDeclMustBeLowerCase  
ExpectedEntityValue  
BadDigitForRadix  
EndedWithTagsOnStack  
AmbiguousContentModel  
NestedCDATA  
UnknownPrefix  
PartialTagMarkupError  
EmptyMainEntity  
CDATAOutsideOfContent  
OnlyCharRefsAllowedHere  
Unexpected2ndSurrogateChar  
NoPIStartsWithXML  
XMLDeclMustBeFirst  
XMLVersionRequired  
StandaloneNotLegal  
TooManyColonsInName  
InvalidColonPos  
ColonNotLegalWithNS  
SysException  
XMLException  
UnexpectedEOF  
UnexpectedError  
BadSchemaLocation  
NoGrammarResolver  
F_HighBounds  


Member Function Documentation

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

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

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

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


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


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