[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

The expat problem...

  • From: Matt Sergeant <matt@s...>
  • To: xml-dev@x...
  • Date: Mon, 07 Aug 2000 10:30:54 +0100 (BST)

expat problem
I didn't know where exactly to post this, but I figure most of the
relevant people are listening here.

Summary: Something is rotten in the state of Expat...

The Problem:

There are many conflicting versions of expat out there: it lacks a single
"one true expat". What has happened is that many people have compiled
expat statically into their application or library. The application I'm
having most problems with is Apache. Apache compiles in expat as a
default. It compiles it in statically (doesn't use a shared
libxmltok/libxmlparse). Then you add PHP to the mixture. That contains its
own version of expat when you enable the XML features (someone correct me
if I'm wrong about that - I'm not a PHPer). Then you mix in a little
mod_perl and introduce XML::Parser - that's another statically linked
expat. And now I've got XML::Sablotron, now that does the right thing -
gives you a dynamically loaded expat. But of course expat is already
loaded, so there's another conflict...

The result is a segfault.

There is also the issue of "patched expats" - some apps/modules use
patched versions of expat different from the original, because the
original expat didn't have all the required features.

The Solution:

Do the same as 4XT.org has done. Register the domain name 4expat.org and
maintain a version of expat that has all the features that XML::Parser,
Sablotron, Apache and PHP (and others) need. Distribute a single .tar.gz
of Expat that builds a shared library only. Distribute rpm's for Linux,
and maybe a Windows installer if people really want that. Maintain a
mailing list. Communicate with all the major library maintainers to make
sure that we can all use a single shared expat library (DSO).

How does that sound? I'm not too hot on the technical issues (I'm a Perl
guy, not a C programmer), so don't ask too many questions of me (although
I can probably point you to technical discussions on the 'net about the
problem). But this is a real and valid problem, that I'd love to see
sorted out in a community way. And I'm assuming that James Clark would
like to see his child go off into the big wide world now, a-la XT. If I'm
wrong on that, James, I appologise, but the problem needs sorting somehow.

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.