Can't Validate XSD and can't generate XML
Answered
IntelliJ IDEA 2017.2.4
Build #IU-172.4155.36, built on September 11, 2017
Licensed to XXXXXXXXXXXXXXXX
Subscription is active until March 19, 2018
JRE: 1.8.0_152-release-915-b11 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Right click on the *.xsd file and select "Validate" results in:
Error:External resource http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00 is not registered
C:\Ws\OTMAPI\otm-compiler-test\src\test\resources\examples\schemas\ACS - Schema\CatalogDomain_7_0_0.xsd
Error:Error:Premature end of file.
Try to generate XML document form XSD schema and I get a message box with:
Schema compilation errors:
...and no mention as to what the errors are.
Please sign in to leave a comment.
Validation performed by IntelliJ IDEA cannot work without schema: https://youtrack.jetbrains.com/issue/IDEA-162326#comment=27-1871937.
I can CTRL click on the references to AppInfo_v01_00 with no trouble, so why not registered? No mention as to what the errors are anywhere and I've already tried removing .idea/workspace.xml
Time to Go Fish.
If you have the schema fetched and configured and it still doesn't work, please file an issue at https://youtrack.jetbrains.com/issues/IDEA with the sample project to reproduce attached.
If that is a resolved issue then why isn't it resolved? This is an XSD that I'm trying to validate. If this is not possible then the option should be inactive. It should be greyed out and I shouldn't be able to select it.
That issue is about validating without schema, it's closed with the status: Answered. When I provided that answer your comment about the schema was not there.