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

RE: Next Round

  • From: Michael.Kay@i...
  • To: xml-dev@i...
  • Date: Tue, 26 Jan 1999 10:38:33 -0000

RE: Next Round
> I agree totally with you except for the fact that namespaces 
> automatically makes XML no longer dumb or necessarily low-level.  The main

> reason for this suggestion is that the alternative is for applications to
manage
> namespace processing themselves or else dump some filter on 
> top which may add major inefficiencies.  Before making any judgement on 
> this regarding MDSAX or SAXON, I would ask Michael Kay and Bill la Forge 
> what they think about a Name type and anyone else who has written some 
> higher-level API's for XML (this includes DOM implementors). 

I'd like to see a structure that is layered and modular, in which Namespace
is an
optional module layered above the basic SAX interfaces in the same way that
the Namespace
standard is an optional layer above XML 1.0. I think MDSAX is heading in
this direction.

I'm not sure about a Name type. I think I'd prefer to see a filter in which
the prefixes chosen by the document author are substituted by prefixes
chosen by the application writer, but which otherwise delivers the standard
SAX interface. Plus perhaps a helper class to parse the names.

(But we also need to think about diagnostics: the application may need
access to the original element name as written for use in error messages)

We should allow a parser to deliver the "namespace filtered events" in any
way it finds most efficient: the layering of a filter on top of a basic
parser is one way of providing the service, but not the only way. This
reminds me of a requirement omitted from David's list: the need for
interrogatives to determine the level of service offered by the parser, or
to request a particular level of service (e.g. validation, namespace
resolution, etc). 

Mike Kay

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.