dev@fi.java.net

Samples need updating

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 28 Feb 2005 10:48:48 +0100

Hi Joe,

Can you update the samples:

- We need to be clearer on the naming of classes, please rename classes
to be clearer on their function.

- We can have a dom package for use of the DOMDocumentSerializer and
DOMDocumentParser.

- We need SAX and DOM parsing examples.

- The DOM example and the use of a transform does not represent FI best
practices because the use of the transformer is slow. My preference
would be to remove this from the sax package and then add a new package
called 'transform' where samples using transforming to and from various
sources can be used and where we can state advantages/disadvantages.

- The DOM serializing example is broken since the BuilderFactory does
not turn on namespaces. Once this is done you will find that it does not
work. Alan, has found an issue with using DOMSource or SAXSource to
SAXResult when namespaces are present.

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109