[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: SAX and delayed entity loading
[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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|