OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] SAX for Binary Encodings (SAD-SAX)

[ Lists Home | Date Index | Thread Index ]

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@metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS