Δημήτρη,
Υποθέτω ότι αναφέρεσαι στο
SOAP Message Transmission Optimization Mechanism (MTOM). Υπάρχει και μια κωδικοποίηση της Microsoft, αλλά αυτή δεν ακολουθεί κανένα πρότυπο ούτε είναι συμβατή με κάποιο άλλο περιβάλλον.
Το MTOM είναι μια μετατροπή ενός XML information set σε ένα άλλο infoset όπου το
base64 περιεχόμενό του αφαιρείται από το έγγραφο και επισυνάπτεται σε αυτό ως MIME συνημμένο -- όμως το υπόλοιπο έγγραφο παραμένει ως κείμενο. Το Fast Infoset αφορά τη δυαδική κωδικοποίηση του
συνόλου του infoset, συμπεριλαμβανομένων των όποιων δυαδικών δεδομένων περιέχει.
Και τώρα λίγο μπλα-μπλα παραπάνω...
Το
Fast Infoset αποτελεί εφαρμογή του
ASN.1 και είναι ήδη πρότυπο των
International Telecommunication Union (ITU) και
International Organization for Standardization (ISO). Ένθερμος υποστηρικτής του είναι η Sun με πολλές σχετικές μελέτες και δημοσιεύσεις (
1,
2,
3,
4...) και μια
υλοποίηση ανοικτού κώδικα για Java.
Τα συμπεράσματα του
XML Binary Characterization Working Group είναι ιδιαίτερα ενδιαφέροντα:
Binary XML is needed. Working Group domain experts have collected and examined a comprehensive set of use cases which establish this need for Binary XML. The use cases lay out the properties Binary XML must possess in order to be successful. Formats which possess these properties are being adopted now within the represented domains.
Binary XML is feasible. The number of required properties determined to be must haves for adoption by the use cases is less than half of the nearly forty properties identified. Evaluation of existing approaches has shown that there is at least one format capable of implementing all the required properties.
The W3C must produce Binary XML. Many of the represented domains are already adopting Binary XML formats. In order to preserve XML interoperability and to prevent the establishment of multiple, incompatible binary formats, producing a standard Binary XML must be a W3C activity.
Binary XML must integrate with XML. The required properties make it clear that Binary XML must integrate with the existing XML stack and not require changes to XML itself. Binary XML will significantly widen the domains to which XML expertise and software will apply.
Οι εργασίες αυτού του Working Group συνεχίζονται από το
Efficient XML Interchange Working Group που εξετάζει
οκτώ προτάσεις, συμπεριλαμβανομένου του Fast Infoset. Οι εργασίες του προβλέπεται να ολοκληρωθούν προς τα τέλη του
2007. Εν τω μεταξύ το Fast Infoset είναι ένα δημοσιευμένο πρότυπο που είναι ήδη σε χρήση, και τουλάχιστον πέντε κατασκευαστές (μαζί με εμάς) θεωρούν ότι είναι ο ισχυρότερος διεκδικητής και έχουν εκδόσει υλοποίησεις του.
Αλέξανδρος Φιλίππου