Using MIME types is in line with where SOAP 1.2 is headed, so I like that.
To do an XML DSIG you need to know if the input is XML or a bytestream,
which you can pretty much figure out from the MIME type (there are a bunch
of formats, but if you see the letters 'xml' you can make a safe guess :).
So I guess that's what my preference is now.
/r$
--
Rich Salz Chief Security Architect
DataPower Technology http://www.datapower.com
XS40 XML Security Gateway http://www.datapower.com/products/xs40.html
XML Security Overview http://www.datapower.com/xmldev/xmlsecurity.html