Skip to Content.
Sympa Menu

xom-interest - RE: [XOM-interest] relevant to the discussion we were having the otherday

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: <Brendan.Johnston AT wellsfargo.com>
  • To: <passani AT eunet.no>, <xom-interest AT lists.ibiblio.org>
  • Cc:
  • Subject: RE: [XOM-interest] relevant to the discussion we were having the otherday
  • Date: Wed, 22 Sep 2004 16:02:23 -0500

The point is that Tim Bray is not dealing with *All of XML*.

He used:

"a prefilter to glue together tags that got split across multiple lines,
just so I could do the regexp trick."

on his:

"machine-generated XML"

Others subset XML too. I think one of the critisms of SOAP is that it
disallows some constructs so that it can embed an XML document in an envelope.

*All of XML* is so big that an XML library like XOM seems to need other XML
libraries for parsing.

Two solutions to the fact that *All of XML* is big are:

1. Only handle a subset of XML
2. Use a library, like XOM

Brendan

-----Original Message-----
From: xom-interest-bounces AT lists.ibiblio.org
[mailto:xom-interest-bounces AT lists.ibiblio.org]On Behalf Of
passani AT eunet.no
Sent: Wednesday, September 22, 2004 1:22 PM
To: xom-interest AT lists.ibiblio.org
Subject: [XOM-interest] relevant to the discussion we were having the
otherday



http://www.tbray.org/ongoing/When/200x/2003/03/16/XML-Prog

in particular notice the place where the guy does
(which is very close to what I was trying to do with
XOM):

while (<STDIN>) {
next if (X<meta>X);
if (X<h1>|<h2>|<h3>|<h4>X)
{ $divert = 'head'; }
elsif (X<img src="/^(.*\.jpg)$/i>X)
{ &proc_jpeg($1); }
# and so on...
}

Luca

_______________________________________________
XOM-interest mailing list
XOM-interest AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest



  • RE: [XOM-interest] relevant to the discussion we were having the otherday, Brendan.Johnston, 09/22/2004

Archive powered by MHonArc 2.6.24.

Top of Page