Knowledge

XML-binary Optimized Packaging

Source 📝

78:
The binary parts of the original XML infoset are extracted out, leaving an "XOP Infoset" (which is essentially the original XML Infoset with the binary parts replaced by external references). The references in the XOP Infoset are represented using the "xop:Include" element. The XOP Infoset plus the
97:
can be used as a packaging mechanism. When used with MIME, the XOP Infoset is represented as XML in the root MIME part, and the binary chunks are represented in the other MIME parts. Those other MIME parts can be serialized as binary data, avoiding the need to base64 encode them if they were left
55:
Therefore, XOP can reduce the size of the serialization (since base64 encoding has approximately a 33% size overhead) and (depending on how it is implemented) might allow processing efficiencies. This size increase results in extra resources needed to transmit or store the data.
47:
XOP allows the binary data part of an XML Infoset to be serialized without going through the XML serializer. The XML serialization of an XML Infoset is text based, so any binary data will need to be encoded using
1181: 52:. Using XOP avoids this by extracting the binary data out of the XML Infoset so that the XML Infoset does not contain binary data and the binary data can be serialized differently. 82:
To reconstitute the XML Infoset, the XOP Package is deserialized into the XOP Infoset plus the extracted content, and then the extracted content is put back into the XML Infoset.
1187: 67:
The representation of the XOP packages introduces some overhead. These are negligible when the binary data is large, but could be significant if the binary data is small.
482: 492: 260: 114: 90:
XOP can be used with a number of different packaging mechanisms. A packaging mechanism defines how the XOP Infoset and the binary chunks are represented.
1039: 502: 1175: 773: 316: 823: 1061: 849: 487: 465: 906: 755: 576: 1018: 512: 896: 470: 79:
extracted content can be serialized into a representation called the "XOP Package". The XOP Package can be sent or stored.
865: 1211: 987: 870: 435: 309: 783: 961: 765: 445: 403: 356: 343: 325: 64:
XOP introduces another level of processing. Therefore, it introduces extra complexity and processing overheads.
517: 371: 901: 798: 793: 408: 386: 101:
XOP does not mandate the use of the MIME packaging mechanism, so other packaging mechanisms could be used.
911: 705: 302: 977: 507: 460: 398: 591: 430: 1136: 1128: 628: 455: 413: 24: 1152: 1144: 1067: 937: 522: 982: 1120: 1008: 1003: 564: 109:
The MIME packaging mechanism is the most widely used, since XOP is usually used to represent
638: 916: 803: 391: 36: 875: 833: 618: 381: 1205: 715: 643: 633: 559: 366: 20: 294: 750: 601: 1112: 1044: 1013: 571: 554: 351: 274: 32: 1097: 623: 581: 544: 475: 735: 673: 685: 653: 613: 549: 361: 1072: 828: 678: 440: 1102: 1023: 891: 813: 695: 648: 586: 539: 450: 49: 818: 788: 778: 740: 690: 668: 658: 596: 534: 529: 423: 808: 710: 497: 418: 110: 94: 298: 932: 745: 700: 608: 376: 288: 1168: 1111: 1086: 1054: 1032: 996: 970: 950: 925: 884: 858: 842: 764: 728: 342: 333: 200:"http://www.w3.org/2004/08/xop/include" 310: 263:(Message Transmission Optimization Mechanism) 8: 1090: 954: 339: 317: 303: 295: 206:"cid:http://example.org/me.png" 1176:International World Wide Web Conference 75:XOP operates on a single XML Infoset. 19:(XOP) is a mechanism defined for the 7: 850:Web Content Accessibility Guidelines 289:W3C's XML-binary Optimized Packaging 39:back into the XML Information Set. 93:The XOP specification defines how 14: 1073:Multimodal Interaction Activity 1033:Community & business groups 275:XML-Binary Optimized Packaging 122: 17:XML-binary Optimized Packaging 1: 871:Web Accessibility Initiative 1156:(browser/editor, 1996–2012) 1228: 232:Content-Transfer-Encoding: 105:Usage in SOAP Web services 1093: 962:World Wide Web Foundation 957: 866:Markup Validation Service 446:Linked Data Notifications 326:World Wide Web Consortium 251:// binary octets for png 214: 171: 123: 98:inside the XML Infoset. 277:(article from Dr Dobbs) 209:/></m:photo> 188:"image/png" 174:<soap:Envelope> 185:xmlmime:contentType= 25:XML Information Sets 1212:XML-based standards 1182:Steering Committee 1062:Device Description 1040:Web Advertising BG 291:W3C Recommendation 1199: 1198: 1164: 1163: 1082: 1081: 946: 945: 178:<soap:Body> 133:Multipart/Related 35:data, as well as 1219: 1188:First conference 1157: 1149: 1141: 1133: 1125: 1091: 955: 938:XHTML+MathML+SVG 357:Activity Streams 340: 319: 312: 305: 296: 247: 243: 239: 236: 233: 230: 227: 224: 221: 218: 210: 207: 204: 201: 198: 195: 192: 189: 186: 183: 179: 175: 166: 163: 160: 157: 154: 151: 148: 144: 141: 138: 134: 131: 127: 1227: 1226: 1222: 1221: 1220: 1218: 1217: 1216: 1202: 1201: 1200: 1195: 1160: 1155: 1147: 1139: 1131: 1123: 1107: 1078: 1050: 1028: 992: 966: 942: 921: 880: 854: 838: 804:SMIL Timesheets 760: 724: 629:Information Set 414:Geolocation API 344:Recommendations 335: 329: 323: 285: 280: 270: 257: 252: 250: 249: 245: 241: 237: 234: 231: 228: 225: 222: 219: 217:--MIME_boundary 216: 212: 211: 208: 205: 202: 199: 196: 194:<xop:Include 193: 190: 187: 184: 181: 177: 173: 169: 168: 164: 161: 158: 155: 152: 150:--MIME_boundary 149: 146: 142: 139: 136: 132: 129: 125: 107: 88: 73: 62: 45: 37:deserialization 31:) that contain 12: 11: 5: 1225: 1223: 1215: 1214: 1204: 1203: 1197: 1196: 1194: 1193: 1192: 1191: 1190:("WWW1", 1994) 1185: 1172: 1170: 1166: 1165: 1162: 1161: 1159: 1158: 1150: 1142: 1134: 1126: 1117: 1115: 1109: 1108: 1106: 1105: 1100: 1094: 1088: 1084: 1083: 1080: 1079: 1077: 1076: 1070: 1065: 1058: 1056: 1052: 1051: 1049: 1048: 1042: 1036: 1034: 1030: 1029: 1027: 1026: 1021: 1016: 1011: 1006: 1000: 998: 997:Working groups 994: 993: 991: 990: 985: 980: 974: 972: 971:Elected groups 968: 967: 965: 964: 958: 952: 948: 947: 944: 943: 941: 940: 935: 929: 927: 923: 922: 920: 919: 914: 909: 904: 899: 894: 888: 886: 882: 881: 879: 878: 876:Web Components 873: 868: 862: 860: 856: 855: 853: 852: 846: 844: 840: 839: 837: 836: 834:XMLHttpRequest 831: 826: 821: 816: 811: 806: 801: 796: 791: 786: 781: 776: 770: 768: 766:Working drafts 762: 761: 759: 758: 753: 748: 743: 738: 732: 730: 726: 725: 723: 722: 721: 720: 719: 718: 708: 703: 698: 693: 688: 683: 682: 681: 676: 666: 661: 656: 651: 646: 641: 636: 631: 626: 621: 616: 606: 605: 604: 594: 589: 584: 579: 574: 569: 568: 567: 557: 552: 547: 542: 537: 532: 527: 526: 525: 523:Filter Effects 515: 510: 505: 500: 495: 490: 485: 480: 479: 478: 468: 463: 458: 453: 448: 443: 438: 433: 428: 427: 426: 416: 411: 406: 401: 396: 395: 394: 389: 384: 374: 369: 364: 359: 354: 348: 346: 337: 331: 330: 324: 322: 321: 314: 307: 299: 293: 292: 284: 283:External links 281: 279: 278: 271: 269: 266: 265: 264: 256: 253: 215: 172: 124: 113:messages with 106: 103: 87: 84: 72: 69: 61: 58: 44: 41: 13: 10: 9: 6: 4: 3: 2: 1224: 1213: 1210: 1209: 1207: 1189: 1186: 1183: 1180: 1179: 1177: 1174: 1173: 1171: 1167: 1154: 1151: 1146: 1143: 1138: 1135: 1130: 1127: 1122: 1119: 1118: 1116: 1114: 1110: 1104: 1101: 1099: 1096: 1095: 1092: 1089: 1085: 1074: 1071: 1069: 1066: 1063: 1060: 1059: 1057: 1055:Closed groups 1053: 1046: 1043: 1041: 1038: 1037: 1035: 1031: 1025: 1022: 1020: 1017: 1015: 1012: 1010: 1007: 1005: 1002: 1001: 999: 995: 989: 986: 984: 981: 979: 976: 975: 973: 969: 963: 960: 959: 956: 953: 951:Organizations 949: 939: 936: 934: 931: 930: 928: 924: 918: 915: 913: 910: 908: 905: 903: 900: 898: 895: 893: 890: 889: 887: 883: 877: 874: 872: 869: 867: 864: 863: 861: 857: 851: 848: 847: 845: 841: 835: 832: 830: 827: 825: 822: 820: 817: 815: 812: 810: 807: 805: 802: 800: 797: 795: 792: 790: 787: 785: 782: 780: 777: 775: 772: 771: 769: 767: 763: 757: 754: 752: 749: 747: 744: 742: 739: 737: 734: 733: 731: 727: 717: 714: 713: 712: 709: 707: 704: 702: 699: 697: 694: 692: 689: 687: 684: 680: 677: 675: 672: 671: 670: 667: 665: 662: 660: 657: 655: 652: 650: 647: 645: 642: 640: 637: 635: 632: 630: 627: 625: 622: 620: 617: 615: 612: 611: 610: 607: 603: 600: 599: 598: 595: 593: 590: 588: 585: 583: 580: 578: 575: 573: 570: 566: 563: 562: 561: 558: 556: 553: 551: 548: 546: 543: 541: 538: 536: 533: 531: 528: 524: 521: 520: 519: 516: 514: 511: 509: 506: 504: 501: 499: 496: 494: 491: 489: 486: 484: 481: 477: 474: 473: 472: 469: 467: 464: 462: 459: 457: 454: 452: 449: 447: 444: 442: 439: 437: 434: 432: 429: 425: 422: 421: 420: 417: 415: 412: 410: 407: 405: 402: 400: 397: 393: 390: 388: 385: 383: 380: 379: 378: 375: 373: 370: 368: 367:Canonical XML 365: 363: 360: 358: 355: 353: 350: 349: 347: 345: 341: 338: 332: 327: 320: 315: 313: 308: 306: 301: 300: 297: 290: 287: 286: 282: 276: 273: 272: 267: 262: 259: 258: 254: 220:Content-Type: 153:Content-Type: 143:MIME_boundary 130:Content-Type: 126:MIME-Version: 121: 120:For example: 118: 116: 112: 104: 102: 99: 96: 91: 85: 83: 80: 76: 70: 68: 65: 59: 57: 53: 51: 42: 40: 38: 34: 30: 26: 22: 21:serialization 18: 663: 334:Products and 119: 108: 100: 92: 89: 86:XOP Packages 81: 77: 74: 66: 63: 54: 46: 28: 16: 15: 1169:Conferences 1045:WebAssembly 1014:WebAssembly 917:WebPlatform 572:Web storage 555:WebAssembly 352:ActivityPub 242:example.org 240:<http:// 238:Content-ID: 182:<m:photo 156:application 1098:CERN httpd 885:Deprecated 859:Initiative 843:Guidelines 751:XHTML+SMIL 619:Encryption 582:Webmention 545:Timed text 382:Animations 268:References 197:xmlns:xop= 1148:(1994–97) 1140:(1994–97) 1132:(1993–98) 1121:Line Mode 926:Obsoleted 736:IndieAuth 644:Signature 634:Namespace 431:IndexedDB 409:EmotionML 336:standards 71:Operation 1206:Category 1113:Browsers 1087:Software 1019:WebAuthn 716:elements 686:XPointer 654:XInclude 550:VoiceXML 456:Micropub 255:See also 137:boundary 43:Benefits 29:infosets 1184:(IW3C2) 1178:(IW3C) 1124:(1990–) 829:XFrames 441:JSON-LD 387:Flexbox 1103:Libwww 1064:(DDWG) 1024:WHATWG 892:C-HTML 814:WebGPU 706:XSL-FO 696:XQuery 649:XForms 639:Schema 624:Events 587:WebSub 540:SPARQL 476:Schema 451:MathML 246:me.png 235:binary 50:base64 33:binary 1153:Amaya 1137:Agora 1129:Arena 1075:(MMI) 983:Board 819:WebXR 789:InkML 779:CURIE 774:CCXML 741:XAdES 729:Notes 691:XProc 669:XPath 659:XLink 602:+RDFa 597:XHTML 535:SHACL 530:SCXML 424:HTML5 328:(W3C) 248:> 223:image 203:href= 60:Costs 1145:Argo 1068:HTML 907:PGML 902:JSSS 897:HDML 824:XFDL 809:sXBL 711:XSLT 614:Base 592:WOFF 577:WSDL 513:SSML 503:SRGS 498:SOAP 493:SMIL 488:SKOS 483:SISR 419:HTML 392:Grid 362:ARIA 261:MTOM 213:... 191:> 180:... 176:... 170:... 165:+xml 128:1.0 115:MTOM 111:SOAP 95:MIME 1009:SVG 1004:CSS 988:TAG 933:P3P 912:VML 799:RIF 794:MSE 784:EME 756:XUP 746:XBL 701:XSL 679:3.x 674:2.0 664:XOP 609:XML 560:WoT 518:SVG 508:SRI 471:RDF 466:PLS 461:OWL 436:ITS 404:EXI 399:DOM 377:CSS 372:CDF 229:png 162:xop 147:... 23:of 1208:: 1047:CG 978:AB 565:TD 167:; 145:; 117:. 318:e 311:t 304:v 244:/ 226:/ 159:/ 140:= 135:; 27:(

Index

serialization
XML Information Sets
binary
deserialization
base64
MIME
SOAP
MTOM
MTOM
XML-Binary Optimized Packaging
W3C's XML-binary Optimized Packaging
v
t
e
World Wide Web Consortium
Recommendations
ActivityPub
Activity Streams
ARIA
Canonical XML
CDF
CSS
Animations
Flexbox
Grid
DOM
EXI
EmotionML
Geolocation API
HTML

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.