Permalink
Browse files

Bringing the repository in line with what I had on my hard drive.

-jh-
  • Loading branch information...
1 parent a129b70 commit 1bdec253288e5673c5f91e5cce9858d3b12d68e6 jhunter committed Jan 23, 2003
Showing with 171 additions and 16 deletions.
  1. +7 −7 core/LICENSE.txt
  2. +23 −7 core/TODO.txt
  3. +137 −0 core/package/jdk-package-list.txt
  4. +4 −2 core/samples/SAXBuilderDemo.java
View
@@ -1,8 +1,8 @@
/*--
- $Id: LICENSE.txt,v 1.8 2002/01/19 10:15:17 jhunter Exp $
+ $Id: LICENSE.txt,v 1.9 2003/01/23 02:54:40 jhunter Exp $
- Copyright (C) 2000-2002 Brett McLaughlin & Jason Hunter.
+ Copyright (C) 2000-2002 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -19,11 +19,11 @@
3. The name "JDOM" must not be used to endorse or promote products
derived from this software without prior written permission. For
- written permission, please contact license@jdom.org.
+ written permission, please contact <license AT jdom DOT org>.
4. Products derived from this software may not be called "JDOM", nor
may "JDOM" appear in their name, without prior written permission
- from the JDOM Project Management (pm@jdom.org).
+ from the JDOM Project Management <pm AT jdom DOT org>.
In addition, we request (but do not require) that you include in the
end-user documentation provided with the redistribution and/or in the
@@ -48,9 +48,9 @@
This software consists of voluntary contributions made by many
individuals on behalf of the JDOM Project and was originally
- created by Brett McLaughlin <brett@jdom.org> and
- Jason Hunter <jhunter@jdom.org>. For more information on the
- JDOM Project, please see <http://www.jdom.org/>.
+ created by Jason Hunter <jhunter AT jdom DOT org> and
+ Brett McLaughlin <brett AT jdom DOT org>. For more information on
+ the JDOM Project, please see <http://www.jdom.org/>.
*/
View
@@ -2,6 +2,27 @@ Items that need to be done:
--- API CHANGES FOR 1.0 ---
+* Remove canAdd() and canRemove() from Filter.
+
+* Add DocType to the content list returned by Document so it can have a
+ location. Fix the outputters and builders to respect it. Keep the easy get
+ method however.
+
+* Look at interfaces for the core classes, Element with ConcreteElement being
+ our code. Base on the factory model. Allow no access between objects
+ except using the public API, to avoid the import node problem. Do the big
+ switchover using javax.xml.jdom as interfaces and default impl, use org.jdom
+ for the concretes. May not need to break existing code (sick and wrong).
+ - read-only?
+
+* Strategy pattern for XMLOutputter and others.
+ If need for override, make others final and leave the protected.
+
+* Make transforming easier, with a one-line method.
+
+* Should there be ValidityException and MalformedException subclasses of
+ JDOMException? Elharo has a proposal.
+
* Should CDATA be a flag on Text or a subclass of Text?
* Finalize the XPath class interface.
@@ -30,11 +51,6 @@ Items that need to be done:
be ignored.
(Laurent Bihanic wrote JH a private email about this on Dec 28 2001.)
-* Make sure that JDOMException is compatible with JDK 1.4 nested exceptions.
- E.g. should getNestedException find 1.4-type nested exceptions? Do both
- 1.4-type nested exceptions and JDOMException both try to print child
- stack traces, causing them to be printed twice?
-
* Figure out if there's a role for a Node interface. It sounds easy but all
attempts so far have hit obstacles. Amy Lewis talks about it here:
http://lists.denveronline.net/lists/jdom-interest/2000-December/004016.html
@@ -119,7 +135,7 @@ Items that need to be done:
and let the caller pass the exception through
* Populate jdom-test. Jools is leading this but Phil Nelson is currently
- doing a lot of work. Hong Zhang <Hong.Zhang@Sun.COM> is helping with the
+ doing a lot of work. Hong Zhang <Hong.Zhang AT Sun.COM> is helping with the
J2EE CTS.
* Ensure JDOM is appropriately tweaked for subclassing, per the threads
@@ -210,7 +226,7 @@ Items that need to be done:
* Add a search for jdom.org using Google with site:www.jdom.org, imitating
http://www.zope.org/SiteIndex/searchForm
-* Fix it so check-in messages include diffs. (jools@jools.org)
+* Fix it so check-in messages include diffs. (jools AT jools.org)
* Add ElementLocator to contrib/ directory (from Alfred Lopez)
@@ -0,0 +1,137 @@
+java.applet
+java.awt
+java.awt.color
+java.awt.datatransfer
+java.awt.dnd
+java.awt.event
+java.awt.font
+java.awt.geom
+java.awt.im
+java.awt.im.spi
+java.awt.image
+java.awt.image.renderable
+java.awt.print
+java.beans
+java.beans.beancontext
+java.io
+java.lang
+java.lang.ref
+java.lang.reflect
+java.math
+java.net
+java.nio
+java.nio.channels
+java.nio.channels.spi
+java.nio.charset
+java.nio.charset.spi
+java.rmi
+java.rmi.activation
+java.rmi.dgc
+java.rmi.registry
+java.rmi.server
+java.security
+java.security.acl
+java.security.cert
+java.security.interfaces
+java.security.spec
+java.sql
+java.text
+java.util
+java.util.jar
+java.util.logging
+java.util.prefs
+java.util.regex
+java.util.zip
+javax.accessibility
+javax.crypto
+javax.crypto.interfaces
+javax.crypto.spec
+javax.imageio
+javax.imageio.event
+javax.imageio.metadata
+javax.imageio.plugins.jpeg
+javax.imageio.spi
+javax.imageio.stream
+javax.naming
+javax.naming.directory
+javax.naming.event
+javax.naming.ldap
+javax.naming.spi
+javax.net
+javax.net.ssl
+javax.print
+javax.print.attribute
+javax.print.attribute.standard
+javax.print.event
+javax.rmi
+javax.rmi.CORBA
+javax.security.auth
+javax.security.auth.callback
+javax.security.auth.kerberos
+javax.security.auth.login
+javax.security.auth.spi
+javax.security.auth.x500
+javax.security.cert
+javax.sound.midi
+javax.sound.midi.spi
+javax.sound.sampled
+javax.sound.sampled.spi
+javax.sql
+javax.swing
+javax.swing.border
+javax.swing.colorchooser
+javax.swing.event
+javax.swing.filechooser
+javax.swing.plaf
+javax.swing.plaf.basic
+javax.swing.plaf.metal
+javax.swing.plaf.multi
+javax.swing.table
+javax.swing.text
+javax.swing.text.html
+javax.swing.text.html.parser
+javax.swing.text.rtf
+javax.swing.tree
+javax.swing.undo
+javax.transaction
+javax.transaction.xa
+javax.xml.parsers
+javax.xml.transform
+javax.xml.transform.dom
+javax.xml.transform.sax
+javax.xml.transform.stream
+org.ietf.jgss
+org.omg.CORBA
+org.omg.CORBA_2_3
+org.omg.CORBA_2_3.portable
+org.omg.CORBA.DynAnyPackage
+org.omg.CORBA.ORBPackage
+org.omg.CORBA.portable
+org.omg.CORBA.TypeCodePackage
+org.omg.CosNaming
+org.omg.CosNaming.NamingContextExtPackage
+org.omg.CosNaming.NamingContextPackage
+org.omg.Dynamic
+org.omg.DynamicAny
+org.omg.DynamicAny.DynAnyFactoryPackage
+org.omg.DynamicAny.DynAnyPackage
+org.omg.IOP
+org.omg.IOP.CodecFactoryPackage
+org.omg.IOP.CodecPackage
+org.omg.Messaging
+org.omg.PortableInterceptor
+org.omg.PortableInterceptor.ORBInitInfoPackage
+org.omg.PortableServer
+org.omg.PortableServer.CurrentPackage
+org.omg.PortableServer.POAManagerPackage
+org.omg.PortableServer.POAPackage
+org.omg.PortableServer.portable
+org.omg.PortableServer.ServantLocatorPackage
+org.omg.SendingContext
+org.omg.stub.java.rmi
+org.w3c.dom
+org.xml.sax
+org.xml.sax.ext
+org.xml.sax.helpers
+
+
@@ -91,7 +91,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
public static void main(String[] args) {
if ((args.length < 1) || (args.length > 3)) {
System.out.println(
- "Usage: java samples.SAXBuilderTest " +
+ "Usage: java samples.SAXBuilderDemo " +
"[XML document filename] ([expandEntities] [SAX Driver Class])");
return;
}
@@ -123,7 +123,9 @@ public static void main(String[] args) {
Document doc = builder.build(filename);
XMLOutputter outputter = new XMLOutputter();
- //outputter.setTextTrim(true);
+ outputter.setTextTrim(true);
+ outputter.setIndent(" ");
+ outputter.setNewlines(true);
//outputter.setExpandEmptyElements(true);
outputter.output(doc, System.out);
} catch (JDOMException e) {

0 comments on commit 1bdec25

Please sign in to comment.