Reference to files with unknown scheme
In an XML file, I have: <xi:include href="oxf:/apps/somefile.xml"/>. Here oxf:/ is a "private" scheme, which IntelliJ can't know about. But IntelliJ complains that it can't resolve this URI. Shouldn't IntelliJ ignore URIs with unknown scheme?
Alex
Please sign in to leave a comment.
But how should it know you haven't simply misspelled another scheme?
I guess IntelliJ can't, unless there is a way to configure IntelliJ with a list of known schemes. In the absence of such a configuration, I think it is better to take an optimistic approach: it is better not to detect an error in some cases than always signal an error in other cases while the URI is valid.
Another approach is to allow the user to just disable URI validation.
Alex
I would suggest to add JIRA request for ignoring unknown schemas
Alessandro Vernet wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Maxim,
Thank you for the suggestion. I just created a JIRA request:
http://www.jetbrains.net/jira/browse/IDEA-16471
Alex