Fixed bug wher relative links are not correctly resolved

This applies to embedeb XSDs, XSLs, and rax extensions.