xml http://www.w3.org/2001/XMLSchema-instance and xsi:type support
Hi,
I have a xml schema that uses abstract complex elements. In my xml files I use xsi:type to specify the type of the element. Intellij thinks my xml file isn't valid. It complains that xsi:type isn't allowed at that place, and the elements that are part of the complex element specified by xis:type aren't recognized either.
Is it something I'm missing or is this a bug?
TiA
Please sign in to leave a comment.
Hi,
Post the problem to JIRA with the example schema / xml.
Alexander wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
http://www.jetbrains.net/jira/browse/IDEA-902
I also noticed that when editing xml files and schema files with both open, that saving the schema file isn't enough for intellij to make the xml file validat against the saved schema. Sometime the on-screen validator uses the new one, and tool->validate the old one, sometime the other way or not at all.
Is that a known bug? I tried to search the jira database, but could not find anything like this. Will search some more tonight.
Alexander
Having the same issue with latest IntelliJ version. All 'type' attributes marked as errors:
How to fix it or disable this inspection?
Thanks