OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Serializing doc + entities

[ Lists Home | Date Index | Thread Index ]

I don't believe you've received a response on this yet:

I would suggest you start with the SOAP with Attachments specification
[1] and continue researching from there (what products implement it,
etc.).  Including the base64-encoded representations within an element
of an XML document is not the best approach for several reasons (some of
these assume that you will use SOAP enveloping):

(1) File size: Base64-encoded data takes one-third more space than the
data before the conversion

(2) Digital signatures: This technique (base64-encoded representations
within element) can present problems if binary files are digitally
signed

(3) Efficiency: Using base64 encoding to send binary data in a SOAP
message requires an encoding or decoding step at the end of the process

I would also recommend you track the DIME [2] and WS-Attachments [3]
specifications which are part of the Global XML Web Services
Architecture (GXA) by Microsoft, IBM, Verisign, and others.  They are
considered "improvements" on SOAP with Attachments, for reasons given in
the specifications.

Hope that helps,
Joe Chiusano
Booz | Allen | Hamilton

[1] http://www.w3.org/TR/SOAP-attachments
[2] http://www.ietf.org/internet-drafts/draft-nielsen-dime-02.txt
[3] http://www.ietf.org/internet-drafts/draft-nielsen-dime-soap-01.txt

Gregory Murphy wrote:
> 
> I would like to be able to transport an XML document that contains
> references to unparsed external entities. To this end I would like to
> serialize the document along with its entities.
> 
> It seems to me that the most natural way to accomplish this is to define a
> lexical wrapper for an XML document. The schema would include lexical
> information, such as the declarations for the unparsed entities. An obvious
> candidate for this is Appendix G of XSLT 2.0, "Representation of Lexical
> XML Constructs". The lexical declarations would be followed by elements of
> type base64Binary that contain the unparsed entities themselves, followed
> finally by the document root element. A receiving application could then
> pass the document to a SAX-conformant process, and make the external
> entities available via a special purpose entity manager.
> 
> Does anyone on this list know of any applications that perform this, from
> which I might learn or borrow?
> 
> // Gregory Murphy <Gregory.Murphy@sun.com>
> // Software Engineer
> // Customer Network Platform, Sun Microsystems
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
begin:vcard 
n:Chiusano;Joseph
tel;work:(703) 902-6923
x-mozilla-html:FALSE
url:www.bah.com
org:Booz | Allen | Hamilton;IT Digital Strategies Team
adr:;;8283 Greensboro Drive;McLean;VA;22012;
version:2.1
email;internet:chiusano_joseph@bah.com
title:Senior Consultant
fn:Joseph M. Chiusano
end:vcard




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS