libfo interface and PHP ext

"Mauro C." <[email protected]> Sun, 26 Feb 2006 19:44:05 +0100 (CET)
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
Hi Tony, hi to all,

I'm continuing dev xmlroff php extension and study
libfo.

my problem is that actualy the only way to work with
libfo is to write tmp file.

I'agree the libfo abstract from xml implementation.

I've found two solution:

1) include libxml in xmlroff php ext and then set
FoXmlDoc->xml_doc directly.
(I've seen fo-xml-doc-private.h).

2) change libfo interface and allow for examples
fo_xml_doc_parse_file and fo_xml_doc_parse_memory, and
generally the possibility to work with mem and/or
file.

I have the same problem with the output result:
where can I get a pointer to result doc
(FoDocGP->job)?
is the output file written when fo_doc_gp_finalize is
invoked?

actually ext has OO interface, but no error bubbling.
tested only with PHP 4.4.2.
configuration file incomplete.

where can I release it? not possible to release it at
pecl.php.net due to licence incompatibility.


ciao

Mauro Casciari


		
___________________________________ 
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive 
http://it.messenger.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642