1 * Summary: Old SAX version 1 handler, deprecated 2 * Description: DEPRECATED set of SAX version 1 interfaces used to 3 * build the DOM tree. 4 * 5 * Copy: See Copyright for the status of this software. 6 * 7 * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A. 8 9 /if not defined(XML_SAX_H__) 10 /define XML_SAX_H__ 11 12 /include "libxmlrpg/xmlversion" 13 /include "libxmlrpg/parser" 14 /include "libxmlrpg/xlink" 15 16 /if defined(LIBXML_LEGACY_ENABLED) 17 18 d getPublicId pr * extproc('getPublicId') const xmlChar * 19 d ctx * value void * 20 21 d getSystemId pr * extproc('getSystemId') const xmlChar * 22 d ctx * value void * 23 24 d setDocumentLocator... 25 d pr extproc('setDocumentLocator') 26 d ctx * value void * 27 d loc value like(xmlSAXLocatorPtr) 28 29 d getLineNumber pr 10i 0 extproc('getLineNumber') 30 d ctx * value void * 31 32 d getColumnNumber... 33 d pr 10i 0 extproc('getColumnNumber') 34 d ctx * value void * 35 36 d isStandalone pr 10i 0 extproc('isStandalone') 37 d ctx * value void * 38 39 d hasInternalSubset... 40 d pr 10i 0 extproc('hasInternalSubset') 41 d ctx * value void * 42 43 d hasExternalSubset... 44 d pr 10i 0 extproc('hasExternalSubset') 45 d ctx * value void * 46 47 d internalSubset pr extproc('internalSubset') 48 d ctx * value void * 49 d name * value options(*string) const xmlChar * 50 d ExternalID * value options(*string) const xmlChar * 51 d SystemID * value options(*string) const xmlChar * 52 53 d externalSubset pr extproc('externalSubset') 54 d ctx * value void * 55 d name * value options(*string) const xmlChar * 56 d ExternalID * value options(*string) const xmlChar * 57 d SystemID * value options(*string) const xmlChar * 58 59 d getEntity pr extproc('getEntity') 60 d like(xmlEntityPtr) 61 d ctx * value void * 62 d name * value options(*string) const xmlChar * 63 64 d getParameterEntity... 65 d pr extproc('getParameterEntity') 66 d like(xmlEntityPtr) 67 d ctx * value void * 68 d name * value options(*string) const xmlChar * 69 70 d resolveEntity pr extproc('resolveEntity') 71 d like(xmlParserInputPtr) 72 d ctx * value void * 73 d publicId * value options(*string) const xmlChar * 74 d systemId * value options(*string) const xmlChar * 75 76 d entityDecl pr extproc('entityDecl') 77 d ctx * value void * 78 d name * value options(*string) const xmlChar * 79 d type 10i 0 value 80 d publicId * value options(*string) const xmlChar * 81 d systemId * value options(*string) const xmlChar * 82 d content * value options(*string) xmlChar * 83 84 d attributeDecl pr extproc('attributeDecl') 85 d ctx * value void * 86 d elem * value options(*string) const xmlChar * 87 d fullname * value options(*string) const xmlChar * 88 d type 10i 0 value 89 d def 10i 0 value 90 d defaultValue * value options(*string) const xmlChar * 91 d tree value like(xmlEnumerationPtr) 92 93 d elementDecl pr extproc('elementDecl') 94 d ctx * value void * 95 d name * value options(*string) const xmlChar * 96 d type 10i 0 value 97 d content value like(xmlElementContentPtr) 98 99 d notationDecl pr extproc('notationDecl') 100 d ctx * value void * 101 d name * value options(*string) const xmlChar * 102 d publicId * value options(*string) const xmlChar * 103 d systemId * value options(*string) const xmlChar * 104 105 d unparsedEntityDecl... 106 d pr extproc('unparsedEntityDecl') 107 d ctx * value void * 108 d name * value options(*string) const xmlChar * 109 d publicId * value options(*string) const xmlChar * 110 d systemId * value options(*string) const xmlChar * 111 d notationName * value options(*string) const xmlChar * 112 113 d startDocument pr extproc('startDocument') 114 d ctx * value void * 115 116 d endDocument pr extproc('endDocument') 117 d ctx * value void * 118 119 d attribute pr extproc('attribute') 120 d ctx * value void * 121 d fullname * value options(*string) const xmlChar * 122 d value * value options(*string) const xmlChar * 123 124 d startElement pr extproc('startElement') 125 d ctx * value void * 126 d fullname * value options(*string) const xmlChar * 127 d atts * const xmlChar *(*) 128 129 d endElement pr extproc('endElement') 130 d ctx * value void * 131 d name * value options(*string) const xmlChar * 132 133 d reference pr extproc('reference') 134 d ctx * value void * 135 d name * value options(*string) const xmlChar * 136 137 d characters pr extproc('characters') 138 d ctx * value void * 139 d ch * value options(*string) const xmlChar * 140 d len 10i 0 value 141 142 d ignorableWhitespace... 143 d pr extproc('ignorableWhitespace') 144 d ctx * value void * 145 d ch * value options(*string) const xmlChar * 146 d len 10i 0 value 147 148 d processingInstruction... 149 d pr extproc('processingInstruction') 150 d ctx * value void * 151 d target * value options(*string) const xmlChar * 152 d data * value options(*string) const xmlChar * 153 154 d globalNamespace... 155 d pr extproc('globalNamespace') 156 d ctx * value void * 157 d href * value options(*string) const xmlChar * 158 d prefix * value options(*string) const xmlChar * 159 160 d setNamespace pr extproc('setNamespace') 161 d ctx * value void * 162 d name * value options(*string) const xmlChar * 163 164 d getNamespace pr extproc('getNamespace') 165 d like(xmlNsPtr) 166 d ctx * value void * 167 168 d checkNamespace pr 10i 0 extproc('checkNamespace') 169 d ctx * value void * 170 d nameSpace * value options(*string) xmlChar * 171 172 d namespaceDecl pr extproc('namespaceDecl') 173 d ctx * value void * 174 d href * value options(*string) const xmlChar * 175 d prefix * value options(*string) const xmlChar * 176 177 d comment pr extproc('comment') 178 d ctx * value void * 179 d value * value options(*string) const xmlChar * 180 181 d cdataBlock pr extproc('cdataBlock') 182 d ctx * value void * 183 d value * value options(*string) const xmlChar * 184 d len 10i 0 value 185 186 /if defined(LIBXML_SAX1_ENABLED) 187 d initxmlDefaultSAXHandler... 188 d pr extproc('initxmlDefaultSAXHandler') 189 d hdlr likeds(xmlSAXHandlerV1) 190 d warning 10i 0 value 191 192 /if defined(LIBXML_HTML_ENABLED) 193 d inithtmlDefaultSAXHandler... 194 d pr extproc('inithtmlDefaultSAXHandler') 195 d hdlr likeds(xmlSAXHandlerV1) 196 /endif 197 198 /if defined(LIBXML_DOCB_ENABLED) 199 d initdocbDefaultSAXHandler... 200 d pr extproc('initdocbDefaultSAXHandler') 201 d hdlr likeds(xmlSAXHandlerV1) 202 /endif 203 /endif LIBXML_SAX1_ENABLED 204 205 /endif LIBXML_LEGACY_ENABLD 206 207 /endif XML_SAX_H__ 208