• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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                  extproc('getLineNumber')
30     d                                     like(xmlCint)
31     d  ctx                            *   value                                void *
32
33     d getColumnNumber...
34     d                 pr                  extproc('getColumnNumber')
35     d                                     like(xmlCint)
36     d  ctx                            *   value                                void *
37
38     d isStandalone    pr                  extproc('isStandalone')
39     d                                     like(xmlCint)
40     d  ctx                            *   value                                void *
41
42     d hasInternalSubset...
43     d                 pr                  extproc('hasInternalSubset')
44     d                                     like(xmlCint)
45     d  ctx                            *   value                                void *
46
47     d hasExternalSubset...
48     d                 pr                  extproc('hasExternalSubset')
49     d                                     like(xmlCint)
50     d  ctx                            *   value                                void *
51
52     d internalSubset  pr                  extproc('internalSubset')
53     d  ctx                            *   value                                void *
54     d  name                           *   value options(*string)               const xmlChar *
55     d  ExternalID                     *   value options(*string)               const xmlChar *
56     d  SystemID                       *   value options(*string)               const xmlChar *
57
58     d externalSubset  pr                  extproc('externalSubset')
59     d  ctx                            *   value                                void *
60     d  name                           *   value options(*string)               const xmlChar *
61     d  ExternalID                     *   value options(*string)               const xmlChar *
62     d  SystemID                       *   value options(*string)               const xmlChar *
63
64     d getEntity       pr                  extproc('getEntity')
65     d                                     like(xmlEntityPtr)
66     d  ctx                            *   value                                void *
67     d  name                           *   value options(*string)               const xmlChar *
68
69     d getParameterEntity...
70     d                 pr                  extproc('getParameterEntity')
71     d                                     like(xmlEntityPtr)
72     d  ctx                            *   value                                void *
73     d  name                           *   value options(*string)               const xmlChar *
74
75     d resolveEntity   pr                  extproc('resolveEntity')
76     d                                     like(xmlParserInputPtr)
77     d  ctx                            *   value                                void *
78     d  publicId                       *   value options(*string)               const xmlChar *
79     d  systemId                       *   value options(*string)               const xmlChar *
80
81     d entityDecl      pr                  extproc('entityDecl')
82     d  ctx                            *   value                                void *
83     d  name                           *   value options(*string)               const xmlChar *
84     d  type                               value like(xmlCint)
85     d  publicId                       *   value options(*string)               const xmlChar *
86     d  systemId                       *   value options(*string)               const xmlChar *
87     d  content                        *   value options(*string)               xmlChar *
88
89     d attributeDecl   pr                  extproc('attributeDecl')
90     d  ctx                            *   value                                void *
91     d  elem                           *   value options(*string)               const xmlChar *
92     d  fullname                       *   value options(*string)               const xmlChar *
93     d  type                               value like(xmlCint)
94     d  def                                value like(xmlCint)
95     d  defaultValue                   *   value options(*string)               const xmlChar *
96     d  tree                               value like(xmlEnumerationPtr)
97
98     d elementDecl     pr                  extproc('elementDecl')
99     d  ctx                            *   value                                void *
100     d  name                           *   value options(*string)               const xmlChar *
101     d  type                               value like(xmlCint)
102     d  content                            value like(xmlElementContentPtr)
103
104     d notationDecl    pr                  extproc('notationDecl')
105     d  ctx                            *   value                                void *
106     d  name                           *   value options(*string)               const xmlChar *
107     d  publicId                       *   value options(*string)               const xmlChar *
108     d  systemId                       *   value options(*string)               const xmlChar *
109
110     d unparsedEntityDecl...
111     d                 pr                  extproc('unparsedEntityDecl')
112     d  ctx                            *   value                                void *
113     d  name                           *   value options(*string)               const xmlChar *
114     d  publicId                       *   value options(*string)               const xmlChar *
115     d  systemId                       *   value options(*string)               const xmlChar *
116     d  notationName                   *   value options(*string)               const xmlChar *
117
118     d startDocument   pr                  extproc('startDocument')
119     d  ctx                            *   value                                void *
120
121     d endDocument     pr                  extproc('endDocument')
122     d  ctx                            *   value                                void *
123
124     d attribute       pr                  extproc('attribute')
125     d  ctx                            *   value                                void *
126     d  fullname                       *   value options(*string)               const xmlChar *
127     d  value                          *   value options(*string)               const xmlChar *
128
129     d startElement    pr                  extproc('startElement')
130     d  ctx                            *   value                                void *
131     d  fullname                       *   value options(*string)               const xmlChar *
132     d  atts                           *                                        const xmlChar *(*)
133
134     d endElement      pr                  extproc('endElement')
135     d  ctx                            *   value                                void *
136     d  name                           *   value options(*string)               const xmlChar *
137
138     d reference       pr                  extproc('reference')
139     d  ctx                            *   value                                void *
140     d  name                           *   value options(*string)               const xmlChar *
141
142     d characters      pr                  extproc('characters')
143     d  ctx                            *   value                                void *
144     d  ch                             *   value options(*string)               const xmlChar *
145     d  len                                value like(xmlCint)
146
147     d ignorableWhitespace...
148     d                 pr                  extproc('ignorableWhitespace')
149     d  ctx                            *   value                                void *
150     d  ch                             *   value options(*string)               const xmlChar *
151     d  len                                value like(xmlCint)
152
153     d processingInstruction...
154     d                 pr                  extproc('processingInstruction')
155     d  ctx                            *   value                                void *
156     d  target                         *   value options(*string)               const xmlChar *
157     d  data                           *   value options(*string)               const xmlChar *
158
159     d globalNamespace...
160     d                 pr                  extproc('globalNamespace')
161     d  ctx                            *   value                                void *
162     d  href                           *   value options(*string)               const xmlChar *
163     d  prefix                         *   value options(*string)               const xmlChar *
164
165     d setNamespace    pr                  extproc('setNamespace')
166     d  ctx                            *   value                                void *
167     d  name                           *   value options(*string)               const xmlChar *
168
169     d getNamespace    pr                  extproc('getNamespace')
170     d                                     like(xmlNsPtr)
171     d  ctx                            *   value                                void *
172
173     d checkNamespace  pr                  extproc('checkNamespace')
174     d                                     like(xmlCint)
175     d  ctx                            *   value                                void *
176     d  nameSpace                      *   value options(*string)               xmlChar *
177
178     d namespaceDecl   pr                  extproc('namespaceDecl')
179     d  ctx                            *   value                                void *
180     d  href                           *   value options(*string)               const xmlChar *
181     d  prefix                         *   value options(*string)               const xmlChar *
182
183     d comment         pr                  extproc('comment')
184     d  ctx                            *   value                                void *
185     d  value                          *   value options(*string)               const xmlChar *
186
187     d cdataBlock      pr                  extproc('cdataBlock')
188     d  ctx                            *   value                                void *
189     d  value                          *   value options(*string)               const xmlChar *
190     d  len                                value like(xmlCint)
191
192      /if defined(LIBXML_SAX1_ENABLED)
193     d initxmlDefaultSAXHandler...
194     d                 pr                  extproc('initxmlDefaultSAXHandler')
195     d  hdlr                               likeds(xmlSAXHandlerV1)
196     d  warning                            value like(xmlCint)
197
198      /if defined(LIBXML_HTML_ENABLED)
199     d inithtmlDefaultSAXHandler...
200     d                 pr                  extproc('inithtmlDefaultSAXHandler')
201     d  hdlr                               likeds(xmlSAXHandlerV1)
202      /endif
203
204      /if defined(LIBXML_DOCB_ENABLED)
205     d initdocbDefaultSAXHandler...
206     d                 pr                  extproc('initdocbDefaultSAXHandler')
207     d  hdlr                               likeds(xmlSAXHandlerV1)
208      /endif
209      /endif                                                                    LIBXML_SAX1_ENABLED
210
211      /endif                                                                    LIBXML_LEGACY_ENABLD
212
213      /endif                                                                    XML_SAX_H__
214