[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [no subject]
[MIME] or Message-ID [822] header is enclosed in angle brackets (<>). Since addr-spec in a Message-ID or Content-ID might contain characters not allowed within a URL; any such character (including "/", which is reserved within the "mid" scheme) must be hex-encoded using the %hh escape mechanism in [URL]. =20 A "cid" URL is converted to the corresponding Content-ID message header [MIME] by removing the "cid:" prefix, converting the % encoded character to their equivalent US-ASCII characters, and enclosing the remaining parts with an angle bracket pair, "<" and ">". For example, "cid:foo4%25foo1@bar.net" corresponds to =20 Content-ID: <foo4%25foo1@bar.net> =20 Reversing the process and converting URL special characters to their % encodings produces the original cid. =20 [I think there is a typo. I think it should read =20 Content-ID: foo4%foo1@bar.net =20 %25 =3D=3D "%"] =20 =20 =20 =20 -----Original Message----- From: Matthew MacKenzie [mailto:mattm@adobe.com]=20 Sent: Thursday, May 20, 2004 6:26 PM To: Dale Moberg Cc: ebxml-msg@lists.oasis-open.org; Pete Wenzel Subject: Re: [ebxml-msg] Discussion: payload reference for use in SOAP body. Survey of options before writing this up. =09 =09 hex-escaped-cid-value-minus-opening-and-closing-brackets ??=20 On May 20, 2004, at 8:44 PM, Dale Moberg wrote:=20 I am following up with the namespace qualification for the URI-reference fragment using an xpointer scheme-based approach,=20 =09 CID:hex-escaped-cid-value-minus-opening-and-closing-brackets#xmlns(s12=3D= h ttp://www.w3.org/2003/05/soap-envelope) xpointer(/s12:envelope/s12:body) [This is how the fragment indicates the namespace qualification for soap12. Note this doesn't mean that the prefix in the soap message has to be s12 but only that whatever prefix was actually used is associated with the URI given in the xmlns() pointer-part.]=20 This is from the http://www.w3.org/TR/xptr-xmlns/ which basically writes up the above piece of syntax for the xmlns() pointer-part.. The namespace value has to be escaped. The framework allows an optional whitespace string between the items in the fragment's pointer-parts.=20 =09 ___________________________=20 Matthew MacKenzie=20 Senior Architect=20 IDBU Server Solutions=20 Adobe Systems Canada Inc.=20 http://www.adobe.com/products/server/=20 mattm@adobe.com=20 +1 (506) 871.5409=20 ------_=_NextPart_001_01C43EEC.9B5569BE Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Message</TITLE> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD> <BODY> <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN = class=3D771252204-21052004>From=20 RFC 2392</SPAN></FONT></DIV> <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20 class=3D771252204-21052004></SPAN></FONT> </DIV> <DIV><FONT face=3DArial color=3D#0000ff><SPAN = class=3D771252204-21052004> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New"><FONT size=3D2><SPAN=20 style=3D"mso-spacerun: yes"> </SPAN>Notes: In = Internet=20 mail messages, the addr-spec in a Content-ID<?xml:namespace prefix =3D o = ns =3D=20 "urn:schemas-microsoft-com:office:office" = /><o:p></o:p></FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New"><FONT size=3D2><SPAN=20 style=3D"mso-spacerun: yes"> </SPAN>[MIME] or = Message-ID=20 [822] header is enclosed in angle = brackets<o:p></o:p></FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New"><FONT size=3D2><SPAN=20 style=3D"mso-spacerun: yes"> = </SPAN>(<>).<SPAN=20 style=3D"mso-spacerun: yes"> </SPAN>Since addr-spec in a = Message-ID or=20 Content-ID might contain<o:p></o:p></FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New"><FONT size=3D2><SPAN=20 style=3D"mso-spacerun: yes"> </SPAN>characters = not allowed=20 within a URL; any such character = (including<o:p></o:p></FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New"><FONT size=3D2><SPAN=20 style=3D"mso-spacerun: yes"> </SPAN>"/", which = is reserved=20 within the "mid" scheme) must be = hex-encoded<o:p></o:p></FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New"><FONT size=3D2><SPAN=20 style=3D"mso-spacerun: yes"> </SPAN>using the = %hh escape=20 mechanism in [URL].<o:p></o:p></FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><o:p><FONT = face=3D"Courier New"=20 color=3D#000000 size=3D2> </FONT></o:p></P><o:p> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New"><FONT size=3D2><SPAN style=3D"mso-spacerun: = yes"> =20 </SPAN>A "cid" URL is converted to the corresponding Content-ID=20 message<o:p></o:p></FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New"><FONT size=3D2><SPAN style=3D"mso-spacerun: = yes"> =20 </SPAN>header [MIME] by removing the "cid:" prefix, converting the %=20 encoded<o:p></o:p></FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New"><FONT size=3D2><SPAN style=3D"mso-spacerun: = yes"> =20 </SPAN>character to their equivalent US-ASCII characters, and enclosing=20 the<o:p></o:p></FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New"><FONT size=3D2><SPAN style=3D"mso-spacerun: = yes"> =20 </SPAN>remaining parts with an angle bracket pair, "<" and = ">".<SPAN=20 style=3D"mso-spacerun: yes"> = </SPAN>For<o:p></o:p></FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New"><FONT size=3D2><SPAN style=3D"mso-spacerun: = yes"> =20 </SPAN>example, "cid:foo4%25foo1@bar.net" corresponds=20 to<o:p></o:p></FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><o:p><FONT = face=3D"Courier New"=20 color=3D#000000 size=3D2> </FONT></o:p></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New"><FONT size=3D2><SPAN=20 style=3D"mso-spacerun: yes"> </SPAN><SPAN = lang=3DFR=20 style=3D"mso-ansi-language: FR">Content-ID:=20 <foo4%25foo1@bar.net><o:p></o:p></SPAN></FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN lang=3DFR=20 style=3D"mso-ansi-language: FR"><o:p><FONT face=3D"Courier New" = color=3D#000000=20 size=3D2> </FONT></o:p></SPAN></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New"><FONT size=3D2><SPAN lang=3DFR=20 style=3D"mso-ansi-language: FR"><SPAN style=3D"mso-spacerun: = yes"> =20 </SPAN></SPAN>Reversing the process and converting URL special = characters to=20 their<o:p></o:p></FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New"><FONT size=3D2><SPAN style=3D"mso-spacerun: = yes"> =20 </SPAN>% encodings produces the original cid.</FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = color=3D#000000><FONT=20 face=3D"Courier New" size=3D2></FONT></FONT> </P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = face=3D"Courier New"><FONT=20 color=3D#000000><FONT size=3D2><SPAN = class=3D771252204-21052004>[</SPAN>I<SPAN=20 class=3D771252204-21052004> think there is</SPAN><FONT><o:p><SPAN=20 class=3D771252204-21052004> a typo. I think it should=20 read</SPAN></o:p></FONT></FONT></FONT></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = face=3D"Courier New"=20 color=3D#000000 size=3D2><o:p><SPAN=20 class=3D771252204-21052004></SPAN></o:p></FONT> </P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = face=3D"Courier New"=20 color=3D#000000 size=3D2><o:p><SPAN class=3D771252204-21052004><SPAN=20 style=3D"mso-spacerun: yes"> </SPAN><SPAN = lang=3DFR=20 style=3D"mso-ansi-language: FR">Content-ID: <A=20 href=3D"mailto:foo4%foo1@bar.net">foo4%foo1@bar.net</A></SPAN></SPAN></o:= p></FONT></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = face=3D"Courier New"=20 color=3D#000000 size=3D2><o:p><SPAN class=3D771252204-21052004><SPAN = lang=3DFR=20 style=3D"mso-ansi-language: = FR"><o:p></o:p></SPAN></SPAN></o:p></FONT><FONT=20 face=3D"Courier New" color=3D#000000 size=3D2></FONT> </P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20 class=3D771252204-21052004><FONT face=3D"Courier New" color=3D#000000 = size=3D2>%25 =3D=3D=20 "%"]</FONT></SPAN></P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20 class=3D771252204-21052004><FONT face=3D"Courier New" color=3D#000000=20 size=3D2></FONT></SPAN> </P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><SPAN=20 class=3D771252204-21052004></SPAN> </P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT = face=3D"Courier New"=20 color=3D#000000 size=3D2></FONT> </P> <P class=3DMsoPlainText style=3D"MARGIN: 0in 0in 0pt"><FONT=20 size=3D2></FONT></o:p> </P></SPAN></FONT></DIV> <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"> <DIV></DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = align=3Dleft><FONT=20 face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> = Matthew=20 MacKenzie [mailto:mattm@adobe.com] <BR><B>Sent:</B> Thursday, May 20, = 2004=20 6:26 PM<BR><B>To:</B> Dale Moberg<BR><B>Cc:</B>=20 ebxml-msg@lists.oasis-open.org; Pete Wenzel<BR><B>Subject:</B> Re: = [ebxml-msg]=20 Discussion: payload reference for use in SOAP body. Survey of options = before=20 writing this up.<BR><BR></FONT></DIV><!-- Converted from text/enriched = format --> <BLOCKQUOTE> <DIV>hex-escaped-cid-value-minus-opening-and-closing-brackets=20 </DIV></BLOCKQUOTE><BR> <DIV>?? </DIV><BR><BR> <DIV>On May 20, 2004, at 8:44 PM, Dale Moberg wrote: </DIV><BR> <BLOCKQUOTE><BR><BR> <DIV><FONT face=3DArial><FONT color=3D#0000ff><SMALL>I am following = up with the=20 namespace qualification for the URI-reference fragment=20 using </SMALL></FONT></FONT><FONT face=3D"Times New Roman">an = xpointer=20 </FONT>scheme-based approach, </DIV><BR><BR> = <DIV>CID:hex-escaped-cid-value-minus-opening-and-closing-brackets#xmlns(s= 12=3D<FONT=20 color=3D#0000ee>http://www.w3.org/2003/05/soap-envelope)=20 xpointer(/s12:envelope/s12:body</FONT>) </DIV><BR> <DIV>[This is how the fragment indicates the namespace qualification = for=20 soap12. Note this doesn't mean that the prefix in the soap message = has to be=20 s12 but only that whatever prefix was actually used = is=20 associated with the URI given in the xmlns() pointer-part.] = </DIV><BR> <DIV><FONT face=3DArial><FONT color=3D#0000ff><SMALL>This is from = the=20 http://www.w3.org/TR/xptr-xmlns/ which basically writes=20 up the above piece of syntax for the xmlns() pointer-part.. The = namespace value has to be escaped. The = framework allows an=20 optional whitespace string between the items in=20 the fragment's pointer-parts.</SMALL></FONT></FONT> </DIV><BR> <DIV> </DIV><BR> <DIV><FONT face=3DArial><FONT = color=3D#0000ff><SMALL></SMALL></FONT></FONT>=20 </DIV><BR></BLOCKQUOTE> <DIV><FONT = color=3D#ff100d><BIG>___________________________</BIG></FONT><BIG>=20 </DIV> <DIV>Matthew MacKenzie </DIV> <DIV></BIG><FONT color=3D#ff0f09><SMALL>Senior Architect </DIV> <DIV>IDBU Server Solutions </DIV> <DIV>Adobe Systems Canada Inc. </DIV> <DIV>http://www.adobe.com/products/server/ </DIV> <DIV>mattm@adobe.com </DIV> <DIV>+1 (506) 871.5409</SMALL></FONT> = </DIV></BLOCKQUOTE></BODY></HTML> =00 ------_=_NextPart_001_01C43EEC.9B5569BE--
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]