Re: [PHP-XML-DEV] SAX interface for building DOM in php5

[email protected] ("Alexander Belyaev") Fri, 19 Dec 2003 14:51:59 +0300
Newsgroups php.xml.dev
Message-ID <[email protected]>
Hi,

> wow, anyone is actually using that ;)
Yes, it works fast and great.

Actually we have used patched domxml extension.

1. start_element( make_params ) in distribution has a bug (or bad feature:)
$parser->start_element("user",array('a'=>'b','c'=>'','d'=>'e'));
adds only 'a' attribute; (it stops adding attributes after empty (or NULL?)
array element)

2. we have implemented internal recodings from national 8bit charset to
utf-8
to avoid ugly and slow iconv constructs

PS
Thank you for great work for DOM & XSL!
>
> >
> > but it missing in new dom extension comes with php5 b3...
> > Any  chance to implement it in the near future? :)
>
> It's possible, but I for myself can't guarantee it for 5.0.0 (and
> there's anyway a feature freeze after b3...)