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

RE: Foreign object inclusion WAS: Namespaces, Architectural Forms, and S

  • From: Gavin McKenzie <gmckenzi@J...>
  • To: 'David Megginson' <ak117@f...>, 'xml-dev Mailing List' <xml-dev@i...>
  • Date: Thu, 5 Feb 1998 09:49:46 -0500

RE: Foreign object inclusion WAS: Namespaces

David Megginson wrote:
> Gavin McKenzie wrote:
> > 
> > I thought this would be a given.  Sure using XLL or simple url
> > hrefs are great, but many times the requirement is for a single
> > file with all resources literally included.
> 
> I don't see that there is any long-term advantage to that -- in the
> short-term, it will work around some temporary short-comings in specs
> and implementations...[snip]...
> 
> In other words, inlining uuencoded objects is a kludge:
> ...[snip]...
> ...recognise that you are creating maintenance headaches for yourself
> later on (as I have for myself by forcing AElfred into a single Java
> class file), and **PLEASE** do not codify kludges in standards.

This is *NOT* a kludge.  Take archiving applications for instance.
Ideally you want a single file that literally includes all of the
resources that were part of the original document.  No external
linkages.

If you go the MHTML route, which is really just extended MIME, it does a
pretty good theoretical job of this.  The resources are all contained in
one file, and the interlinks between the resources are fixed up so that
they can refer to each other.  Any interlinks that aren't resolved
inside the file can redirect out to the net.  In fact these interlinks
can't really be resolved by the MIME processor, because it is possible
that a linkage may occur inside a script embedded in a resource that the
MIME processor knows nothing about.

If everything were in-situ XML, then it is already one file, easier to
archive, and I can come up with conventions for interlinks easily.

So....methinks this is not a kludge, rather a necessary, legitimate, and
sometimes desirable thing to do.

Gavin.

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.