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

Re: Principles of XML design


properties java
On 5/6/05, Chris Burdess <dog@b...> wrote:
> Peter Hunsberger wrote:
> > Just out of interest: when are "users" going to be switching between
> > parsers for a given application?  Even as a developer once I've picked
> > a particular parser for a particular application I've pretty well
> > committed to it for the lifetime of the app...
> 
> In Java, the standard means of retrieving a parser implementation (JAXP)
> is user-overrideable. The user can choose a different parser by
> specifying different system properties. They may decide to run your Java
> application on a different platform, one for which the default parser is
> different. They may do this to experiment with different configurations
> and performance and stability, or for instrumentation, or they may be
> completely unaware of it, the decision to use another implementation
> having been made by someone else (following an operating system upgrade,
> etc).
> 
> If you're used to developing in C with libxml2, this may sound arcane.
> But even within such a static codebase, software changes: new project
> managers and system architects come and go, and refactor the "legacy"
> code according to their own experience and understanding of the domain,
> including the XML specification.

I develop with Java, I'm well aware of JAXP and its kin. They're nice
in theory, but for any moderate sized application, even with "100%
conforming" parsers (whatever that might mean), any developer who
leaves it to chance as to what parser is picked at any given moment is
just asking for trouble; if you're not careful you might fall back to
the default Xalan parser (bugs and all ;-)

-- 
Peter Hunsberger

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.