Tag
Hash :
22b0415a
Author :
Date :
2015-04-16T16:04:06
os400: fix various ILE/RPG types definitions. Adjust build scripts.
- A typo caused an undefined symbol reference.
- A structure field name did not match the corresponding C name due to a typo.
- Some structured fields were not properly aligned.
- The long/ulong types were wrongly mapped to 64-bit types.
- A typo in a /include directive caused a compilation error.
- Doc files copy now converts from UTF-8 and split long lines.
- Adjust /include file name mapping translation for proper prefix handling.
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 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410
* Summary: the core parser module
* Description: Interfaces, constants and types related to the XML parser
*
* Copy: See Copyright for the status of this software.
*
* Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
/if not defined(XML_PARSER_H__)
/define XML_PARSER_H__
/include "libxmlrpg/xmlversion"
/include "libxmlrpg/xmlTypesC"
/include "libxmlrpg/tree"
/include "libxmlrpg/dict"
/include "libxmlrpg/hash"
/include "libxmlrpg/valid"
/include "libxmlrpg/entities"
/include "libxmlrpg/xmlerror"
/include "libxmlrpg/xmlstring"
* XML_DEFAULT_VERSION:
*
* The default version of XML used: 1.0
d XML_DEFAULT_VERSION...
d c '1.0'
* xmlParserInput:
*
* An xmlParserInput is an input flow for the XML processor.
* Each entity parsed is associated an xmlParserInput (except the
* few predefined ones). This is the case both for internal entities
* - in which case the flow is already completely in memory - or
* external entities - in which case we use the buf structure for
* progressive reading and I18N conversions to the internal UTF-8 format.
* xmlParserInputDeallocate:
* @str: the string to deallocate
*
* Callback for freeing some parser input allocations.
d xmlParserInputDeallocate...
d s * based(######typedef######)
d procptr
* Input buffer
d xmlParserInput ds based(xmlParserInputPtr)
d align qualified
d buf like(xmlParserInputBufferPtr) UTF-8 encoded buffer
d filename * const char *
d directory * const char *
d base * const char *
d cur * const char *
d end * const char *
d length 10i 0 Length if known
d line 10i 0 Current line
d col 10i 0 Current column
*
* NOTE: consumed is only tested for equality in the parser code,
* so even if there is an overflow this should not give troubles
* for parsing very large instances.
*
d consumed like(xmlCulong) # consumed xmlChars
d free like(xmlParserInputDeallocate) base deallocator
d encoding * const xmlChar *
d version * const xmlChar *
d standalone 10i 0 Standalone entity ?
d id 10i 0 Entity unique ID
* xmlParserNodeInfo:
*
* The parser can be asked to collect Node informations, i.e. at what
* place in the file they were detected.
* NOTE: This is off by default and not very well tested.
d xmlParserNodeInfoPtr...
d s * based(######typedef######)
d xmlParserNodeInfo...
d ds based(xmlParserNodeInfoPtr)
d align qualified
d node like(xmlNodePtr) const
* Position & line # that text that created the node begins & ends on
d begin_pos like(xmlCulong)
d begin_line like(xmlCulong)
d end_pos like(xmlCulong)
d end_line like(xmlCulong)
d xmlParserNodeInfoSeqPtr...
d s * based(######typedef######)
d xmlParserNodeInfoSeq...
d ds based(xmlParserNodeInfoSeqPtr)
d align qualified
d maximum like(xmlCulong)
d length like(xmlCulong)
d buffer like(xmlParserNodeInfoPtr)
* xmlParserInputState:
*
* The parser is now working also as a state based parser.
* The recursive one use the state info for entities processing.
d xmlParserInputState...
d s 10i 0 based(######typedef######) enum
d XML_PARSER_EOF... Nothing to parse
d c -1
d XML_PARSER_START... Nothing parsed
d c 0
d XML_PARSER_MISC... Misc* b4 int subset
d c 1
d XML_PARSER_PI c 2 In proc instr
d XML_PARSER_DTD... In some DTD content
d c 3
d XML_PARSER_PROLOG... Misc* after int sbst
d c 4
d XML_PARSER_COMMENT... Within a comment
d c 5
d XML_PARSER_START_TAG... Within a start tag
d c 6
d XML_PARSER_CONTENT... Within the content
d c 7
d XML_PARSER_CDATA_SECTION... Within a CDATA
d c 8
d XML_PARSER_END_TAG... Within a closing tag
d c 9
d XML_PARSER_ENTITY_DECL... In an entity decl
d c 10
d XML_PARSER_ENTITY_VALUE... In entity decl value
d c 11
d XML_PARSER_ATTRIBUTE_VALUE... In attribute value
d c 12
d XML_PARSER_SYSTEM_LITERAL... In a SYSTEM value
d c 13
d XML_PARSER_EPILOG... Last end tag Misc*
d c 14
d XML_PARSER_IGNORE... In IGNORED section
d c 15
d XML_PARSER_PUBLIC_LITERAL... In a PUBLIC value
d c 16
* XML_DETECT_IDS:
*
* Bit in the loadsubset context field to tell to do ID/REFs lookups.
* Use it to initialize xmlLoadExtDtdDefaultValue.
d XML_DETECT_IDS c 2
* XML_COMPLETE_ATTRS:
*
* Bit in the loadsubset context field to tell to do complete the
* elements attributes lists with the ones defaulted from the DTDs.
* Use it to initialize xmlLoadExtDtdDefaultValue.
d XML_COMPLETE_ATTRS...
d c 4
* XML_SKIP_IDS:
*
* Bit in the loadsubset context field to tell to not do ID/REFs
* registration.
* Used to initialize xmlLoadExtDtdDefaultValue in some special cases.
d XML_SKIP_IDS c 8
* xmlParserMode:
*
* A parser can operate in various modes
d xmlParserMode s 10i 0 based(######typedef######) enum
d XML_PARSE_UNKNOWN...
d c 0
d XML_PARSE_DOM...
d c 1
d XML_PARSE_SAX...
d c 2
d XML_PARSE_PUSH_DOM...
d c 3
d XML_PARSE_PUSH_SAX...
d c 4
d XML_PARSE_READER...
d c 5
* xmlParserCtxt:
*
* The parser context.
* NOTE This doesn't completely define the parser state, the (current ?)
* design of the parser uses recursive function calls since this allow
* and easy mapping from the production rules of the specification
* to the actual code. The drawback is that the actual function call
* also reflect the parser state. However most of the parsing routines
* takes as the only argument the parser context pointer, so migrating
* to a state based parser for progressive parsing shouldn't be too
* hard.
d xmlParserCtxt ds based(xmlParserCtxtPtr)
d align qualified
d sax like(xmlSAXHandlerPtr) The SAX handler
d userData * SAX only-4 DOM build
d myDoc like(xmlDocPtr) Document being built
d wellFormed 10i 0 Well formed doc ?
d replaceEntities... Replace entities ?
d 10i 0
d version * const xmlChar *
d encoding * const xmlChar *
d standalone 10i 0 Standalone document
d html 10i 0 HTML state/type
*
* Input stream stack
*
d input like(xmlParserInputPtr) Current input stream
d inputNr 10i 0 # current in streams
d inputMax 10i 0 Max # of in streams
d inputTab * xmlParserInputPtr *
*
* Node analysis stack only used for DOM building
*
d node like(xmlNodePtr) Current parsed node
d nodeNr 10i 0 Parsing stack depth
d nodeMax 10i 0 Max stack depth
d nodeTab * xmlNodePtr *
*
d record_info 10i 0 Keep node info ?
d node_seq likeds(xmlParserNodeInfoSeq) Parsed nodes info
*
d errNo 10i 0 Error code
*
d hasExternalSubset...
d 10i 0
d hasPErefs 10i 0
d external 10i 0 Parsing ext. entity?
*
d valid 10i 0 Valid document ?
d validate 10i 0 Try to validate ?
d vctxt likeds(xmlValidCtxt) Validity context
*
d instate like(xmlParserInputState) Current input type
d token 10i 0 Next look-ahead char
*
d directory * char *
*
* Node name stack
*
d name * const xmlChar *
d nameNr 10i 0 Parsing stack depth
d nameMax 10i 0 Max stack depth
d nameTab * const xmlChar * *
*
d nbChars like(xmlClong) # xmlChars processed
d checkIndex like(xmlClong) 4 progressive parse
d keepBlanks 10i 0 Ugly but ...
d disableSAX 10i 0 Disable SAX cllbacks
d inSubset 10i 0 In int 1/ext 2 sbset
d intSubName * const xmlChar *
d extSubURI * const xmlChar *
d extSubSytem * const xmlChar *
*
* xml:space values
*
d space * int *
d spaceNr 10i 0 Parsing stack depth
d spaceMax 10i 0 Max stack depth
d spaceTab * int *
*
d depth 10i 0 To detect loops
d entity like(xmlParserInputPtr) To check boundaries
d charset 10i 0 In-memory content
d nodelen 10i 0 Speed up parsing
d nodemem 10i 0 Speed up parsing
d pedantic 10i 0 Enb. pedantic warng
d #private * void *
*
d loadsubset 10i 0 Load ext. subset ?
d linenumbers 10i 0 Set line numbers ?
d catalogs * void *
d recovery 10i 0 Run in recovery mode
d progressive 10i 0 Progressive parsing?
d dict like(xmlDictPtr) Parser dictionary
d atts * const xmlChar *
d maxatts 10i 0 Above array size
d docdict 10i 0 Use dictionary ?
*
* pre-interned strings
*
d str_xml * const xmlChar *
d str_xmlns * const xmlChar *
d str_xml_ms * const xmlChar *
*
* Everything below is used only by the new SAX mode
*
d sax2 10i 0 New SAX mode ?
d nsNr 10i 0 # inherited nmspaces
d nsMax 10i 0 Array size
d nsTab * const xmlChar *
d attallocs * int *
d pushTab * void *
d attsDefault like(xmlHashTablePtr) Defaulted attrs
d attsSpecial like(xmlHashTablePtr) non-CDATA attrs
d nsWellFormed 10i 0 Doc namespace OK ?
d options 10i 0 Extra options
*
* Those fields are needed only for treaming parsing so far
*
d dictNames 10i 0 Dict names in tree ?
d freeElemsNr 10i 0 # free element nodes
d freeElems like(xmlNodePtr) Free elem nodes list
d freeAttrsNr 10i 0 # free attr. nodes
d freeAttrs like(xmlAttrPtr) Free attr noes list
*
* the complete error informations for the last error.
*
d lastError likeds(xmlError)
d parseMode like(xmlParserMode) The parser mode
d nbentities like(xmlCulong) # entity references
d sizeentities like(xmlCulong) Parsed entities size
*
* for use by HTML non-recursive parser
*
d nodeInfo like(xmlParserNodeInfoPtr) Current NodeInfo
d nodeInfoNr 10i 0 Parsing stack depth
d nodeInfoMax 10i 0 Max stack depth
d nodeInfoTab * xmlParserNodeInfo *
*
d input_id 10i 0 Label inputs ?
d sizeentcopy like(xmlCulong) Entity copy volume
* xmlSAXLocator:
*
* A SAX Locator.
d xmlSAXLocator ds based(xmlSAXLocatorPtr)
d align qualified
d getPublicId * procptr
d getSystemId * procptr
d getLineNumber * procptr
d getColumnNumber...
d * procptr
* xmlSAXHandler:
*
* A SAX handler is bunch of callbacks called by the parser when
* processing of the input generate data or structure informations.
* resolveEntitySAXFunc:
* @ctx: the user data (XML parser context)
* @publicId: The public ID of the entity
* @systemId: The system ID of the entity
*
* Callback:
* The entity loader, to control the loading of external entities,
* the application can either:
* - override this resolveEntity() callback in the SAX block
* - or better use the xmlSetExternalEntityLoader() function to
* set up it's own entity resolution routine
*
* Returns the xmlParserInputPtr if inlined or NULL for DOM behaviour.
d resolveEntitySAXFunc...
d s * based(######typedef######)
d procptr
* internalSubsetSAXFunc:
* @ctx: the user data (XML parser context)
* @name: the root element name
* @ExternalID: the external ID
* @SystemID: the SYSTEM ID (e.g. filename or URL)
*
* Callback on internal subset declaration.
d internalSubsetSAXFunc...
d s * based(######typedef######)
d procptr
* externalSubsetSAXFunc:
* @ctx: the user data (XML parser context)
* @name: the root element name
* @ExternalID: the external ID
* @SystemID: the SYSTEM ID (e.g. filename or URL)
*
* Callback on external subset declaration.
d externalSubsetSAXFunc...
d s * based(######typedef######)
d procptr
* getEntitySAXFunc:
* @ctx: the user data (XML parser context)
* @name: The entity name
*
* Get an entity by name.
*
* Returns the xmlEntityPtr if found.
d getEntitySAXFunc...
d s * based(######typedef######)
d procptr
* getParameterEntitySAXFunc:
* @ctx: the user data (XML parser context)
* @name: The entity name
*
* Get a parameter entity by name.
*
* Returns the xmlEntityPtr if found.
d getParameterEntitySAXFunc...
d s * based(######typedef######)
d procptr
* entityDeclSAXFunc:
* @ctx: the user data (XML parser context)
* @name: the entity name
* @type: the entity type
* @publicId: The public ID of the entity
* @systemId: The system ID of the entity
* @content: the entity value (without processing).
*
* An entity definition has been parsed.
d entityDeclSAXFunc...
d s * based(######typedef######)
d procptr
* notationDeclSAXFunc:
* @ctx: the user data (XML parser context)
* @name: The name of the notation
* @publicId: The public ID of the entity
* @systemId: The system ID of the entity
*
* What to do when a notation declaration has been parsed.
d notationDeclSAXFunc...
d s * based(######typedef######)
d procptr
* attributeDeclSAXFunc:
* @ctx: the user data (XML parser context)
* @elem: the name of the element
* @fullname: the attribute name
* @type: the attribute type
* @def: the type of default value
* @defaultValue: the attribute default value
* @tree: the tree of enumerated value set
*
* An attribute definition has been parsed.
d attributeDeclSAXFunc...
d s * based(######typedef######)
d procptr
* elementDeclSAXFunc:
* @ctx: the user data (XML parser context)
* @name: the element name
* @type: the element type
* @content: the element value tree
*
* An element definition has been parsed.
d elementDeclSAXFunc...
d s * based(######typedef######)
d procptr
* unparsedEntityDeclSAXFunc:
* @ctx: the user data (XML parser context)
* @name: The name of the entity
* @publicId: The public ID of the entity
* @systemId: The system ID of the entity
* @notationName: the name of the notation
*
* What to do when an unparsed entity declaration is parsed.
d unparsedEntityDeclSAXFunc...
d s * based(######typedef######)
d procptr
* setDocumentLocatorSAXFunc:
* @ctx: the user data (XML parser context)
* @loc: A SAX Locator
*
* Receive the document locator at startup, actually xmlDefaultSAXLocator.
* Everything is available on the context, so this is useless in our case.
d setDocumentLocatorSAXFunc...
d s * based(######typedef######)
d procptr
* startDocumentSAXFunc:
* @ctx: the user data (XML parser context)
*
* Called when the document start being processed.
d startDocumentSAXFunc...
d s * based(######typedef######)
d procptr
* endDocumentSAXFunc:
* @ctx: the user data (XML parser context)
*
* Called when the document end has been detected.
d endDocumentSAXFunc...
d s * based(######typedef######)
d procptr
* startElementSAXFunc:
* @ctx: the user data (XML parser context)
* @name: The element name, including namespace prefix
* @atts: An array of name/value attributes pairs, NULL terminated
*
* Called when an opening tag has been processed.
d startElementSAXFunc...
d s * based(######typedef######)
d procptr
* endElementSAXFunc:
* @ctx: the user data (XML parser context)
* @name: The element name
*
* Called when the end of an element has been detected.
d endElementSAXFunc...
d s * based(######typedef######)
d procptr
* attributeSAXFunc:
* @ctx: the user data (XML parser context)
* @name: The attribute name, including namespace prefix
* @value: The attribute value
*
* Handle an attribute that has been read by the parser.
* The default handling is to convert the attribute into an
* DOM subtree and past it in a new xmlAttr element added to
* the element.
d attributeSAXFunc...
d s * based(######typedef######)
d procptr
* referenceSAXFunc:
* @ctx: the user data (XML parser context)
* @name: The entity name
*
* Called when an entity reference is detected.
d referenceSAXFunc...
d s * based(######typedef######)
d procptr
* charactersSAXFunc:
* @ctx: the user data (XML parser context)
* @ch: a xmlChar string
* @len: the number of xmlChar
*
* Receiving some chars from the parser.
d charactersSAXFunc...
d s * based(######typedef######)
d procptr
* ignorableWhitespaceSAXFunc:
* @ctx: the user data (XML parser context)
* @ch: a xmlChar string
* @len: the number of xmlChar
*
* Receiving some ignorable whitespaces from the parser.
* UNUSED: by default the DOM building will use characters.
d ignorableWhitespaceSAXFunc...
d s * based(######typedef######)
d procptr
* processingInstructionSAXFunc:
* @ctx: the user data (XML parser context)
* @target: the target name
* @data: the PI data's
*
* A processing instruction has been parsed.
d processingInstructionSAXFunc...
d s * based(######typedef######)
d procptr
* commentSAXFunc:
* @ctx: the user data (XML parser context)
* @value: the comment content
*
* A comment has been parsed.
d commentSAXFunc...
d s * based(######typedef######)
d procptr
* cdataBlockSAXFunc:
* @ctx: the user data (XML parser context)
* @value: The pcdata content
* @len: the block length
*
* Called when a pcdata block has been parsed.
d cdataBlockSAXFunc...
d s * based(######typedef######)
d procptr
* warningSAXFunc:
* @ctx: an XML parser context
* @msg: the message to display/transmit
* @...: extra parameters for the message display
*
* Display and format a warning messages, callback.
d warningSAXFunc...
d s * based(######typedef######)
d procptr
* errorSAXFunc:
* @ctx: an XML parser context
* @msg: the message to display/transmit
* @...: extra parameters for the message display
*
* Display and format an error messages, callback.
d errorSAXFunc...
d s * based(######typedef######)
d procptr
* fatalErrorSAXFunc:
* @ctx: an XML parser context
* @msg: the message to display/transmit
* @...: extra parameters for the message display
*
* Display and format fatal error messages, callback.
* Note: so far fatalError() SAX callbacks are not used, error()
* get all the callbacks for errors.
d fatalErrorSAXFunc...
d s * based(######typedef######)
d procptr
* isStandaloneSAXFunc:
* @ctx: the user data (XML parser context)
*
* Is this document tagged standalone?
*
* Returns 1 if true
d isStandaloneSAXFunc...
d s * based(######typedef######)
d procptr
* hasInternalSubsetSAXFunc:
* @ctx: the user data (XML parser context)
*
* Does this document has an internal subset.
*
* Returns 1 if true
d hasInternalSubsetSAXFunc...
d s * based(######typedef######)
d procptr
* hasExternalSubsetSAXFunc:
* @ctx: the user data (XML parser context)
*
* Does this document has an external subset?
*
* Returns 1 if true
d hasExternalSubsetSAXFunc...
d s * based(######typedef######)
d procptr
************************************************************************
* *
* The SAX version 2 API extensions *
* *
************************************************************************
* XML_SAX2_MAGIC:
*
* Special constant found in SAX2 blocks initialized fields
d XML_SAX2_MAGIC c X'DEEDBEAF'
* startElementNsSAX2Func:
* @ctx: the user data (XML parser context)
* @localname: the local name of the element
* @prefix: the element namespace prefix if available
* @URI: the element namespace name if available
* @nb_namespaces: number of namespace definitions on that node
* @namespaces: pointer to the array of prefix/URI pairs namespace
* definitions
* @nb_attributes: the number of attributes on that node
* @nb_defaulted: the number of defaulted attributes. The defaulted
* ones are at the end of the array
* @attributes: pointer to the array of
* (localname/prefix/URI/value/end) attribute values.
*
* SAX2 callback when an element start has been detected by the parser.
* It provides the namespace informations for the element, as well as
* the new namespace declarations on the element.
d startElementNsSAX2Func...
d s * based(######typedef######)
d procptr
* endElementNsSAX2Func:
* @ctx: the user data (XML parser context)
* @localname: the local name of the element
* @prefix: the element namespace prefix if available
* @URI: the element namespace name if available
*
* SAX2 callback when an element end has been detected by the parser.
* It provides the namespace informations for the element.
d endElementNsSAX2Func...
d s * based(######typedef######)
d procptr
d xmlSAXHandler ds based(xmlSAXHandlerPtr)
d align qualified
d internalSubset...
d like(internalSubsetSAXFunc)
d isStandalone like(isStandaloneSAXFunc)
d hasInternalSubset...
d like(hasInternalSubsetSAXFunc)
d hasExternalSubset...
d like(hasExternalSubsetSAXFunc)
d resolveEntity like(resolveEntitySAXFunc)
d getEntity like(getEntitySAXFunc)
d entityDecl like(entityDeclSAXFunc)
d notationDecl like(notationDeclSAXFunc)
d attributeDecl like(attributeDeclSAXFunc)
d elementDecl like(elementDeclSAXFunc)
d unparsedEntityDecl...
d like(unparsedEntityDeclSAXFunc)
d setDocumentLocator...
d like(setDocumentLocatorSAXFunc)
d startDocument like(startDocumentSAXFunc)
d endDocument like(endDocumentSAXFunc)
d startElement like(startElementSAXFunc)
d endElement like(endElementSAXFunc)
d reference like(referenceSAXFunc)
d characters like(charactersSAXFunc)
d ignorableWhitespace...
d like(ignorableWhitespaceSAXFunc)
d processingInstruction...
d like(processingInstructionSAXFunc)
d comment like(commentSAXFunc)
d warning like(warningSAXFunc)
d error like(errorSAXFunc)
d fatalError like(fatalErrorSAXFunc)
d getParameterEntity...
d like(getParameterEntitySAXFunc)
d cdataBlock like(cdataBlockSAXFunc)
d externalSubset...
d like(externalSubsetSAXFunc)
d initialized 10u 0
*
* The following fields are extensions available only on version 2
*
d #private * void *
d startElementNs...
d like(startElementNsSAX2Func)
d endELementNs like(endElementNsSAX2Func)
d serror like(xmlStructuredErrorFunc)
* SAX Version 1
d xmlSAXHandlerV1Ptr...
d s * based(######typedef######)
d xmlSAXHandlerV1...
d ds based(xmlSAXHandlerV1Ptr)
d align qualified
d internalSubset...
d like(internalSubsetSAXFunc)
d isStandalone like(isStandaloneSAXFunc)
d hasInternalSubset...
d like(hasInternalSubsetSAXFunc)
d hasExternalSubset...
d like(hasExternalSubsetSAXFunc)
d resolveEntity like(resolveEntitySAXFunc)
d getEntity like(getEntitySAXFunc)
d entityDecl like(entityDeclSAXFunc)
d notationDecl like(notationDeclSAXFunc)
d attributeDecl like(attributeDeclSAXFunc)
d elementDecl like(elementDeclSAXFunc)
d unparsedEntityDecl...
d like(unparsedEntityDeclSAXFunc)
d setDocumentLocator...
d like(setDocumentLocatorSAXFunc)
d startDocument like(startDocumentSAXFunc)
d endDocument like(endDocumentSAXFunc)
d startElement like(startElementSAXFunc)
d endElement like(endElementSAXFunc)
d reference like(referenceSAXFunc)
d characters like(charactersSAXFunc)
d ignorableWhitespace...
d like(ignorableWhitespaceSAXFunc)
d processingInstruction...
d like(processingInstructionSAXFunc)
d comment like(commentSAXFunc)
d warning like(warningSAXFunc)
d error like(errorSAXFunc)
d fatalError like(fatalErrorSAXFunc)
d getParameterEntity...
d like(getParameterEntitySAXFunc)
d cdataBlock like(cdataBlockSAXFunc)
d externalSubset...
d like(externalSubsetSAXFunc)
d initialized 10u 0
* xmlExternalEntityLoader:
* @URL: The System ID of the resource requested
* @ID: The Public ID of the resource requested
* @context: the XML parser context
*
* External entity loaders types.
*
* Returns the entity input parser.
d xmlExternalEntityLoader...
d s * based(######typedef######)
d procptr
/include "libxmlrpg/encoding"
/include "libxmlrpg/xmlIO"
/include "libxmlrpg/globals"
* Init/Cleanup
d xmlInitParser pr extproc('xmlInitParser')
d xmlCleanupParser...
d pr extproc('xmlCleanupParser')
* Input functions
d xmlParserInputRead...
d pr 10i 0 extproc('xmlParserInputRead')
d in value like(xmlParserInputPtr)
d len 10i 0 value
d xmlParserInputGrow...
d pr 10i 0 extproc('xmlParserInputGrow')
d in value like(xmlParserInputPtr)
d len 10i 0 value
* Basic parsing Interfaces
/if defined(LIBXML_SAX1_ENABLED)
d xmlParseDoc pr extproc('xmlParseDoc')
d like(xmlDocPtr)
d cur * value options(*string) const xmlChar *
d xmlParseFile pr extproc('xmlParseFile')
d like(xmlDocPtr)
d filename * value options(*string) const char *
d xmlParseMemory pr extproc('xmlParseMemory')
d like(xmlDocPtr)
d buffer * value options(*string) const char *
d size 10i 0 value
/endif LIBXML_SAX1_ENABLED
d xmlSubstituteEntitiesDefault...
d pr 10i 0 extproc(
d 'xmlSubstituteEntitiesDefault')
d val 10i 0 value
d xmlKeepBlanksDefault...
d pr 10i 0 extproc('xmlKeepBlanksDefault')
d val 10i 0 value
d xmlStopParser pr extproc('xmlStopParser')
d ctxt value like(xmlParserCtxtPtr)
d xmlPedanticParserDefault...
d pr 10i 0 extproc('xmlPedanticParserDefault')
d val 10i 0 value
d xmlLineNumbersDefault...
d pr 10i 0 extproc('xmlLineNumbersDefault')
d val 10i 0 value
/if defined(LIBXML_SAX1_ENABLED)
* Recovery mode
d xmlRecoverDoc pr extproc('xmlRecoverDoc')
d like(xmlDocPtr)
d cur * value options(*string) const xmlChar *
d xmlRecoverMemory...
d pr extproc('xmlRecoverMemory')
d like(xmlDocPtr)
d buffer * value options(*string) const char *
d size 10i 0 value
d xmlRecoverFile pr extproc('xmlRecoverFile')
d like(xmlDocPtr)
d filename * value options(*string) const char *
/endif LIBXML_SAX1_ENABLED
* Less common routines and SAX interfaces
d xmlParseDocument...
d pr 10i 0 extproc('xmlParseDocument')
d ctxt value like(xmlParserCtxtPtr)
d xmlParseExtParsedEnt...
d pr 10i 0 extproc('xmlParseExtParsedEnt')
d ctxt value like(xmlParserCtxtPtr)
/if defined(LIBXML_SAX1_ENABLED)
d xmlSAXUserParseFile...
d pr 10i 0 extproc('xmlSAXUserParseFile')
d sax value like(xmlSAXHandlerPtr)
d user_data * value void *
d filename * value options(*string) const char *
d xmlSAXUserParseMemory...
d pr 10i 0 extproc('xmlSAXUserParseMemory')
d sax value like(xmlSAXHandlerPtr)
d user_data * value void *
d buffer * value options(*string) const char *
d size 10i 0 value
d xmlSAXParseDoc pr extproc('xmlSAXParseDoc')
d like(xmlDocPtr)
d sax value like(xmlSAXHandlerPtr)
d cur * value options(*string) const xmlChar *
d recovery 10i 0 value
d xmlSAXParseMemory...
d pr extproc('xmlSAXParseMemory')
d like(xmlDocPtr)
d sax value like(xmlSAXHandlerPtr)
d buffer * value options(*string) const char *
d size 10i 0 value
d recovery 10i 0 value
d xmlSAXParseMemoryWithData...
d pr extproc('xmlSAXParseMemoryWithData')
d like(xmlDocPtr)
d sax value like(xmlSAXHandlerPtr)
d buffer * value options(*string) const char *
d size 10i 0 value
d recovery 10i 0 value
d data * value void *
d xmlSAXParseFile...
d pr extproc('xmlSAXParseFile')
d like(xmlDocPtr)
d sax value like(xmlSAXHandlerPtr)
d filename * value options(*string) const char *
d recovery 10i 0 value
d xmlSAXParseFileWithData...
d pr extproc('xmlSAXParseFileWithData')
d like(xmlDocPtr)
d sax value like(xmlSAXHandlerPtr)
d filename * value options(*string) const char *
d recovery 10i 0 value
d data * value void *
d xmlSAXParseEntity...
d pr extproc('xmlSAXParseEntity')
d like(xmlDocPtr)
d sax value like(xmlSAXHandlerPtr)
d filename * value options(*string) const char *
d xmlParseEntity...
d pr extproc('xmlParseEntity')
d like(xmlDocPtr)
d filename * value options(*string) const char *
/endif LIBXML_SAX1_ENABLED
/if defined(LIBXML_VALID_ENABLED)
d xmlSAXParseDTD pr extproc('xmlSAXParseDTD')
d like(xmlDtdPtr)
d sax value like(xmlSAXHandlerPtr)
d ExternalID * value options(*string) const xmlChar *
d SystemID * value options(*string) const xmlChar *
d xmlParseDTD pr extproc('xmlParseDTD')
d like(xmlDtdPtr)
d ExternalID * value options(*string) const xmlChar *
d SystemID * value options(*string) const xmlChar *
d xmlIOParseDTD pr extproc('xmlIOParseDTD')
d like(xmlDtdPtr)
d sax value like(xmlSAXHandlerPtr)
d input value like(xmlParserInputBufferPtr)
d enc value like(xmlCharEncoding)
/endif LIBXML_VALID_ENABLED
/if defined(LIBXML_SAX1_ENABLED)
d xmlParseBalancedChunkMemory...
d pr 10i 0 extproc(
d 'xmlParseBalancedChunkMemory')
d doc value like(xmlDocPtr)
d sax value like(xmlSAXHandlerPtr)
d user_data * value void *
d depth 10i 0 value
d user_data * value void *
d string * value options(*string) const xmlChar *
d lst * value xmlNodePtr *
/endif LIBXML_SAX1_ENABLED
d xmlParseInNodeContext...
d pr extproc('xmlParseInNodeContext')
d like(xmlParserErrors)
d node value like(xmlNodePtr)
d data * value options(*string) const char *
d datalen 10i 0 value
d options 10i 0 value
d lst * value xmlNodePtr *
/if defined(LIBXML_SAX1_ENABLED)
d xmlParseBalancedChunkMemoryRecover...
d pr 10i 0 extproc(
d 'xmlParseBalancedChunkMemoryRecover')
d doc value like(xmlDocPtr)
d sax value like(xmlSAXHandlerPtr)
d user_data * value void *
d depth 10i 0 value
d string * value options(*string) const xmlChar *
d lst * value xmlNodePtr *
d recover 10i 0 value
d xmlParseExternalEntity...
d pr 10i 0 extproc('xmlParseExternalEntity')
d doc value like(xmlDocPtr)
d sax value like(xmlSAXHandlerPtr)
d user_data * value void *
d depth 10i 0 value
d URL * value options(*string) const xmlChar *
d ID * value options(*string) const xmlChar *
d lst * value xmlNodePtr *
/endif LIBXML_SAX1_ENABLED
d xmlParseCtxtExternalEntity...
d pr 10i 0 extproc('xmlParseCtxtExternalEntity')
d sax value like(xmlSAXHandlerPtr)
d URL * value options(*string) const xmlChar *
d ID * value options(*string) const xmlChar *
d lst * value xmlNodePtr *
* Parser contexts handling.
d xmlNewParserCtxt...
d pr extproc('xmlNewParserCtxt')
d like(xmlParserCtxtPtr)
d xmlInitParserCtxt...
d pr 10i 0 extproc('xmlInitParserCtxt')
d ctxt value like(xmlParserCtxtPtr)
d xmlClearParserCtxt...
d pr extproc('xmlClearParserCtxt')
d ctxt value like(xmlParserCtxtPtr)
d xmlFreeParserCtxt...
d pr extproc('xmlFreeParserCtxt')
d ctxt value like(xmlParserCtxtPtr)
/if defined(LIBXML_SAX1_ENABLED)
d xmlSetupParserForBuffer...
d pr extproc('xmlSetupParserForBuffer')
d ctxt value like(xmlParserCtxtPtr)
d buffer * value options(*string) const xmlChar *
d filename * value options(*string) const char *
/endif LIBXML_SAX1_ENABLED
d xmlCreateDocParserCtxt...
d pr extproc('xmlCreateDocParserCtxt')
d like(xmlParserCtxtPtr)
d cur * value options(*string) const xmlChar *
/if defined(LIBXML_LEGACY_ENABLED)
* Reading/setting optional parsing features.
d xmlGetFeaturesList...
d pr 10i 0 extproc('xmlGetFeaturesList')
d len 10i 0
d result * const char *(*)
d xmlGetFeature pr 10i 0 extproc('xmlGetFeature')
d ctxt value like(xmlParserCtxtPtr)
d name * value options(*string) const char *
d result * value void *
d xmlSetFeature pr 10i 0 extproc('xmlSetFeature')
d ctxt value like(xmlParserCtxtPtr)
d name * value options(*string) const char *
d result * value void *
/endif LIBXML_LEGACY_ENABLD
/if defined(LIBXML_PUSH_ENABLED)
* Interfaces for the Push mode.
d xmlCreatePushParserCtxt...
d pr extproc('xmlCreatePushParserCtxt')
d like(xmlParserCtxtPtr)
d sax value like(xmlSAXHandlerPtr)
d user_data * value void *
d chunk * value options(*string) const char *
d size 10i 0 value
d filename * value options(*string) const char *
d xmlParseChunk pr 10i 0 extproc('xmlParseChunk')
d ctxt value like(xmlParserCtxtPtr)
d chunk * value options(*string) const char *
d size 10i 0 value
d terminate 10i 0 value
/endif LIBXML_PUSH_ENABLED
* Special I/O mode.
d xmlCreateIOParserCtxt...
d pr extproc('xmlCreateIOParserCtxt')
d like(xmlParserCtxtPtr)
d sax value like(xmlSAXHandlerPtr)
d user_data * value void *
d ioread value like(xmlInputReadCallback)
d ioclose value like(xmlInputCloseCallback)
d ioctx * value void *
d enc value like(xmlCharEncoding)
d xmlNewIOInputStream...
d pr extproc('xmlNewIOInputStream')
d like(xmlParserInputPtr)
d ctxt value like(xmlParserCtxtPtr)
d input value like(xmlParserInputBufferPtr)
d enc value like(xmlCharEncoding)
* Node infos.
d xmlParserFindNodeInfo...
d pr * extproc('xmlParserFindNodeInfo') xmlParserNodeInfo *
d ctxt value like(xmlParserCtxtPtr)
d node value like(xmlNodePtr) const
d xmlInitNodeInfoSeq...
d pr extproc('xmlInitNodeInfoSeq')
d seq value like(xmlParserNodeInfoSeqPtr)
d xmlClearNodeInfoSeq...
d pr extproc('xmlClearNodeInfoSeq')
d seq value like(xmlParserNodeInfoSeqPtr)
d xmlParserFindNodeInfoIndex...
d pr extproc('xmlParserFindNodeInfoIndex')
d like(xmlCulong)
d seq value like(xmlParserNodeInfoSeqPtr)
d node value like(xmlNodePtr) const
d xmlParserAddNodeInfo...
d pr extproc('xmlParserAddNodeInfo')
d ctxt value like(xmlParserCtxtPtr)
d info value like(xmlParserNodeInfoPtr) const
* External entities handling actually implemented in xmlIO.
d xmlSetExternalEntityLoader...
d pr extproc('xmlSetExternalEntityLoader')
d f value like(xmlExternalEntityLoader)
d xmlGetExternalEntityLoader...
d pr extproc('xmlGetExternalEntityLoader')
d like(xmlExternalEntityLoader)
d xmlLoadExternalEntity...
d pr extproc('xmlLoadExternalEntity')
d like(xmlParserInputPtr)
d URL * value options(*string) const char *
d ID * value options(*string) const char *
d ctxt value like(xmlParserCtxtPtr)
* Index lookup, actually implemented in the encoding module
d xmlByteConsumed...
d pr extproc('xmlByteConsumed')
d like(xmlClong)
d ctxt value like(xmlParserCtxtPtr)
* New set of simpler/more flexible APIs
* xmlParserOption:
*
* This is the set of XML parser options that can be passed down
* to the xmlReadDoc() and similar calls.
d xmlParserOption...
d s 10i 0 based(######typedef######) enum
d XML_PARSE_RECOVER... Recover on errors
d c X'00000001'
d XML_PARSE_NOENT... Substitute entities
d c X'00000002'
d XML_PARSE_DTDLOAD... Load external subset
d c X'00000004'
d XML_PARSE_DTDATTR... Default DTD attrs
d c X'00000008'
d XML_PARSE_DTDVALID... Validate with DTD
d c X'00000010'
d XML_PARSE_NOERROR... Suppress err reports
d c X'00000020'
d XML_PARSE_NOWARNING... Suppr warn reports
d c X'00000040'
d XML_PARSE_PEDANTIC... Pedantic err report
d c X'00000080'
d XML_PARSE_NOBLANKS... Remove blank nodes
d c X'00000100'
d XML_PARSE_SAX1... Use SAX1 internally
d c X'00000200'
d XML_PARSE_XINCLUDE... Impl XInclude subst
d c X'00000400'
d XML_PARSE_NONET... Forbid netwrk access
d c X'00000800'
d XML_PARSE_NODICT... No contxt dict reuse
d c X'00001000'
d XML_PARSE_NSCLEAN... Rmv redndnt ns decls
d c X'00002000'
d XML_PARSE_NOCDATA... CDATA as text nodes
d c X'00004000'
d XML_PARSE_NOXINCNODE... No XINCL START/END
d c X'00008000'
d XML_PARSE_COMPACT... Compact text nodes
d c X'00010000'
d XML_PARSE_OLD10... B4 upd5 compatible
d c X'00020000'
d XML_PARSE_NOBASEFIX... No XINC xml:base fix
d c X'00040000'
d XML_PARSE_HUGE... No parsing limit
d c X'00080000'
d XML_PARSE_OLDSAX... Use SAX2 b4 2.7.0
d c X'00100000'
d XML_PARSE_IGNORE_ENC... No int doc code hint
d c X'00200000'
d XML_PARSE_BIG_LINES... Big line#-->PSVI fld
d c X'00400000'
d xmlCtxtReset pr extproc('xmlCtxtReset')
d ctxt value like(xmlParserCtxtPtr)
d xmlCtxtResetPush...
d pr 10i 0 extproc('xmlCtxtResetPush')
d ctxt value like(xmlParserCtxtPtr)
d chunk * value options(*string) const char *
d size 10i 0 value
d filename * value options(*string) const char *
d encoding * value options(*string) const char *
d xmlCtxtUseOptions...
d pr 10i 0 extproc('xmlCtxtUseOptions')
d ctxt value like(xmlParserCtxtPtr)
d options 10i 0 value
d xmlReadDoc pr extproc('xmlReadDoc')
d like(xmlDocPtr)
d cur * value options(*string) const xmlChar *
d URL * value options(*string) const char *
d encoding * value options(*string) const char *
d options 10i 0 value
d xmlReadFile pr extproc('xmlReadFile')
d like(xmlDocPtr)
d URL * value options(*string) const char *
d encoding * value options(*string) const char *
d options 10i 0 value
d xmlReadMemory pr extproc('xmlReadMemory')
d like(xmlDocPtr)
d buffer * value options(*string) const char *
d size 10i 0 value
d URL * value options(*string) const char *
d encoding * value options(*string) const char *
d options 10i 0 value
d xmlReadFd pr extproc('xmlReadFd')
d like(xmlDocPtr)
d fd 10i 0 value
d URL * value options(*string) const char *
d encoding * value options(*string) const char *
d options 10i 0 value
d xmlReadIO pr extproc('xmlReadIO')
d like(xmlDocPtr)
d ioread value like(xmlInputReadCallback)
d ioclose value like(xmlInputCloseCallback)
d ioctx * value void *
d URL * value options(*string) const char *
d encoding * value options(*string) const char *
d options 10i 0 value
d xmlCtxtReadDoc pr extproc('xmlCtxtReadDoc')
d like(xmlDocPtr)
d ctxt value like(xmlParserCtxtPtr)
d cur * value options(*string) const xmlChar *
d URL * value options(*string) const char *
d encoding * value options(*string) const char *
d options 10i 0 value
d xmlCtxtReadFile...
d pr extproc('xmlCtxtReadFile')
d like(xmlDocPtr)
d ctxt value like(xmlParserCtxtPtr)
d filename * value options(*string) const char *
d encoding * value options(*string) const char *
d options 10i 0 value
d xmlCtxtReadMemory...
d pr extproc('xmlCtxtReadMemory')
d like(xmlDocPtr)
d ctxt value like(xmlParserCtxtPtr)
d buffer * value options(*string) const char *
d size 10i 0 value
d URL * value options(*string) const char *
d encoding * value options(*string) const char *
d options 10i 0 value
d xmlCtxtReadFd pr extproc('xmlCtxtReadFd')
d like(xmlDocPtr)
d ctxt value like(xmlParserCtxtPtr)
d fd 10i 0 value
d URL * value options(*string) const char *
d encoding * value options(*string) const char *
d options 10i 0 value
d xmlCtxtReadIO pr extproc('xmlCtxtReadIO')
d like(xmlDocPtr)
d ctxt value like(xmlParserCtxtPtr)
d ioread value like(xmlInputReadCallback)
d ioclose value like(xmlInputCloseCallback)
d ioctx * value void *
d URL * value options(*string) const char *
d encoding * value options(*string) const char *
d options 10i 0 value
* Library wide options
* xmlFeature:
*
* Used to examine the existance of features that can be enabled
* or disabled at compile-time.
* They used to be called XML_FEATURE_xxx but this clashed with Expat
d xmlFeature s 10i 0 based(######typedef######) enum
d XML_WITH_THREAD...
d c 1
d XML_WITH_TREE c 2
d XML_WITH_OUTPUT...
d c 3
d XML_WITH_PUSH c 4
d XML_WITH_READER...
d c 5
d XML_WITH_PATTERN...
d c 6
d XML_WITH_WRITER...
d c 7
d XML_WITH_SAX1 c 8
d XML_WITH_FTP c 9
d XML_WITH_HTTP c 10
d XML_WITH_VALID...
d c 11
d XML_WITH_HTML c 12
d XML_WITH_LEGACY...
d c 13
d XML_WITH_C14N c 14
d XML_WITH_CATALOG...
d c 15
d XML_WITH_XPATH...
d c 16
d XML_WITH_XPTR c 17
d XML_WITH_XINCLUDE...
d c 18
d XML_WITH_ICONV...
d c 19
d XML_WITH_ISO8859X...
d c 20
d XML_WITH_UNICODE...
d c 21
d XML_WITH_REGEXP...
d c 22
d XML_WITH_AUTOMATA...
d c 23
d XML_WITH_EXPR c 24
d XML_WITH_SCHEMAS...
d c 25
d XML_WITH_SCHEMATRON...
d c 26
d XML_WITH_MODULES...
d c 27
d XML_WITH_DEBUG...
d c 28
d XML_WITH_DEBUG_MEM...
d c 29
d XML_WITH_DEBUG_RUN...
d c 30
d XML_WITH_ZLIB c 31
d XML_WITH_ICU c 32
d XML_WITH_LZMA c 33
d XML_WITH_NONE c 99999
d xmlHasFeature pr 10i 0 extproc('xmlHasFeature')
d feature value like(xmlFeature)
/endif XML_PARSER_H__