[
Lists Home |
Date Index |
Thread Index
]
- To: Michael Kay <mike@saxonica.com>
- Subject: Re: [xml-dev] Principles of XML design
- From: Peter Hunsberger <peter.hunsberger@gmail.com>
- Date: Mon, 9 May 2005 10:04:52 -0500
- Cc: Chris Burdess <dog@bluezoo.org>, XML List Developers <xml-dev@lists.xml.org>
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MHybNSclZM7WDhL4MSoAHp9Ka+BFTrZ7d8MmRVaY0H1LlEbkGzY2IZL5ATZ/rWBZiX7YJF/vQmPIbAHF6Muw/8ffbW7dwEY4sIu/U5a8dK/c3+OqXBU2ei/IiHzUZEbHdAEpi5LSBl6GpQMTdmfVdsG5h2sfwmXrA39bDvGoZuo=
- In-reply-to: <427bf68c.52ce517e.6cb7.4d8eSMTPIN_ADDED@mx.gmail.com>
- References: <cc159a4a05050615115ec7af77@mail.gmail.com> <427bf68c.52ce517e.6cb7.4d8eSMTPIN_ADDED@mx.gmail.com>
- Reply-to: Peter Hunsberger <peter.hunsberger@gmail.com>
On 5/6/05, Michael Kay <mike@saxonica.com> wrote:
> > > > Just out of interest: when are "users" going to be
> > switching between
> > > > parsers for a given application?
> > >
> > > Anyone moving their application from JDK 1.4 to JDK 1.5 is
> > switching between
> > > parsers, unless they go out of their way not to.
> >
> > Given the parser that ships with 1.4 I'd hope anyone who really cares
> > has gone out of their way to ensure that doesn't happen....
>
> But 98% of users don't care and don't need to - that's the whole point.
> There are vast numbers of people who don't know what XML parser they are
> using, and that's exactly the way it should be.
Perhaps so, my point was, that as a _developer_ it would be
irresponsible to rely on having the default parser work the way you
expect. For example, Xalan as it originally shipped with 1.4 had
bugs with name space support that we ran into. For any reasonably
complex XML app. it seems to me that you need to control what parser
you're using (to say nothing about the major release of the JDK).
Given the complexity of the specs. it seems to me that having every
parser agree with each other 100% on how everything is supposed to be
implemented is never going to happen. As a result, as a developer you
likely need to know what parser you're using...
--
Peter Hunsberger
|