Hi Florent,
thanks for your quick feedback. I’m simply quoting my EXPath feedback below: __________________________________________
I had yet another look at the HTTP Spec, and I was wondering how binary data is to be treated. The paragraph on content serialization (3.2.) says:
“This spec defines in addition the method 'binary'; in this case the body content must be either an xs:hexBinary or an xs:base64Binary item, and no other serialization parameter can be set besides media-type.“
As the body content results from an XML fragment, how can it be hex or base64? My assumption is that resources linked via the @src attribute are to be treated as either base64 or hex? In that case, it could make sense to extend Section 3.1. Here it says:
“The src attribute can be used in a request to set the body content as the content of the linked resource instead of using the children of the http:body element.”
…but it’s not sure what’s meant by setting the body content (what is e.g. expected to happen if the media type is text?) __________________________________________
Just ask if you need more details, Christian