| 2268 | xmlFree((char *)(str)); |
| 2269 | |
| 2270 | static int |
| 2271 | xmlIsStreaming(xmlValidCtxtPtr ctxt) { |
| 2272 | xmlParserCtxtPtr pctxt; |
| 2273 | |
| 2274 | if (ctxt == NULL) |
| 2275 | return(0); |
| 2276 | if ((ctxt->flags & XML_VCTXT_USE_PCTXT) == 0) |
| 2277 | return(0); |
| 2278 | pctxt = ctxt->userData; |
| 2279 | return(pctxt->parseMode == XML_PARSE_READER); |
| 2280 | } |
| 2281 | |
| 2282 | /** |
| 2283 | * xmlFreeID: |