Ed wrote: > Even if you knew in advance how many CDATA delimiters your data > contained, this wouldn't work because the data itself contains markup > (]]>) that wouldn't be passed along to the application. That is, what > you're indicating as "data]" has an imbedded "]]>"). Sorry, I don't get it. With the encoding I described, the parser passes a number of CDATA sections to the application. In the simple case (one embedded ]]>), the application gets one section ending with "]", and another starting with "]>". With Bill's alternate encoding, it gets three sections (CDATA followed by character data followed by CDATA). > However, MIME allows for encodings of binary formats where you couldn't > be predict where such markup (]]>) would appear. There's no need to predict anything -- just put CDATA delimiters around the whole thing, and encode embedded ]]>'s when you see them... What am I missing? </F>Received on Monday, 2 October 2000 06:05:07 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:57 GMT