|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: SAX for Binary Encodings (SAD-SAX)
At 11:22 AM -0500 11/8/03, Bob Wyman wrote:
> public interface TypedContentHandler extends ContentHandler {
> public void values(java.lang.Object value)
> throws SAXException;
> }
This won't work. There are numerous problems including:
1. People want primitive data types often instead of objects.
2. It's type unsafe. OBject is not suitable replacement for
Date/Integer/int/etc.
3. What do you pass when the data doesn't match the schema?
--
Elliotte Rusty Harold
elharo@m...
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








