IntelliJ IDEA Generating Instance Documents From XML Schemas - Path of included schema

已回答

I am trying to generate XML from XSD file which includes another XSD. (OS: Windows).


The problem is that IDEA tries to get this External.xsd file by its relative path based on Temp/xsd2inst and it causes next error.

My suggestion is to make IDEA start relative path not from the installation directory but from the path of XSD file, which is used for XML generation.

 

0
Avatar
Permanently deleted user

Hi Serge Baranov,

 

What do you mean by "known limitation"?

If it's a bug, it is hanging more than 5 years with no fix.

If it is unsupported functionality - users should be informed appropriately.

Secondly, I can see that there are currently other issues with "included" XSDs.

If XML is not in the spotlight for Intellij Idea product - unstable features should be removed and users informed. I.e. "Unsupported XSD model with included XSDs, please use another better product for XSD editing".

0
Avatar
Permanently deleted user

WebStorm has same problem.

Sad to say this, keeping in mind that WebStorm is assumed to have better support for Web things (XML is more Web thing).

0
Avatar
Permanently deleted user

I ran into this issue and search-engined my way here. Also, I followed the circular links about this issue and am still confused.

How is this a limitation? Relative paths can be validated, then copied to the temp directory for building.

In fact, the two issues linked in the other thread are only about other directories; I encountered this failure when the include is in the *same* directory.

0

According to https://youtrack.jetbrains.com/issue/IDEA-78840 the issue was resolved in 2018.3 release. If you still have this problem, please report a new bug at https://youtrack.jetbrains.com/newIssue?project=IDEA with the sample project to reproduce. Thank you.

0

请先登录再写评论。