[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: Marcus Carr <mrc@a...>
  • To: 'xml-dev Mailing List' <xml-dev@i...>
  • Date: Fri, 06 Feb 1998 08:23:38 +1100

Re: Foreign object inclusion WAS: Namespaces
David Megginson wrote:

> You are quite right that this is legal XML or SGML -- that's one valid use of
> NOTATION attributes. Here's this paragraph UUENCODED:
> <object notation="uuencoded">
> begin 644 para
> M66]U(&%R92!Q=6ET92!R:6=H="!T:&%T('1H:7,@:7,@;&5G86P@6$U,(&]R
> M(%-'34P@+2T@=&AA="=S(&]N92!V86QI9`IU<V4@;V8@3D]4051)3TX@871T
> J<FEB=71E<RX@2&5R92=S('1H:7,@<&%R86=R87!H(%5514Y#3T1%1#H*
> `
> end
> </object>

The real problem with included fragments (as I see it) is the fact that you need
to understand the impact of the embedded fragment on structure. An SGML parser
would try to fire the elements <V4>, <FEB> and <RX> and expand the entity &AA in
the above. Even if the element were declared as CDATA, the sequence "</ " [any
name character] would delimit the <object> element.

> In other words, inlining uuencoded objects is a kludge...

Unless you plan to write an application to confirm that your embedded fragments
aren't detrimental to your structure, I would advise against this. Even if the
fragment wasn't detrimental to your structure, it may be to someone who wants to
reuse a chunk of your data, adding a dangerous level of uncertainty to your


Marcus Carr                  email:  mrc@a...
Allette Systems (Australia)  email:  info@a...
Level 10, 91 York Street     www:    http://www.allette.com.au
Sydney 2000 NSW Australia    phone:  +61 2 9262 4777
                             fax:    +61 2 9262 4774

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...)


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.
First Name
Last Name
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.