willemdj / erlsom

XML parser for Erlang
GNU Lesser General Public License v3.0
264 stars 103 forks source link

treat US-ASCII encoding as Latin1 #38

Closed zuckschwerdt closed 9 years ago

zuckschwerdt commented 9 years ago

Some document authors make a point about the document being limited to 7-bit charactes, i.e. plain ASCII. (This could help with non-8-bit-clean system or byte-wise parsing.) E.g. see urn:oasis:names:tc:SAML:2.0:assertion at http://docs.oasis-open.org/security/saml/v2.0/saml-schema-assertion-2.0.xsd This addition will treat the US-ASCII encoding as Latin1, which it is a subset of.