cmarchand / gaulois-pipe

A XSLT pipelining solution
Mozilla Public License 2.0
9 stars 4 forks source link

@href on folder : bad uri construction #16

Closed karrayhamdi closed 7 years ago

karrayhamdi commented 7 years ago

hi,

when i pass a parameter (as uri) to the config file, for treatement file source, i catch an exception on the folder uri. I pass a parameter like : "file:/toto" and the exception message said uri = 'c:\titi\project\file\toto : invalid uri. gp.zip

cmarchand commented 7 years ago

sources/folder/@href was always constructed as a relative path to current directory. Now constructs it as a absolute URI, and fallback to File relative to current dir. Added a UT in ConfigUtilTest