I REALLY like that struts is based on javax.xml.parsers. This way, whatever
parser comes with my application server is what struts uses. One of the
reasons we went with struts is that it doesn't depend on a bunch of other
3rd party products, but can plug into ANY J2EE compliant app server.

As for SAX2, I don't think it's widely supported yet.

My 2 cents.

Richard

-----Original Message-----
From: Alan Yackel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 5:43 PM
To: [EMAIL PROTECTED]
Subject: Deprecated API

I tried asking this on struts-dev, but got no reply.  What I'm wondering is
why
is the Digester built on the deprecated HandlerBase instead of the SAX2
DefaultHandler?  Switching over to the newer SAX2 classes doesn't required
too much
work.  I did it with one other application.  It's mostly changing
AttributeList to
Attributes and changing the parameter list on a few methods.

Also I'm curious why Struts doesn't use the
org.apache.xerces.parser.SAXParser instead
of the one in javax.xml.parsers.  I would think that apache projects would
try leverage
work from other apache projects.  I'm in the middle of building a software
application
based on Struts for an internet consulting company.  I love the features and
flexibility
of Struts, but it's nice to keep current with technology.

Just asking,

Alan Yackel
Creatrixs Inc.

Reply via email to