[MTOS-dev] XML parsing
Timothy Appnel
tim at appnel.com
Mon Mar 10 19:33:43 PDT 2008
I just want to be clear (again) because I think this keeps getting
lost -- I am not suggesting pure perl is the way to go and anything
compiled (high-performance) is not. I am suggesting (actually highly
recommending) that there should be *an option* to use what fits your
situation and that MT implements a consistent strategy for
implementing XML-based services that supports that. I'm also pretty
sure implementing an XML::Any framework is not the thing to do either
-- its not like there is a shortage of things to do. <tim/>
On 3/10/08, David Jacobs <djacobs at apperceptive.com> wrote:
> In our experience Expat is hard and installing the rest of the XML::*
> is pretty easy. And I believe (but I may be wrong) that libxml2/Expat
> is a solution that will outperform pure perl. This is important becaue
> eventually our work will be more XML than HTML (if it's not alread).
>
> In short, I think that we should require more things if that means
> better performance. I may be totally wrong!
>
> David
>
>
>
> On 3/10/08, Timothy Appnel <tim at appnel.com> wrote:
> > On 3/7/08, Byrne Reese <byrne at sixapart.com> wrote:
> >
> > > I remember pushing hard for this as well especially because WordPress WXR
> > > files can become quite larger and a DOM parser requires you to parse the
> > > whole document in memory before you can even access its contents.
> >
> >
> > When you know you are definitely working with a smallish document then
> > the DOM is fine. Personally I think the DOM is too fine-grain and
> > verbose, but that is probably because I'm used to Perl and its
> > shorthands and regex goodness. (This is probably why I prefer XPath
> > and to a certain extent XML::Simple.)
> >
> > So where does this leave us in this discussion?
> >
> >
> > <tim/>
> >
> > --
> > Timothy Appnel
> > Appnel Solutions
> > http://appnel.com/
>
> > _______________________________________________
> >
> > MTOS-dev mailing list
> > MTOS-dev at sixapart.com
> > http://www.sixapart.com/mailman/listinfo/mtos-dev
> >
>
>
>
> --
> David Jacobs
> http://Apperceptive.com
> 917 450 0533
>
--
Timothy Appnel
Appnel Solutions
http://appnel.com/
More information about the MTOS-dev
mailing list