Re: [xml] htmlCreatePushParserCtxt() without filename?



On Wed, Apr 24, 2002 at 08:56:09AM +0900, Kang Jeong-Hee wrote:
HTMLparser.h only provide that function to make chunk system parser, right?

but I wanna to xfer data by gnome-vfs(or whatever) and pass the xfering data to SAX interface on the fly.

is that ok to pass NULL to filename argument?

  Yes, as long as no URI computation is needed by the parser to fetch
another piece referenced by the document parsed.

or is there reason thus cannot implement chunk system without filename?

  No it should work, problem is getting external entities if referenced from
that document.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]