XML namespace problem

I don't know how I can make Idea recognize a schema.
My trinidad-config.xml begins with
The matching xsd is contained in trinidad-api-1.2.1.jar!trinidad-config.xsd It starts with ]]>

Should Idea automatically find the xsd (the jar is attached as a library of course)?

If not (why not?) how can I specify a path to the xsd in the jar?
Currently the browser invoked from the external
resource dialog is buggy and display nothing at all.

3 comments
Comment actions Permalink

Hello Stephen,

If not (why not?) how can I specify a path to the xsd in the jar?
Currently the browser invoked from the external
resource dialog is buggy and display nothing at all.


It seems that the "Configured Resources" feature has no way to specifiy a
schema that's inside in JARs.
Even worse, there's no way to manually specify a "jar:" URL of the form "jar://foo/bar/baz.jar!/a/b/c.xsd".

Unless I'm missing something: pretty nasty limitation!
Please file a JIRA issue, and link it from here.

-tt


0
Comment actions Permalink

After reading your comment I remembered that I had already seen such a request before.
Actually I even commented on it:
http://www.jetbrains.net/jira/browse/IDEABKL-4033

0
Comment actions Permalink

Hmm, while the "Select Path" dialog does not allow JAR URLs, it seems you
can actually set them in the "External Resource" dialog.
-tt


0

Please sign in to leave a comment.