/xxml

Package xml implements a simple XML 1.0 parser that understands XML name spaces, extended support for control characters.

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

xxml

NOTE: This package is a fork of 'encoding/xml' from https://github.com/golang/go.

Package xml implements a simple XML 1.0 parser that understands XML name spaces, along with extended support for control characters such as following

var controlCharactersMap = map[rune][]byte{
        '\x00': []byte("�"),
        '\x01': []byte(""),
        '\x02': []byte(""),
        '\x03': []byte(""),
        '\x04': []byte(""),
        '\x05': []byte(""),
        '\x06': []byte(""),
        '\x07': []byte(""),
}

XML 1.0 spec does not allow these control characters. However this package intends to support these characters to satisfy MinIO's needs for AWS S3 compatiblity.