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

Re: SAX and delayed entity loading

  • From: Chris Maden <crism@o...>
  • To: xml-dev@i...
  • Date: Fri, 4 Dec 1998 16:47:15 -0500 (EST)

free saxophone notation
[W. Eliot Kimber]
> Let's try this code from my PHyLIS tool, which associates grove
> constructor objects (COM objects in this case, because I'm
> implementing on Windows), with the external IDs for the notations
> those grove constructors support.  A grove constructor is a software
> component that takes an entity (or another grove or subgrove) as
> input and constructs a grove from it.

I don't think anyone was arguing that it's not possible to associate
notations with processing.

Here's why MIME is better than notations for general use:

o Usable in and out of XML.
  MIME is meaningful to MIME processors; notations are meaningful to
  XML processors.  XML processors can easily be MIME processors; the
  reverse is not true, especially for legacy reasons.

o Hierarchical.
  MIME has built-in fallback behavior.  Notations do not.  You've
  shown that it's possible to implement fallback, but it's not
  inherent in the system.

o Interchangeable.
  MIME works now, and it works well.  Notations *could* work in
  interchange, but they don't now.  If you give someone a notation
  declaration, odds are good that their software won't immediately
  know what to do with things in that notation.

o Flexible.
  As Liam pointed out, data notation information properly belongs with
  an entity.  XML stores that information with the *reference* to the
  entity, a place where the information is not always know.

So, I would recommend that we standardize an FPI for MIME itself, and
use that as the notation declaration for any external entity.  The
processor can then determine the actual data content notation of the
entity just as it would for any other object (explicit MIME type, file
extension lookup) and take appropriate action.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

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.