From 99bd5a6c1b81d29dd90f784a831fae5664c9f795 Mon Sep 17 00:00:00 2001 From: Anton Tarasov Date: Tue, 5 Jun 2018 17:38:36 +0300 Subject: [PATCH] IDEA-193340 Batik 1.10 breaks Xerces 2.11.0 dependencies --- .idea/libraries/Xerces.xml | 4 +--- platform/util/src/org/w3c/dom/ElementTraversal.java | 6 ++++++ platform/util/src/org/w3c/dom/Location.java | 6 ++++++ platform/util/src/org/w3c/dom/Window.java | 6 ++++++ 4 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 platform/util/src/org/w3c/dom/ElementTraversal.java create mode 100644 platform/util/src/org/w3c/dom/Location.java create mode 100644 platform/util/src/org/w3c/dom/Window.java diff --git a/.idea/libraries/Xerces.xml b/.idea/libraries/Xerces.xml index 3316044c840e..9263fefea8fd 100644 --- a/.idea/libraries/Xerces.xml +++ b/.idea/libraries/Xerces.xml @@ -1,14 +1,12 @@ - + - - \ No newline at end of file diff --git a/platform/util/src/org/w3c/dom/ElementTraversal.java b/platform/util/src/org/w3c/dom/ElementTraversal.java new file mode 100644 index 000000000000..98feab66cafc --- /dev/null +++ b/platform/util/src/org/w3c/dom/ElementTraversal.java @@ -0,0 +1,6 @@ +// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +package org.w3c.dom; + +// Workaround for IDEA-193340 +public interface ElementTraversal extends org.apache.batik.w3c.dom.ElementTraversal { +} diff --git a/platform/util/src/org/w3c/dom/Location.java b/platform/util/src/org/w3c/dom/Location.java new file mode 100644 index 000000000000..9bb3d0c05da7 --- /dev/null +++ b/platform/util/src/org/w3c/dom/Location.java @@ -0,0 +1,6 @@ +// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +package org.w3c.dom; + +// Workaround for IDEA-193340 +public interface Location extends org.apache.batik.w3c.dom.Location { +} diff --git a/platform/util/src/org/w3c/dom/Window.java b/platform/util/src/org/w3c/dom/Window.java new file mode 100644 index 000000000000..a093af336347 --- /dev/null +++ b/platform/util/src/org/w3c/dom/Window.java @@ -0,0 +1,6 @@ +// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +package org.w3c.dom; + +// Workaround for IDEA-193340 +public interface Window extends org.apache.batik.w3c.dom.Window { +}