http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Installation
Build

API Docs
Samples
Programming
Migration
FAQs

Releases
Feedback
Bug-Todo

Download
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, ExpectedCommentOrCDATA = 9, ExpectedAttrName = 10, ExpectedNotationName = 11,
  NoRepInMixed = 12, BadDefAttrDecl = 13, ExpectedDefAttrDecl = 14, AttListSyntaxError = 15,
  ExpectedEqSign = 16, DupAttrName = 17, BadIdForXMLLangAttr = 18, ExpectedElementName = 19,
  MustStartWithXMLDecl = 20, CommentsMustStartWith = 21, InvalidDocumentStructure = 22, ExpectedDeclString = 23,
  BadXMLVersion = 24, UnsupportedXMLVersion = 25, UnterminatedXMLDecl = 26, BadXMLEncoding = 27,
  BadStandalone = 28, UnterminatedComment = 29, PINameExpected = 30, UnterminatedPI = 31,
  InvalidCharacter = 32, UnexpectedTextBeforeRoot = 33, UnterminatedStartTag = 34, ExpectedAttrValue = 35,
  UnterminatedEndTag = 36, ExpectedAttributeType = 37, ExpectedEndOfTagX = 38, ExpectedMarkup = 39,
  NotValidAfterContent = 40, ExpectedComment = 41, ExpectedCommentOrPI = 42, ExpectedWhitespace = 43,
  NoRootElemInDOCTYPE = 44, ExpectedQuotedString = 45, ExpectedPublicId = 46, InvalidPublicIdChar = 47,
  UnterminatedDOCTYPE = 48, InvalidCharacterInIntSubset = 49, ExpectedCDATA = 50, InvalidInitialNameChar = 51,
  InvalidNameChar = 52, UnexpectedWhitespace = 53, InvalidCharacterInAttrValue = 54, ExpectedMarkupDecl = 55,
  TextDeclNotLegalHere = 56, ConditionalSectInIntSubset = 57, ExpectedPEName = 58, UnterminatedEntityDecl = 59,
  InvalidCharacterRef = 60, UnterminatedCharRef = 61, ExpectedEntityRefName = 62, EntityNotFound = 63,
  NoUnparsedEntityRefs = 64, UnterminatedEntityRef = 65, RecursiveEntity = 66, PartialMarkupInEntity = 67,
  UnterminatedElementDecl = 68, ExpectedContentSpecExpr = 69, ExpectedAsterisk = 70, UnterminatedContentModel = 71,
  ExpectedSystemId = 72, ExpectedSystemOrPublicId = 73, UnterminatedNotationDecl = 74, ExpectedSeqChoiceLeaf = 75,
  ExpectedChoiceOrCloseParen = 76, ExpectedSeqOrCloseParen = 77, ExpectedEnumValue = 78, ExpectedEnumSepOrParen = 79,
  UnterminatedEntityLiteral = 80, MoreEndThanStartTags = 81, IllegalRefInStandalone = 82, ExpectedOpenParen = 83,
  AttrAlreadyUsedInSTag = 84, BracketInAttrValue = 85, Expected2ndSurrogateChar = 86, ExpectedEndOfConditional = 87,
  ExpectedIncOrIgn = 88, ExpectedINCLUDEBracket = 89, ExpectedTextDecl = 90, ExpectedXMLDecl = 91,
  UnexpectedEOE = 92, PEPropogated = 93, ExtraCloseSquare = 94, PERefInMarkupInIntSubset = 95,
  EntityPropogated = 96, ExpectedNumericalCharRef = 97, ExpectedOpenSquareBracket = 98, BadSequenceInCharData = 99,
  IllegalSequenceInComment = 100, UnterminatedCDATASection = 101, ExpectedNDATA = 102, NDATANotValidForPE = 103,
  HexRadixMustBeLowerCase = 104, DeclStringRep = 105, DeclStringsInWrongOrder = 106, NoExtRefsInAttValue = 107,
  XMLDeclMustBeLowerCase = 108, ExpectedEntityValue = 109, BadDigitForRadix = 110, EndedWithTagsOnStack = 111,
  AmbiguousContentModel = 112, NestedCDATA = 113, UnknownPrefix = 114, PartialTagMarkupError = 115,
  EmptyMainEntity = 116, CDATAOutsideOfContent = 117, OnlyCharRefsAllowedHere = 118, Unexpected2ndSurrogateChar = 119,
  NoPIStartsWithXML = 120, XMLDeclMustBeFirst = 121, XMLVersionRequired = 122, StandaloneNotLegal = 123,
  TooManyColonsInName = 124, InvalidColonPos = 125, ColonNotLegalWithNS = 126, SysException = 127,
  XMLException = 128, UnexpectedEOF = 129, E_HighBounds = 130, V_LowBounds = 131,
  V_HighBounds = 132
}

Static Public Methods

bool isFatal (const XMLErrs::Codes toCheck)
bool isWarning (const XMLErrs::Codes toCheck)
bool isValid (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  
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  
E_HighBounds  
V_LowBounds  
V_HighBounds  


Member Function Documentation

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

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

bool XMLErrs::isValid ( 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.