Re: Foreign object inclusion WAS: Namespaces, Architectural Forms, and S
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 documents. -- Regards 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...)
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