Dear All,
I'm currently finalizing the release 1.0.1 RM XML schema. I wonder if
anyone has any alternative suggestions on how to represent binary data
(attributes "data" and "integrity_check") in DV_MULTIMEDIA? The current
schema uses type of "xs:base64Binary".
Thank you in advance!
Best regards,
Chunlan
(attributes "data" and "integrity_check") in DV_MULTIMEDIA? The current
schema uses type of "xs:base64Binary".
I'd leave it as base64Binary. It may be bloated, but it's the standard
way and therefore that's where everyone is doing optimization work
(i.e. MTOM and FastInfoset). So leave it as base64 and pretty soon
it will be transparently optimized to raw binary within the web services
infrastructure without the programmers needing to worry about it.
Andrew
Chunlan,
There is also 'hexBinary' but I don't see an advantage in using it.
Have you seen these documents?
http://www.w3.org/TR/xml-media-types/#usage
Cheers,
Tim
Andrew Patterson wrote:
(attributes "data" and "integrity_check") in DV_MULTIMEDIA? The current
schema uses type of "xs:base64Binary".
I'd leave it as base64Binary. It may be bloated, but it's the standard
way and therefore that's where everyone is doing optimization work
(i.e. MTOM and FastInfoset). So leave it as base64 and pretty soon
it will be transparently optimized to raw binary within the web services
infrastructure without the programmers needing to worry about it.
Thanks Andrew. That’s good point.
Chunlan
Hi Tim,
Tim Cook wrote:
Chunlan,
There is also 'hexBinary' but I don't see an advantage in using it.
Have you seen these documents?
[http://www.w3.org/TR/xml-media-types/#usage](http://www.w3.org/TR/xml-media-types/#usage)
Yes, I’ve seen them. Thank you very much.
Chunlan