Tag
Hash :
e083c30e
Author :
Date :
2014-03-04T17:18:26
OS400: ILE RPG language header files.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318
* Summary: incomplete XML Schemas structure implementation
* Description: interface to the XML Schemas handling and schema validity
* checking, it is incomplete right now.
*
* Copy: See Copyright for the status of this software.
*
* Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
/if not defined(XML_SCHEMA_H__)
/define XML_SCHEMA_H__
/include "libxmlrpg/xmlversion"
/if defined(LIBXML_SCHEMAS_ENABLED)
/include "libxmlrpg/tree"
* This error codes are obsolete; not used any more.
d xmlSchemaValidError...
d s 10i 0 based(######typedef######) enum
d XML_SCHEMAS_ERR_OK...
d c 0
d XML_SCHEMAS_ERR_NOROOT...
d c 1
d XML_SCHEMAS_ERR_UNDECLAREDELEM...
d c 2
d XML_SCHEMAS_ERR_NOTTOPLEVEL...
d c 3
d XML_SCHEMAS_ERR_MISSING...
d c 4
d XML_SCHEMAS_ERR_WRONGELEM...
d c 5
d XML_SCHEMAS_ERR_NOTYPE...
d c 6
d XML_SCHEMAS_ERR_NOROLLBACK...
d c 7
d XML_SCHEMAS_ERR_ISABSTRACT...
d c 8
d XML_SCHEMAS_ERR_NOTEMPTY...
d c 9
d XML_SCHEMAS_ERR_ELEMCONT...
d c 10
d XML_SCHEMAS_ERR_HAVEDEFAULT...
d c 11
d XML_SCHEMAS_ERR_NOTNILLABLE...
d c 12
d XML_SCHEMAS_ERR_EXTRACONTENT...
d c 13
d XML_SCHEMAS_ERR_INVALIDATTR...
d c 14
d XML_SCHEMAS_ERR_INVALIDELEM...
d c 15
d XML_SCHEMAS_ERR_NOTDETERMINIST...
d c 16
d XML_SCHEMAS_ERR_CONSTRUCT...
d c 17
d XML_SCHEMAS_ERR_INTERNAL...
d c 18
d XML_SCHEMAS_ERR_NOTSIMPLE...
d c 19
d XML_SCHEMAS_ERR_ATTRUNKNOWN...
d c 20
d XML_SCHEMAS_ERR_ATTRINVALID...
d c 21
d XML_SCHEMAS_ERR_VALUE...
d c 22
d XML_SCHEMAS_ERR_FACET...
d c 23
d XML_SCHEMAS_ERR_...
d c 24
d XML_SCHEMAS_ERR_XXX...
d c 25
* ATTENTION: Change xmlSchemaSetValidOptions's check
* for invalid values, if adding to the validation
* options below.
* xmlSchemaValidOption:
*
* This is the set of XML Schema validation options.
d xmlSchemaValidOption...
d s 10i 0 based(######typedef######) enum
*
* Default/fixed: create an attribute node
* or an element's text node on the instance.
*
d XML_SCHEMA_VAL_VC_I_CREATE...
d c X'0001'
/if defined(DISABLED)
*
* assemble schemata using
* xsi:schemaLocation and
* xsi:noNamespaceSchemaLocation
*
d XML_SCHEMA_VAL_XSI_ASSEMBLE...
d c X'0002'
/endif
* The schemas related types are kept internal
d xmlSchemaPtr s * based(######typedef######)
* xmlSchemaValidityErrorFunc:
* @ctx: the validation context
* @msg: the message
* @...: extra arguments
*
* Signature of an error callback from an XSD validation
d xmlSchemaValidityErrorFunc...
d s * based(######typedef######)
d procptr
* xmlSchemaValidityWarningFunc:
* @ctx: the validation context
* @msg: the message
* @...: extra arguments
*
* Signature of a warning callback from an XSD validation
d xmlSchemaValidityWarningFunc...
d s * based(######typedef######)
d procptr
* A schemas validation context
d xmlSchemaParserCtxtPtr...
d s * based(######typedef######)
d xmlSchemaValidCtxtPtr...
d s * based(######typedef######)
* xmlSchemaValidityLocatorFunc:
* @ctx: user provided context
* @file: returned file information
* @line: returned line information
*
* A schemas validation locator, a callback called by the validator.
* This is used when file or node informations are not available
* to find out what file and line number are affected
*
* Returns: 0 in case of success and -1 in case of error
d xmlSchemaValidityLocatorFunc...
d s * based(######typedef######)
d procptr
* Interfaces for parsing.
d xmlSchemaNewParserCtxt...
d pr extproc('xmlSchemaNewParserCtxt')
d like(xmlSchemaParserCtxtPtr)
d URL * value options(*string) const char *
d xmlSchemaNewMemParserCtxt...
d pr extproc('xmlSchemaNewMemParserCtxt')
d like(xmlSchemaParserCtxtPtr)
d buffer * value options(*string) const char *
d size 10i 0 value
d xmlSchemaNewDocParserCtxt...
d pr extproc('xmlSchemaNewDocParserCtxt')
d like(xmlSchemaParserCtxtPtr)
d doc value like(xmlDocPtr)
d xmlSchemaFreeParserCtxt...
d pr extproc('xmlSchemaFreeParserCtxt')
d ctxt value like(xmlSchemaParserCtxtPtr)
d xmlSchemaSetParserErrors...
d pr extproc('xmlSchemaSetParserErrors')
d ctxt value like(xmlSchemaParserCtxtPtr)
d err value
d like(xmlSchemaValidityErrorFunc)
d warn value
d like(xmlSchemaValidityWarningFunc)
d ctx * value void *
d xmlSchemaSetParserStructuredErrors...
d pr extproc(
d 'xmlSchemaSetParserStructuredErrors')
d ctxt value like(xmlSchemaParserCtxtPtr)
d serror value like(xmlStructuredErrorFunc)
d ctx * value void *
d xmlSchemaGetParserErrors...
d pr 10i 0 extproc('xmlSchemaGetParserErrors')
d ctxt value like(xmlSchemaParserCtxtPtr)
d err like(xmlSchemaValidityErrorFunc)
d warn like(xmlSchemaValidityWarningFunc)
d ctx * void *(*)
d xmlSchemaIsValid...
d pr 10i 0 extproc('xmlSchemaIsValid')
d ctxt value like(xmlSchemaValidCtxtPtr)
d xmlSchemaParse pr extproc('xmlSchemaParse')
d like(xmlSchemaPtr)
d ctxt value like(xmlSchemaParserCtxtPtr)
d xmlSchemaFree pr extproc('xmlSchemaFree')
d schema value like(xmlSchemaPtr)
/if defined(LIBXML_OUTPUT_ENABLED)
d xmlSchemaDump pr extproc('xmlSchemaDump')
d output * value FILE *
d schema value like(xmlSchemaPtr)
/endif LIBXML_OUTPUT_ENABLD
* Interfaces for validating
d xmlSchemaSetValidErrors...
d pr extproc('xmlSchemaSetValidErrors')
d ctxt value like(xmlSchemaValidCtxtPtr)
d err value
d like(xmlSchemaValidityErrorFunc)
d warn value
d like(xmlSchemaValidityWarningFunc)
d ctx * value void *
d xmlSchemaSetValidStructuredErrors...
d pr extproc(
d 'xmlSchemaSetValidStructuredErrors')
d ctxt value like(xmlSchemaValidCtxtPtr)
d serror value like(xmlStructuredErrorFunc)
d ctx * value void *
d xmlSchemaGetValidErrors...
d pr 10i 0 extproc('xmlSchemaGetValidErrors')
d ctxt value like(xmlSchemaValidCtxtPtr)
d err like(xmlSchemaValidityErrorFunc)
d warn like(xmlSchemaValidityWarningFunc)
d ctx * void *(*)
d xmlSchemaSetValidOptions...
d pr 10i 0 extproc('xmlSchemaSetValidOptions')
d ctxt value like(xmlSchemaValidCtxtPtr)
d options 10i 0 value
d xmlSchemaValidateSetFilename...
d pr extproc(
d 'xmlSchemaValidateSetFilename')
d vctxt value like(xmlSchemaValidCtxtPtr)
d filename * value options(*string) const char *
d xmlSchemaValidCtxtGetOptions...
d pr 10i 0 extproc(
d 'xmlSchemaValidCtxtGetOptions')
d ctxt value like(xmlSchemaValidCtxtPtr)
d xmlSchemaNewValidCtxt...
d pr extproc('xmlSchemaNewValidCtxt')
d like(xmlSchemaValidCtxtPtr)
d schema value like(xmlSchemaPtr)
d xmlSchemaFreeValidCtxt...
d pr extproc('xmlSchemaFreeValidCtxt')
d ctxt value like(xmlSchemaValidCtxtPtr)
d xmlSchemaValidateDoc...
d pr 10i 0 extproc('xmlSchemaValidateDoc')
d ctxt value like(xmlSchemaValidCtxtPtr)
d instance value like(xmlDocPtr)
d xmlSchemaValidateOneElement...
d pr 10i 0 extproc(
d 'xmlSchemaValidateOneElement')
d ctxt value like(xmlSchemaValidCtxtPtr)
d elem value like(xmlNodePtr)
d xmlSchemaValidateStream...
d pr 10i 0 extproc('xmlSchemaValidateStream')
d ctxt value like(xmlSchemaValidCtxtPtr)
d input value like(xmlParserInputBufferPtr)
d enc value like(xmlCharEncoding)
d sax value like(xmlSAXHandlerPtr)
d user_data * value void *
d xmlSchemaValidateFile...
d pr 10i 0 extproc('xmlSchemaValidateFile')
d ctxt value like(xmlSchemaValidCtxtPtr)
d filename * value options(*string) const char *
d options 10i 0 value
d xmlSchemaValidCtxtGetParserCtxt...
d pr extproc(
d 'xmlSchemaValidCtxtGetParserCtxt')
d like(xmlParserCtxtPtr)
d ctxt value like(xmlSchemaValidCtxtPtr)
* Interface to insert Schemas SAX validation in a SAX stream
d xmlSchemaSAXPlugPtr...
d s * based(######typedef######)
d xmlSchemaSAXPlug...
d pr extproc('xmlSchemaSAXPlug')
d like(xmlSchemaSAXPlugPtr)
d ctxt value like(xmlSchemaValidCtxtPtr)
d sax like(xmlSAXHandlerPtr)
d user_data * void *(*)
d xmlSchemaSAXUnplug...
d pr 10i 0 extproc('xmlSchemaSAXUnplug')
d plug value like(xmlSchemaSAXPlugPtr)
d xmlSchemaValidateSetLocator...
d pr extproc(
d 'xmlSchemaValidateSetLocator')
d vctxt value like(xmlSchemaValidCtxtPtr)
d f value
d like(xmlSchemaValidityLocatorFunc)
d ctxt * value void *
/endif LIBXML_SCHEMAS_ENBLD
/endif XML_SCHEMA_H__