Why did ez choose to implement their own XML parser?

Author Message

Srinivas Rao

Wednesday 30 July 2003 10:01:47 pm

Hi all,

Why did ez choose to implement their own XML parser?

--vasu

Bård Farstad

Wednesday 30 July 2003 11:35:58 pm

We used to use libxml. But this parser had severe memory leaks at the time and was not working in a production environment. It also had a hard time parsing some very valid XML files.

We then made an extension to PHP for supporting the QT, qdom, C++ XML parser. This worked well, however people had a hard time installing this.

So to make eZ publish simpler to install we made an XML parser which is bundled with eZ publish.

--bård

Documentation: http://ez.no/doc

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 04:15:54
Script start
Timing: Jan 31 2025 04:15:54
Module start 'layout'
Timing: Jan 31 2025 04:15:54
Module start 'content'
Timing: Jan 31 2025 04:15:54
Module end 'content'
Timing: Jan 31 2025 04:15:54
Script end

Main resources:

Total runtime0.0148 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.2813151.2266
Module start 'layout' 0.00540.0028 739.507836.6797
Module start 'content' 0.00820.0050 776.187590.0938
Module end 'content' 0.01320.0015 866.281329.9922
Script end 0.0147  896.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002617.8104140.0002
Check MTime0.00117.5397140.0001
Mysql Total
Database connection0.00085.473310.0008
Mysqli_queries0.002718.408830.0009
Looping result0.00000.095210.0000
Template Total0.00127.910.0012
Template load0.00096.163710.0009
Template processing0.00031.753510.0003
Override
Cache load0.00074.519910.0007
General
dbfile0.00138.883480.0002
String conversion0.00000.054840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs