![]() ![]()
Use of JCP site is subject to the
JCP Terms of Use and the
Oracle Privacy Policy
![]() ![]() ![]() ![]() |
![]() |
JSRs: Java Specification Requests
JSR 102: JDOM 1.0
This JSR has been Withdrawn
Identification |
Request |
Contributions |
Additional Information
Submitting Member: Jason Hunter Name of Contact Person: Jason Hunter E-Mail Address: jsr102_AT_servlets.com Telephone Number: (650) 938-2824 Fax Number: (650) 938-2824 Specification Lead: Jason Hunter E-Mail Address: jsr102_AT_servlets.com Telephone Number: (650) 938-2824 Fax Number: (650) 938-2824 Initial Expert Group Membership: People and organizations who have agreed to join before the CAFE:
Section 2: Request
2.1 Please describe the proposed Specification:JDOM 1.0 will define an API for easy and efficient reading, manipulation, and writing of XML documents and XML data. JDOM is already a popular open source product in beta release at http://jdom.org, and with this JSR we hope to define its final 1.0 form. Among the goals for the JDOM JSR:
Nearly all these goals are satisfied in the latest JDOM snapshot. What remains to be done is clarifying how entities are to work, checking for overlooked requirements, polishing rough areas in the API, and getting additional industry buy-in. 2.2 What is the target Java platform? (i.e., desktop, server, personal, embedded, card, etc.)This facility is targeted for use by the Java 2 Standard Edition and Java 2 Enterprise Edition platforms. 2.3 What need of the Java community will be addressed by the proposed specification?This will create a model for interacting with XML data that is optimized for the Java environment. The "Quotes" page at http://jdom.org/docs/quotes.html shows how the beta releases has addressed the Java community's needs. 2.4 Why isn't this need met by existing specifications?The most similar existing specification is the DOM. Compared to the DOM, JDOM is easier to use, on many tasks requires less memory and performs faster, has more natural handling of namespaces, and at runtime fully ensures documents are well formed. JDOM can read and write DOM to support applications depending on DOM. Another similar specification is SAX. Compared to SAX, JDOM allows random access to XML data as well as manipulation and output of the XML data. JDOM can read and write SAX events to support applications depending on SAX. 2.5 Please give a short description of the underlying technology or technologies:XML is the meta language defined by the World Wide Web Consortium (W3C) that
can be used to describe a broad range of hierarchical mark up languages. It
is a set of rules, guidelines, and conventions for describing XML Namespaces define the syntax and semantics for XML structures required
to be distinct from other XML markup. In particular it defines a mechanism whereby
a set of XML markup may have a distinguishing The Simple API for XML (SAX) is a public domain API developed cooperatively by the members of the XML-DEV mailing list. It provides an event-driven (sometimes referred to as a callback-style) interface to the process of parsing an XML document. It is anticipated that this specification will endorse version 2.0 of the API. The Document Object Model (DOM) describes facilities for a programmatic representation of a parsed XML document. The DOM specification defines these interfaces using Interface Definition Language (IDL) in a language independent fashion and also includes a Java Language Binding. It is anticipated that this specification will endorse Level 2 of the specification. The Java API for XML Parsing (JAXP) defines a set of implementation independent portable APIs to support XML processing. It is anticipated that this specification will endorse version 1.1 of the API. 2.6 Is there a proposed package name for the API Specification? (i.e., javapi.something, org.something, etc.)Currently the packages are defined in 2.7 Does the proposed specification have any dependencies on specific operating systems, CPUs, or I/O devices that you know of?No. 2.8 Are there any security issues that cannot be addressed by the current security model?No. 2.9 Are there any internationalization or localization issues?XML itself was designed from the ground up to address such issues. A requirement of the proposed specification is that it preserve the inherent internationalizability of XML and related technologies. 2.10 Are there any existing specifications that might be rendered obsolete, deprecated, or in need of revision as a result of this work?No. 2.11 Please describe the anticipated schedule for the development of this specification.Initiation: Februrary 2001 Further schedule will depend on the review process. Section 3: Contributions
3.1 Please list any existing documents, specifications, or implementations that describe the technology. Please include links to the documents if they are publicly available.The JDOM website (http://jdom.org) contains a pre-release implementation, API Javadocs, a technical FAQ, as well as links to JavaWorld articles and conference slides describing the technology. 3.2 Explanation of how these items might be used as a starting point for the work.The existing JDOM library will be the starting point for this JSR. Section 4: Additional Information (Optional)
4.1 This section contains any additional information that the submitting Member wishes to include in the JSR.Although I'm the Apache Executive Committee representative, I submit this JSR as an individual because JDOM is not an Apache project. In making this proposal I do have the support of my employer (CollabNet), as well as the co-creator of JDOM (Brett McLaughlin) and the 950 developers on the jdom-interest mailing list at jdom.org. |