23 #include <sbml/xml/XMLError.h> 27 LIBNUML_CPP_NAMESPACE_BEGIN
47 "Unknown internal libNUML error",
50 "Unrecognized error encountered by libNUML" },
58 "An NUML XML file must use UTF-8 as the character encoding. More " 59 "precisely, the 'encoding' attribute of the XML declaration at the " 60 "beginning of the XML data stream cannot have a value other than " 61 "'UTF-8'. An example valid declaration is " 62 "'<?xml version=\"1.0\" encoding=\"UTF-8\"?>'. (References: L2V2 Section " 63 "4.1; L2V3 Section 4.1; L2V4 Section 4.1)" 69 "Unrecognized element",
72 "An NUML XML document must not contain undefined elements or attributes " 73 "in the NUML namespace. Documents containing unknown elements or " 74 "attributes placed in the NUML namespace do not conform to the NUML " 75 "specification. (References: L2V2 Section 4.1; L2V3 Section 4.1; L2V4 " 82 "Not conformant to NUML XML schema",
85 "An NUML XML document must conform to the XML Schema for the corresponding " 86 "NUML Level, Version and Release. The XML Schema for NUML defines the " 87 "basic NUML object structure, the data types used by those objects, and the " 88 "order in which the objects may appear in an NUML document." 94 "Missing declaration of XML namespace for annotation",
97 "Every top-level element within an annotation element must " 98 "have a namespace declared. (References: L1V1 Section ??" 104 "Multiple annotations using same XML namespace",
107 "There cannot be more than one top-level element using a " 108 "given namespace inside a given annotation element. " 109 "(References: L1V1 Section ??" 115 "Invalid use of NUML XML namespace in annotation",
118 "Top-level elements within an annotation element cannot use any NUML " 119 "namespace, whether explicitly (by declaring the namespace to be one of " 120 "the URIs \"http://www.numl.org/numl/level1\", Section ??" 126 "Invalid XML namespace for NUML container",
129 "The <numl> container element must declare the XML Namespace for NUML, " 130 "and this declaration must be consistent with the values of the 'level' " 131 "and 'version' attributes on the <numl> element." 137 "Constraint message is not in XHTML XML namespace",
140 "The contents of the <message> element in a <constraint> must be " 141 "explicitly placed in the XHTML XML namespace. (References: L1V1 Section TODO)" 147 "XML declarations not permitted in constraint messages",
150 "The contents of the <message> element must not contain an XML declaration " 151 "(i.e., a string of the form \"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\" " 157 "XML DOCTYPE not permitted in constraint messages",
160 "The contents of the message element must not contain an XML DOCTYPE " 161 "declaration (i.e., a string beginning with the characters \"<!DOCTYPE\". " 162 "(References: L1V1 Section TODO)" 168 "Invalid content for constraint message",
171 "The XHTML content inside a <constraint>s message element can only take one " 172 "of the following general forms: (1) a complete XHTML document beginning " 173 "with the element <html> and ending with </html>; (2) the \"body\" portion " 174 "of a document beginning with the element <body> and ending with </body>; " 175 "or (3) XHTML content that is permitted within a <body> ... </body> " 176 "elements. (References: L1V1 Section ??" 183 "Invalid NUML Level and Version",
186 "The level and version specified for the document must be " 187 "consistent with a valid published NUML specification. These are " 188 "Level 1, Versions 1" 194 "<csymbol> for 'time' used within the <math> of a function definition",
197 "The csymbol 'time' should not be used within a the <math> element " 198 "of a <FunctionDefinition>. (References: L2V3 Section 4.3.2; " 199 "L2V4 Section 4.3.2)" 259 LIBNUML_CPP_NAMESPACE_END
XML DOCTYPE not permitted in constraint messages.
Definition: NUMLError.h:88
unsigned int l1v1_severity
Definition: NUMLErrorTable.h:37
const char * ref_l1
Definition: NUMLErrorTable.h:30
Not UTF8.
Definition: NUMLError.h:48
Invalid NUML Level and Version.
Definition: NUMLError.h:113
Definition: NUMLError.h:147
unsigned int category
Definition: NUMLErrorTable.h:36
Unknown internal libNUML error.
Definition: NUMLError.h:47
Invalid use of NUML XML namespace in annotation.
Definition: NUMLError.h:62
Not conformant to NUML XML schema.
Definition: NUMLError.h:50
const char * message
Definition: NUMLErrorTable.h:38
Constraint message is not in XHTML XML namespace.
Definition: NUMLError.h:86
Multiple annotations using same XML namespace.
Definition: NUMLError.h:61
unsigned int code
Definition: NUMLErrorTable.h:34
Definition: NUMLError.h:204
Invalid content for constraint message.
Definition: NUMLError.h:89
referenceEntry reference
Definition: NUMLErrorTable.h:39
Definition: NUMLError.h:203
Invalid XML namespace for NUML container.
Definition: NUMLError.h:76
Definition: NUMLErrorTable.h:29
XML declarations not permitted in constraint messages.
Definition: NUMLError.h:87
Definition: NUMLErrorTable.h:33
Category of errors that can occur while validating general NUML constructs.
Definition: NUMLError.h:163
General NUML error not falling into another category below.
Definition: NUMLError.h:149
static const numlErrorTableEntry errorTable[]
Definition: NUMLErrorTable.h:43
Missing declaration of XML namespace for annotation.
Definition: NUMLError.h:60
<csymbol> for time used within the <math> of a function definition
Definition: NUMLError.h:115
const char * shortMessage
Definition: NUMLErrorTable.h:35
Unrecognized element.
Definition: NUMLError.h:49