[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: A new approach for SAX-Java Binding
- From: Santhosh T <santhosh.tekuri@gmail.com>
- To: xml-dev@lists.xml.org
- Date: Mon, 25 Jan 2010 15:27:01 +0530

> The problem with Santhosh's project is that it still > revolves around the idea of building an in-memory representation.
the intendation is to create domain object like Employee, Company are you referring these classes as "in-memory representation"
if not: I don't create any dom like struture internally. the `SaxContext` which i am referring in wiki, is not same as dom like structure.
during parsing, the jlibs implementation will create only that many instances of SAXContext
which is equalent to maximum element depth in given document.
for each element, a SAX-Context is not created. as soon as an element ends, it's SAXContext object is reused for the next sibling element.
- Santhosh
On Mon, Jan 25, 2010 at 3:24 PM, Boris Kolpackov <boris@codesynthesis.com> wrote:
Hi Michael,
Michael Kay < mike@saxonica.com> writes:
> > This idea might be new to Java..
>
> I can't see anything new about it. I can't see what it offers that all
> the other Java-XML data binding frameworks don't.
Most data binding tools convert XML data to an in-memory object model.
In other words, they are like statically-typed and named DOM. However,
this is not always desirable (streaming) or possible (large documents).
In such situations the "statically-typed and named SAX" approach is a
good alternative. The problem with Santhosh's project is that it still
revolves around the idea of building an in-memory representation.
> and once you're there, it's a very small step to XSLT...
Oh please, not this discussion again ;-).
Boris
--
Boris Kolpackov, Code Synthesis http://codesynthesis.com/%7Eboris/blog%0AOpen-source XML data binding for C++ http://codesynthesis.com/products/xsd
XML data binding for embedded systems http://codesynthesis.com/products/xsde
Command line interface to C++ compiler http://codesynthesis.com/projects/cli

[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|
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
RSS 2.0 |
 |
Atom 0.3 |
 |
|
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|