libSBML C API  libSBML 5.20.2 C API
Loading...
Searching...
No Matches
XMLError.h File Reference

Represents errors (and messages) encountered during an XML parse. More...

Include dependency graph for XMLError.h:
This graph shows which files directly or indirectly include this file:

Enumerations

enum  XMLErrorCategory_t {
  LIBSBML_CAT_INTERNAL = 0 ,
  LIBSBML_CAT_SYSTEM ,
  LIBSBML_CAT_XML
}
 @_tenum_t _tXMLErrorCategory_t_t _tCategory_t _tcodes_t _tfor_t _terrors_t _tin_t _tthe_t _tXML_t _tlayer_t. More...
 
enum  XMLErrorCode_t {
  XMLUnknownError = 0 ,
  XMLOutOfMemory = 1 ,
  XMLFileUnreadable = 2 ,
  XMLFileUnwritable = 3 ,
  XMLFileOperationError = 4 ,
  XMLNetworkAccessError = 5 ,
  InternalXMLParserError = 101 ,
  UnrecognizedXMLParserCode = 102 ,
  XMLTranscoderError = 103 ,
  MissingXMLDecl = 1001 ,
  MissingXMLEncoding = 1002 ,
  BadXMLDecl = 1003 ,
  BadXMLDOCTYPE = 1004 ,
  InvalidCharInXML = 1005 ,
  BadlyFormedXML = 1006 ,
  UnclosedXMLToken = 1007 ,
  InvalidXMLConstruct = 1008 ,
  XMLTagMismatch = 1009 ,
  DuplicateXMLAttribute = 1010 ,
  UndefinedXMLEntity = 1011 ,
  BadProcessingInstruction = 1012 ,
  BadXMLPrefix = 1013 ,
  BadXMLPrefixValue = 1014 ,
  MissingXMLRequiredAttribute = 1015 ,
  XMLAttributeTypeMismatch = 1016 ,
  XMLBadUTF8Content = 1017 ,
  MissingXMLAttributeValue = 1018 ,
  BadXMLAttributeValue = 1019 ,
  BadXMLAttribute = 1020 ,
  UnrecognizedXMLElement = 1021 ,
  BadXMLComment = 1022 ,
  BadXMLDeclLocation = 1023 ,
  XMLUnexpectedEOF = 1024 ,
  BadXMLIDValue = 1025 ,
  BadXMLIDRef = 1026 ,
  UninterpretableXMLContent = 1027 ,
  BadXMLDocumentStructure = 1028 ,
  InvalidAfterXMLContent = 1029 ,
  XMLExpectedQuotedString = 1030 ,
  XMLEmptyValueNotPermitted = 1031 ,
  XMLBadNumber = 1032 ,
  XMLBadColon = 1033 ,
  MissingXMLElements = 1034 ,
  XMLContentEmpty = 1035 ,
  XMLErrorCodesUpperBound = 9999
}
 @_tenum_t _tXMLErrorCode_t_t _tCanonical_t _terror_t _tcodes_t _treturned_t _tfor_t _tlow_t-_tlevel_t _tXML_t _tparser_t _terrors_t. More...
 
enum  XMLErrorSeverity_t {
  LIBSBML_SEV_INFO = 0 ,
  LIBSBML_SEV_WARNING ,
  LIBSBML_SEV_ERROR ,
  LIBSBML_SEV_FATAL
}
 @_tenum_t _tXMLErrorSeverity_t_t _tSeverity_t _tcodes_t _tfor_t _terrors_t _tin_t _tthe_t _tXML_t _tlayer_t More...
 
enum  XMLErrorSeverityOverride_t {
  LIBSBML_OVERRIDE_DISABLED = 0 ,
  LIBSBML_OVERRIDE_DONT_LOG ,
  LIBSBML_OVERRIDE_WARNING ,
  LIBSBML_OVERRIDE_ERROR
}
 @_tenum_t _tXMLErrorSeverityOverride_t_t _tSeverity_t _toverride_t _tcodes_t _tfor_t _terrors_t _tlogged_t _tin_t _tthe_t _tXML_t _tlayer_t. More...
 

Functions

LIBLAX_EXTERN XMLError_tXMLError_create (void)
 _tCreates_t _ta_t _tnew_t _tXMLError_t _tto_t _treport_t _tthat_t _tsomething_t _toccurred_t.
 
LIBLAX_EXTERN XMLError_tXMLError_createWithIdAndMessage (unsigned int errorId, const char *message)
 _tCreates_t _ta_t _tnew_t _tXMLError_t _twith_t _tthe_t _tidentification_t _tnumber_t _tand_t _tdetailed_t _tmessage_t _tset_t.
 
LIBLAX_EXTERN void XMLError_free (XMLError_t *error)
 _tFrees_t _tthe_t _tgiven_t _tXMLError_t_t _tstructure_t.
 
LIBLAX_EXTERN unsigned int XMLError_getCategory (const XMLError_t *error)
 _tReturn_t _tthe_t _tcategory_t _tof_t _tthis_t _tXMLError_t_t.
 
LIBLAX_EXTERN const char * XMLError_getCategoryAsString (const XMLError_t *error)
 _tReturn_t _tthe_t _tcategory_t _tof_t _tthis_t _tXMLError_t_t _tas_t _ta_t _tstring_t.
 
LIBLAX_EXTERN unsigned int XMLError_getColumn (const XMLError_t *error)
 _tReturn_t _tthe_t _tcolumn_t _tnumber_t _twhere_t _tthis_t _tXMLError_t_t _toccurred_t.
 
LIBLAX_EXTERN unsigned int XMLError_getErrorId (const XMLError_t *error)
 _tReturns_t _tthe_t _tid_t _tof_t _tthis_t _tXMLError_t_t.
 
LIBLAX_EXTERN unsigned int XMLError_getLine (const XMLError_t *error)
 _tReturn_t _tthe_t _tline_t _tnumber_t _twhere_t _tthis_t _tXMLError_t_t _toccurred_t.
 
LIBLAX_EXTERN const char * XMLError_getMessage (const XMLError_t *error)
 _tReturns_t _tthe_t _tmessage_t _ttext_t _tof_t _tthis_t _tXMLError_t_t.
 
LIBLAX_EXTERN unsigned int XMLError_getSeverity (const XMLError_t *error)
 _tReturn_t _tthe_t _tseverity_t _tof_t _tthis_t _tXMLError_t_t.
 
LIBLAX_EXTERN const char * XMLError_getSeverityAsString (const XMLError_t *error)
 _tReturn_t _tthe_t _tseverity_t _tof_t _tthis_t _tXMLError_t_t _tas_t _ta_t _tstring_t.
 
LIBLAX_EXTERN const char * XMLError_getShortMessage (const XMLError_t *error)
 _tReturns_t _tthe_t _tshort_t _tmessage_t _ttext_t _tof_t _tthis_t _tXMLError_t_t.
 
LIBLAX_EXTERN int XMLError_isError (const XMLError_t *error)
 _tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tthis_t _tXMLError_t_t _tstructure_t _tis_t _tan_t _terror_t.
 
LIBLAX_EXTERN int XMLError_isFatal (const XMLError_t *error)
 _tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tthis_t _tXMLError_t_t _tstructure_t _tis_t _ta_t _tfatal_t _terror_t.
 
LIBLAX_EXTERN int XMLError_isInfo (const XMLError_t *error)
 _tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tthis_t _tXMLError_t_t _tstructure_t _tis_t _tfor_t _tinformation_t _tonly_t.
 
LIBLAX_EXTERN int XMLError_isWarning (const XMLError_t *error)
 _tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tthis_t _tXMLError_t_t _tstructure_t _tis_t _ta_t _twarning_t.
 
LIBLAX_EXTERN void XMLError_print (const XMLError_t *error, FILE *stream)
 _tOutputs_t _tthis_t _tXMLError_t_t _tto_t _tstream_t _tin_t _tthe_t _tfollowing_t _tformat_t (_tand_t _tfollowed_t _tby_t _ta_t _tnewline_t):
 

Detailed Description

Represents errors (and messages) encountered during an XML parse.

Author
Ben Bornstein
Michael Hucka

Enumeration Type Documentation

◆ XMLErrorCategory_t

@_tenum_t _tXMLErrorCategory_t_t _tCategory_t _tcodes_t _tfor_t _terrors_t _tin_t _tthe_t _tXML_t _tlayer_t.

Enumerator
LIBSBML_CAT_INTERNAL 

A problem involving the libSBML software itself or the underlying XML parser. This almost certainly indicates a software defect (i.e., bug) in libSBML. Please report instances of this to the libSBML developers.

LIBSBML_CAT_SYSTEM 

A problem reported by the operating system, such as an inability to read or write a file. This indicates something that is not a program error but is outside of the control of libSBML.

LIBSBML_CAT_XML 

A problem in the XML content itself. This usually arises from malformed XML or the use of constructs not permitted in SBML.

◆ XMLErrorCode_t

@_tenum_t _tXMLErrorCode_t_t _tCanonical_t _terror_t _tcodes_t _treturned_t _tfor_t _tlow_t-_tlevel_t _tXML_t _tparser_t _terrors_t.

_tThese_t _tare_t _tdistinguished_t _tfrom_t _tother_t _tSBML_t _terror_t _tcodes_t _tby_t _thaving_t _ta_t _tnumber_t _t4_t _tdigits_t _tlong_t, _tless_t _tthan_t _t10000_t. _tThe_t _tcodes_t _tare_t _tan_t _tabstraction_t _tof_t _terrors_t _tfrom_t _tthe_t _tmultiple_t _tparsers_t (_tXerces_t, _tExpat_t, _tlibxml2_t) _tsupported_t _tby_t _tlibSBML_t.

@_tcopydetails_t _tdoc_sbml_error_code_ranges_t

Enumerator
XMLUnknownError 

Unknown error encountered.

XMLOutOfMemory 

LibSBML unexpected encountered an out of memory condition from the operating system.

XMLFileUnreadable 

Could not open or read the file.

XMLFileUnwritable 

Could not write to the file.

XMLFileOperationError 

Error encountered while attempting a file operation.

XMLNetworkAccessError 

Error encountered while attempting a network access.

InternalXMLParserError 

Internal error in XML parser.

UnrecognizedXMLParserCode 

The XML parser returned an error code that is not recognized by libSBML.

XMLTranscoderError 

The character transcoder reported an error.

MissingXMLDecl 

Missing XML declaration at beginning of XML input.

MissingXMLEncoding 

Missing encoding attribute in XML declaration.

BadXMLDecl 

Invalid or unrecognized XML declaration or XML encoding.

BadXMLDOCTYPE 

Invalid, malformed or unrecognized XML DOCTYPE declaration.

InvalidCharInXML 

Invalid character in XML content.

BadlyFormedXML 

XML is not well-formed.

UnclosedXMLToken 

Unclosed token.

InvalidXMLConstruct 

XML construct is invalid or not permitted.

XMLTagMismatch 

Element tag mismatch or missing tag.

DuplicateXMLAttribute 

Duplicate attribute.

UndefinedXMLEntity 

Undefined XML entity.

BadProcessingInstruction 

Invalid, malformed or unrecognized XML processing instruction.

BadXMLPrefix 

Invalid or undefined XML Namespace prefix.

BadXMLPrefixValue 

Invalid XML Namespace prefix value.

MissingXMLRequiredAttribute 

Required attribute is missing.

XMLAttributeTypeMismatch 

Data type mismatch for attribute value.

XMLBadUTF8Content 

Invalid UTF8 content.

MissingXMLAttributeValue 

Missing or improperly formed attribute value.

BadXMLAttributeValue 

Invalid or unrecognizable attribute value.

BadXMLAttribute 

Invalid, unrecognized or malformed attribute.

UnrecognizedXMLElement 

Element either not recognized or not permitted.

BadXMLComment 

Badly formed XML comment.

BadXMLDeclLocation 

XML declaration not permitted in this location.

XMLUnexpectedEOF 

Reached end of input unexpectedly.

BadXMLIDValue 

Value is invalid for XML ID, or has already been used.

BadXMLIDRef 

XML ID value was never declared.

UninterpretableXMLContent 

Unable to interpret content.

BadXMLDocumentStructure 

Bad XML document structure.

InvalidAfterXMLContent 

Encountered invalid content after expected content.

XMLExpectedQuotedString 

Expected to find a quoted string.

XMLEmptyValueNotPermitted 

An empty value is not permitted in this context.

XMLBadNumber 

Invalid or unrecognized number.

XMLBadColon 

Colon characters are invalid in this context.

MissingXMLElements 

One or more expected elements are missing.

XMLContentEmpty 

Main XML content is empty.

XMLErrorCodesUpperBound 

◆ XMLErrorSeverity_t

@_tenum_t _tXMLErrorSeverity_t_t _tSeverity_t _tcodes_t _tfor_t _terrors_t _tin_t _tthe_t _tXML_t _tlayer_t

_tThese_t _tseverity_t _tlevels_t _tare_t _tbased_t _ton_t _tthose_t _tdefined_t _tin_t _tthe_t _tXML_t _tspecification_t, _twith_t _tthe_t _taddition_t _tof_t _tInfo_t _tfor_t _tinformational_t _tmessages_t.

Enumerator
LIBSBML_SEV_INFO 

The error is actually informational and not necessarily a serious problem.

LIBSBML_SEV_WARNING 

The error object represents a problem that is not serious enough to necessarily stop the problem, but applications should take note of the problem and evaluate what its implications may be.

LIBSBML_SEV_ERROR 

The error object represents a serious error. The application may continue running but it is unlikely to be able to continue processing the same XML file or data stream.

LIBSBML_SEV_FATAL 

A serious error occurred, such as an out-of-memory condition, and the software should terminate immediately.

◆ XMLErrorSeverityOverride_t

@_tenum_t _tXMLErrorSeverityOverride_t_t _tSeverity_t _toverride_t _tcodes_t _tfor_t _terrors_t _tlogged_t _tin_t _tthe_t _tXML_t _tlayer_t.

_tXMLErrorLog_t _tcan_t _tbe_t _tconfigured_t _tto_t _tnot_t _tlog_t _terrors_t _tby_t _tspecifying_t _tone_t _tof_t _tthese_t _tenum_t _tvalues_t _tbelow_t.

Enumerator
LIBSBML_OVERRIDE_DISABLED 

All errors will be issued as specified in the error log.

LIBSBML_OVERRIDE_DONT_LOG 

All error logging is disabled.

LIBSBML_OVERRIDE_WARNING 

All errors will be logged as warnings

LIBSBML_OVERRIDE_ERROR 

All warnings will be logged as errors

Function Documentation

◆ XMLError_create()

LIBLAX_EXTERN XMLError_t * XMLError_create ( void  )

_tCreates_t _ta_t _tnew_t _tXMLError_t _tto_t _treport_t _tthat_t _tsomething_t _toccurred_t.

@_tmemberof_t _tXMLError_t_t

_tCreates_t _ta_t _tnew_t _tXMLError_t _tto_t _treport_t _tthat_t _tsomething_t _toccurred_t.

@_tcond_t _tdoxygenIgnored_t

◆ XMLError_createWithIdAndMessage()

LIBLAX_EXTERN XMLError_t * XMLError_createWithIdAndMessage ( unsigned int  errorId,
const char *  message 
)

_tCreates_t _ta_t _tnew_t _tXMLError_t _twith_t _tthe_t _tidentification_t _tnumber_t _tand_t _tdetailed_t _tmessage_t _tset_t.

_tIf_t _tthe_t _tidentifier_t _tis_t < _t10000_t, _tit_t _tmust_t _tbe_t _tone_t _tof_t _tthe_t _tpredefined_t _tXML_t _tlayer_t _terror_t _tcodes_t.

@_tparam_t _terrorId_t _tan_t _tunsigned_t _tint_t, _tthe_t _tidentification_t _tnumber_t _tof_t _tthe_t _terror_t. @_tparam_t _tmessage_t _ta_t _tstring_t, _tthe_t _terror_t _tmessage_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_free()

LIBLAX_EXTERN void XMLError_free ( XMLError_t error)

_tFrees_t _tthe_t _tgiven_t _tXMLError_t_t _tstructure_t.

@_tparam_t _terror_t _tthe_t _tXMLError_t_t _tstructure_t _tto_t _tbe_t _tfreed_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_getCategory()

LIBLAX_EXTERN unsigned int XMLError_getCategory ( const XMLError_t error)

_tReturn_t _tthe_t _tcategory_t _tof_t _tthis_t _tXMLError_t_t.

_tThe_t _tpossible_t _tvalues_t (_tfor_t _tthe_t _tXML_t _tlayers_t) _tare_t _tthose_t _tfrom_t _tthe_t _tenumeration_t _tXMLErrorCategory_t_t.

@_tparam_t _terror_t _tthe_t _tXMLError_t_t _tfrom_t _twhich_t _tto_t _treturn_t _tthe_t _tcategory_t.

@_treturn_t _tthe_t _tcategory_t _tof_t _tthis_t _tXMLError_t_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_getCategoryAsString()

LIBLAX_EXTERN const char * XMLError_getCategoryAsString ( const XMLError_t error)

_tReturn_t _tthe_t _tcategory_t _tof_t _tthis_t _tXMLError_t_t _tas_t _ta_t _tstring_t.

@_tparam_t _terror_t _tthe_t _tXMLError_t_t _tfrom_t _twhich_t _tto_t _treturn_t _tthe_t _tcategory_t.

@_treturn_t _tstring_t _trepresenting_t _tthe_t _tcategory_t _tof_t _tthis_t _tXMLError_t_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_getColumn()

LIBLAX_EXTERN unsigned int XMLError_getColumn ( const XMLError_t error)

_tReturn_t _tthe_t _tcolumn_t _tnumber_t _twhere_t _tthis_t _tXMLError_t_t _toccurred_t.

@_tparam_t _terror_t _tthe_t _tXMLError_t_t _tfrom_t _twhich_t _tto_t _treturn_t _tthe_t _tcolumn_t _tnumber_t.

@_treturn_t _tthe_t _tcolumn_t _tnumber_t _twhere_t _tthis_t _tXMLError_t_t _toccurred_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_getErrorId()

LIBLAX_EXTERN unsigned int XMLError_getErrorId ( const XMLError_t error)

_tReturns_t _tthe_t _tid_t _tof_t _tthis_t _tXMLError_t_t.

@_tparam_t _terror_t _tthe_t _tXMLError_t_t _tfrom_t _twhich_t _tto_t _treturn_t _tthe_t _tid_t.

@_treturn_t _tthe_t _tid_t _tof_t _tthis_t _tXMLError_t_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_getLine()

LIBLAX_EXTERN unsigned int XMLError_getLine ( const XMLError_t error)

_tReturn_t _tthe_t _tline_t _tnumber_t _twhere_t _tthis_t _tXMLError_t_t _toccurred_t.

@_tparam_t _terror_t _tthe_t _tXMLError_t_t _tfrom_t _twhich_t _tto_t _treturn_t _tthe_t _tline_t _tnumber_t.

@_treturn_t _tthe_t _tline_t _tnumber_t _twhere_t _tthis_t _tXMLError_t_t _toccurred_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_getMessage()

LIBLAX_EXTERN const char * XMLError_getMessage ( const XMLError_t error)

_tReturns_t _tthe_t _tmessage_t _ttext_t _tof_t _tthis_t _tXMLError_t_t.

@_tparam_t _terror_t _tthe_t _tXMLError_t_t _tfrom_t _twhich_t _tto_t _treturn_t _tthe_t _tmessage_t.

@_treturn_t _tthe_t _tmessage_t _ttext_t _tof_t _tthis_t _tXMLError_t_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_getSeverity()

LIBLAX_EXTERN unsigned int XMLError_getSeverity ( const XMLError_t error)

_tReturn_t _tthe_t _tseverity_t _tof_t _tthis_t _tXMLError_t_t.

_tThe_t _tpossible_t _tvalues_t (_tfor_t _tthe_t _tXML_t _tlayer_t) _tare_t _tthose_t _tfrom_t _tthe_t _tenumeration_t #_tXMLErrorSeverity_t_t.

@_tparam_t _terror_t _tthe_t _tXMLError_t_t _tfrom_t _twhich_t _tto_t _treturn_t _tthe_t _tseverity_t.

@_treturn_t _tthe_t _tseverity_t _tof_t _tthis_t _tXMLError_t_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_getSeverityAsString()

LIBLAX_EXTERN const char * XMLError_getSeverityAsString ( const XMLError_t error)

_tReturn_t _tthe_t _tseverity_t _tof_t _tthis_t _tXMLError_t_t _tas_t _ta_t _tstring_t.

@_tparam_t _terror_t _tthe_t _tXMLError_t_t _tfrom_t _twhich_t _tto_t _treturn_t _tthe_t _tseverity_t.

@_treturn_t _tstring_t _trepresenting_t _tthe_t _tseverity_t _tof_t _tthis_t _tXMLError_t_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_getShortMessage()

LIBLAX_EXTERN const char * XMLError_getShortMessage ( const XMLError_t error)

_tReturns_t _tthe_t _tshort_t _tmessage_t _ttext_t _tof_t _tthis_t _tXMLError_t_t.

@_tparam_t _terror_t _tthe_t _tXMLError_t_t _tfrom_t _twhich_t _tto_t _treturn_t _tthe_t _tshort_t _tmessage_t.

@_treturn_t _tthe_t _tmessage_t _ttext_t _tof_t _tthis_t _tXMLError_t_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_isError()

LIBLAX_EXTERN int XMLError_isError ( const XMLError_t error)

_tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tthis_t _tXMLError_t_t _tstructure_t _tis_t _tan_t _terror_t.

@_tparam_t _terror_t _tthe_t _tXMLError_t_t.

@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthis_t _tXMLError_t_t _tis_t _tan_t _terror_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_isFatal()

LIBLAX_EXTERN int XMLError_isFatal ( const XMLError_t error)

_tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tthis_t _tXMLError_t_t _tstructure_t _tis_t _ta_t _tfatal_t _terror_t.

@_tparam_t _terror_t _tthe_t _tXMLError_t_t.

@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthis_t _tXMLError_t_t _tis_t _ta_t _tfatal_t _terror_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_isInfo()

LIBLAX_EXTERN int XMLError_isInfo ( const XMLError_t error)

_tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tthis_t _tXMLError_t_t _tstructure_t _tis_t _tfor_t _tinformation_t _tonly_t.

@_tparam_t _terror_t _tthe_t _tXMLError_t_t.

@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthis_t _tXMLError_t_t _tis_t _tfor_t _tinformational_t _tpurposes_t _tonly_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_isWarning()

LIBLAX_EXTERN int XMLError_isWarning ( const XMLError_t error)

_tPredicate_t _treturning_t @_tc_t _t1_t (_ttrue_t) _tor_t @_tc_t _t0_t (_tfalse_t) _tdepending_t _ton_t _twhether_t _tthis_t _tXMLError_t_t _tstructure_t _tis_t _ta_t _twarning_t.

@_tparam_t _terror_t _tthe_t _tXMLError_t_t.

@_treturn_t @_tc_t _t1_t (_ttrue_t) _tif_t _tthis_t _tXMLError_t_t _tis_t _ta_t _twarning_t, @_tc_t _t0_t (_tfalse_t) _totherwise_t.

@_tmemberof_t _tXMLError_t_t

◆ XMLError_print()

LIBLAX_EXTERN void XMLError_print ( const XMLError_t error,
FILE *  stream 
)

_tOutputs_t _tthis_t _tXMLError_t_t _tto_t _tstream_t _tin_t _tthe_t _tfollowing_t _tformat_t (_tand_t _tfollowed_t _tby_t _ta_t _tnewline_t):

_tline_t: (_tid_t) _tmessage_t

@_tparam_t _terror_t _tthe_t _tXMLError_t_t _tstructure_t _tto_t _twrite_t. @_tparam_t _tstream_t _tthe_t _tstream_t _tto_t _twrite_t _tto_t.

@_tmemberof_t _tXMLError_t_t