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

Already on GitHub? Sign in to your account

adds support for Windows-style file paths #8

wants to merge 5 commits into


None yet
2 participants

When running Win32 erl called from cygwin, "cannot handle URI" warnings are thrown by edoc when attempting to read in an existing edoc-info file. Turns out edoc is choking on the full Windows path of the file.

Added a uri_get/1 clause to edoc_lib that recognizes Windows URIs and allows code to proceed without warnings.


richcarl commented Jun 4, 2012

Sorry that it's taken a while. I've been swamped with stuff to look at. I had to figure out what the original intent of the code was, to see if your patch really was correct, but it seems that's the right place for it. I modified your patch a bit to handle backslashes as well (and remove irrelevant lines that you had touched - the only good patch is a clean patch). I haven't tested it. Let me know if it works and I'll merge it to master: https://github.com/richcarl/edoc/tree/windows-file-fix

@richcarl richcarl closed this Jul 9, 2012


richcarl commented Jul 9, 2012

I have merged this to master. Hope it works for you.

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