blob: a52861778e638fcc3aef1cfdf39ba580f4df0b31 [file] [log] [blame]
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<title>Proposal for BeanUtils Package</title>
<body bgcolor="#FFFFFF">
Proposal for <i>JXPath</i> Package</h1></center>
(0) Rationale</h3>
In heterogenous techologies like Struts, XML documents are combined with
object graphs consisting of JavaBeans, collections, arrays, maps and primitive
values. In such systems there is a need for a consistent way of referencing
both parts of XML documents and elements of object graphs.&nbsp; XPath
is a powerful language introduced by W3C (<a href="">XML
Path Language</a>) as a common format for addressing elements of XML documents.&nbsp;
The proposed <i>JXPath </i>component provides a mechanism for applying the
same XPath language to generic object graphs.
(1) Scope of the Package</h3>
This proposal is to create a package of Java utility methods for accessing
and modifying the elements of arbitrary graphs consisting of JavaBeans,
collections, arrays, maps and primitive values using the XPath syntax.
This package will (at least initially) depend on an external implementation
of an XPath expression processor.
<p>This package augments BeanUtils, which provides a lighter-weight reference
(1.5) Interaction With Other Packages</h3>
JXPath relies on
Java Development Kit (Version 1.2 or later)</li>
A JAXP 1.1 implementation</li>
An XPath interpreter implementation. Initially the package will only support
the interpreter provided by the Apache Xalan project, but will have an
extensibility mechanism that will allow adding alternative XPath processors
No external configuration files are utilized.
(2) Initial Source of the Package</h3>
The original source of the component was donated by PLOTNIX, Inc (<a href=""></a>).
<p>The proposed package names for the new component are
<tt>org.apache.commons.jxpath</tt> for the main API package</li>
<tt>org.apache.commons.jxpath.tree </tt>for a light-weight DOM-JavaBeans
API adapter</li>
<tt>org.apache.commons.jxpath.xalan </tt>for a Xalan XPath interpreter adapter</li>
(3) Required Jakarta-Commons Resources</h3>
CVS Repository - New directory jxpath in the <tt>jakarta-commons</tt> CVS
repository. There is a requirement to setup an additional committer: Dmitri
Mailing List - Discussions will take place on the general <i></i>
mailing list. To help list subscribers identify messages of interest, it
is suggested that the message subject of messages about this component
be prefixed with [JXPath].</li>
Bugzilla - New component "JXPath" under the "Commons" product category,
with appropriate version identifiers as needed.</li>
Jyve FAQ - New category "commons-jxpath" (when available).</li>
(4) Initial Committers</h3>
The initial committers on the JXPath component shall be Dmitri Plotnikov and Craig McClanahan.