Turn on the validation XSD 1.1 in Intellij IDEA
Asked Answered
D

2

9

is any way how to turn on the validation of XSD version 1.1 in Intellij IDEA instead of default 1.0? As I know to be able to validate against version 1.1 the processor should just take -xsdversion:1.1, but I don't see any configuration point in IDE how I can set it.

Dateline answered 7/3, 2014 at 14:40 Comment(0)
A
11

This feature was added in Intellij 15

Settings -> Languages & Frameworks -> Schemas and DTDs -> Default XML Schemas

Antimatter answered 31/3, 2016 at 10:33 Comment(3)
IntelliJ 2017.1: I was able to select the XML Schema 1.1 but when trying to validate my files, I get validation errors in the schema itself, in the file: IntelliJ IDEA Community Edition 2017.1\lib\idea.jar!\standardSchemas\XMLSchema-1_1\XMLSchema.xsdKeratitis
me too.. so can someone confirm 1.1 support is broken in IJ? I don't want to waste my time trying to get it to work - however, I really want it to workGuy
If it only worked! IntelliJ 2017.2: Still getting validation errors in the internal schema file ...\IntelliJ IDEA Community Edition 2017.2.5\lib\idea.jar!\standardSchemas\XMLSchema.xsd. But is the problem the schema or the internal schema parser?Pinkeye
D
1

If anyone will stuck with this issue, please be aware that this functionality is missing in the Intellij IDEA so far, I've discussed it on the JetBrains forum: http://devnet.jetbrains.com/message/5511591#5511591 and created a feature request for it, so we'll be waiting for it in the following releases :)

Dateline answered 31/3, 2014 at 18:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.