pwall567 / json-kotlin-schema-codegen

Code generation for JSON Schema (Draft 07)
MIT License
78 stars 14 forks source link

Cannot parse Windows path #49

Open hoeller opened 4 weeks ago

hoeller commented 4 weeks ago

Hi, I think there's another issue with the new template parser. In the same situation as in #48 (loading the templates from the jar) there is a problem handling a Windows path:

> Illegal char <:> at index 2: /C:/Users/MyNiceColleague/.gradle/caches/modules-2/files-2.1/net.pwall.json/json-kotlin-schema-codegen/0.111/d1a28c5658f9fb76219637e5520b87bb844ceea0/json-kotlin-schema-codegen-0.111.jar

This happens with a co-workers project, who is on Windows. Not a big problem for us because we can work around it. Just wanted to let you know.

pwall567 commented 4 weeks ago

Thanks for reporting this. I have a dual-boot laptop so I can try to reproduce it, but if you say you have a workaround, I might treat it as a lower priority.

Regards, Peter