[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: What should TrAX look like? (Was: Re: Articleon

  • To: Michael Kay <mike@s...>
  • Subject: Re: What should TrAX look like? (Was: Re: Articleon JAXP 1.3 "Fast and Easy XML Processing")
  • From: Elliotte Harold <elharo@m...>
  • Date: Thu, 17 Feb 2005 13:30:41 -0500
  • Cc: 'XML Developers List' <xml-dev@l...>
  • In-reply-to: <E1D1lMG-0002Gf-00@u...>
  • References: <E1D1lMG-0002Gf-00@u...>
  • User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041217

Re:  What should TrAX look like? (Was: Re:  Articleon
Michael Kay wrote:

> Only, I think, by forcing the "arbitrary model" to implement some kind of
> standard interface like SAX or DOM - and that would defeat the whole
> purpose, even if it were an improved SAX or an improved DOM.


I think such a design could be quite a bit simpler than DOM since it could:

1. Be read-only
2. Only support what's necessary for the XPath data model

This would be a lot easier for other object models than implementing 
full DOM. Whole classes would be cut out: DocType, CDATASection, Entity, 
EntityReference, etc.; and we could probably eliminate more than half of 
the methods in the classes that remained. Not only would all the mutator 
methods disappear. We could get rid of all the non-namespace aware 
methods. Finally, since this would be intended for machine use rather 
than for direct programming, we could eliminate a lot of convenience 
methods as well.

-- 
Elliotte Rusty Harold  elharo@m...
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
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.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.