[rfc-i] Imbedded XML in PDF/A3

"Martin J. Dürst" duerst at it.aoyama.ac.jp
Wed Oct 29 13:44:14 PDT 2014


On 2014/10/30 05:17, Joe Hildebrand (jhildebr) wrote:

> I'm working on doing this for HTML as well.  Since the XML might include
> comments (particularly while it's an I-D), and I want to embed this *in* a
> comment, I was thinking about base64-encoding.  I see the usefulness of
> the XML being more easily-discovered, however, so what about turning the
> XML comment markers from "<!--" to "<!- -"?

Yes.

> Most of the other hacks I've
> thought of would require <-escaping the XML, which would be worse than
> base64.

Not worse, because with < the text is still very readable, with 
base64, it's completely opaque. But something like <!- - (or maybe <!++ 
or <!+-?) is much better.

Regards,   Martin.


More information about the rfc-interest mailing list