Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML identifier compatible base64 variants #25

Open
jpetso opened this issue Nov 1, 2016 · 0 comments
Open

XML identifier compatible base64 variants #25

jpetso opened this issue Nov 1, 2016 · 0 comments

Comments

@jpetso
Copy link
Collaborator

jpetso commented Nov 1, 2016

Wikipedia mentions two base64 variants for use in XML identifiers:

  • a variant using .- for use in XML name tokens (nmtoken) - likely cppcodec name: base64_xml_nmtoken
  • a variant using _: for use in more restricted XML identifiers (name) - likely cppcodec name: base64_xml_name.

These don't seem to be specified in any high-profile standard, or I missed it. The only reference to base64 in XML I found with a quick Google search was the XML Schema type base64Binary, which uses newline-optional MIME base64 and thus isn't XML-specific.

So these are presumably not in use all that much, and probably super low on the list of codecs to add. If anyone would like to see either of these variants in cppcodec, please comment on this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant