Re: SAX: New Idea for Entity Resolution
David Megginson wrote: > Here's a different idea for SAXEntityResolver, that would add the > ability for an application to return a character stream for _any_ URI > (rather than just the document root): Yes! Yes! Yes! And, in addition to the benefits you identify, this approach provides (of special interest in our niche): -- separation of notification that a document is available from the delivery and parsing of that document: Notice might consist of a very small SMTP message sent to dozens of interested parties. Each would apply its own criteria to determine the priority of the document and to schedule a suitable 'pickup'. Rather than be forced to have appropriate processes always available to deal with whatever documents might become available (perhaps from across a dozen time zones) at inconvenient times, the recipient may schedule processing of various document types to its own convenience and to suit the nature of its own business. And, of course, the routing to acquire the document might follow a very different (more secure, perhaps, or of greater bandwidth) path than the original notice. -- clear separation of document acquisition from document parsing and subsequent processing. (This is actually a *feature* of the inability to build SAXEntityResolver on top of existing Java-based SAX parsers.) Among other possibilities, this allows conclusions about the nature of a document to be based on when, where, and under what circumstances it becomes available Those conclusions might dictate how that document most prudently should be processed. Clearly, I am looking at the underlying XML primarily as a 'wire protocol' and the document as a message, but it is not necessary to share these preconceptions in order to appreciate the functional integrity of the proposal. Thank you. 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