[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re: SAX is not a read-only API (wa RE: re: XML SI
At 9:59 PM -0600 9/12/02, Aaron Skonnard wrote: >Nothing stops an XMLReader implementation from pulling information from >a database and making it look like an XML Infoset to the consumer. > Have you actually tried to do this? I have. See http://www.cafeconleche.org/books/xmljava/chapters/ch08s05.html. It can be done, but because this was not the original goal of XMLReader, the interface just doesn't fit. It's an exercise in pounding a square peg into a round hole. It's extremely ugly, and clear evidence that SAX was not intended to be used in this manner. -- +-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@m... | Writer/Programmer | +-----------------------+------------------------+-------------------+ | XML in a Nutshell, 2nd Edition (O'Reilly, 2002) | | http://www.cafeconleche.org/books/xian2/ | | http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.cafeconleche.org/ | +----------------------------------+---------------------------------+
|
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
|