msv/msv-Disable-crimson.patch
Michal Srb ab6091fa11 Update to upstream version 2013.2.3
- Resolves: rhbz#876845
2013-04-12 11:18:39 +02:00

62 lines
2.2 KiB
Diff

From 7473c0343eaaf0f9593ff26f29887f2ba7e10971 Mon Sep 17 00:00:00 2001
From: Michal Srb <msrb@redhat.com>
Date: Fri, 12 Apr 2013 08:34:07 +0200
Subject: [PATCH] Disable crimson
---
relames/pom.xml | 8 ++------
relames/src/com/sun/msv/schematron/verifier/RelmesVerifier.java | 7 -------
2 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/relames/pom.xml b/relames/pom.xml
index 69d8d91..0ef18ae 100644
--- a/relames/pom.xml
+++ b/relames/pom.xml
@@ -3,12 +3,12 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.java.dev.msv</groupId>
<artifactId>msv-relames</artifactId>
- <version>2009.1-SNAPSHOT</version>
+ <version>2009.1</version>
<name>MSV Schematron Plugin</name>
<parent>
<groupId>net.java.dev.msv</groupId>
<artifactId>msv-parent</artifactId>
- <version>2009.1-SNAPSHOT</version>
+ <version>2009.1</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
@@ -71,10 +71,6 @@
<artifactId>isorelax</artifactId>
</dependency>
<dependency>
- <groupId>crimson</groupId>
- <artifactId>crimson</artifactId>
- </dependency>
- <dependency>
<groupId>relaxngDatatype</groupId>
<artifactId>relaxngDatatype</artifactId>
</dependency>
diff --git a/relames/src/com/sun/msv/schematron/verifier/RelmesVerifier.java b/relames/src/com/sun/msv/schematron/verifier/RelmesVerifier.java
index cbc898c..8327180 100644
--- a/relames/src/com/sun/msv/schematron/verifier/RelmesVerifier.java
+++ b/relames/src/com/sun/msv/schematron/verifier/RelmesVerifier.java
@@ -88,13 +88,6 @@ public class RelmesVerifier implements IVerifier {
} catch( Throwable t ) {
// ignore any error. it wasn't Xerces.
}
- try {
- // Crimson?
- ((org.apache.crimson.tree.ElementNode2)super.parent)
- .setIdAttributeName(atts.getQName(i));
- } catch( Throwable t ) {
- // ignore any error. it wasn't Crimson.
- }
}
}
}
--
1.8.1.4