This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| FastInfoset Builder — Pure Python encoder for ITU-T X.891 | ISO/IEC 24824-1. | |
| FastInfoset is a binary XML encoding format standardized as ITU-T X.891. | |
| It compresses XML by using indexed vocabularies for element/attribute names, | |
| namespace URIs, and character content. This encoder generates byte-for-byte | |
| compatible FastInfoset streams suitable for testing, fuzzing, and security | |
| research against servers that accept Content-Type: application/fastinfoset. |