From ec9b3e234591d44297affa8418f4312ee3b4d5d8 Mon Sep 17 00:00:00 2001
From: Chris Ridd <chris.ridd@forgerock.com>
Date: Fri, 23 Nov 2012 15:51:12 +0000
Subject: [PATCH] Fix OPENDJ-653 - JAXB 2.2.6 converts anyURI into a String
---
opends/src/dsml/org/opends/dsml/protocol/DSMLServlet.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/opends/src/dsml/org/opends/dsml/protocol/DSMLServlet.java b/opends/src/dsml/org/opends/dsml/protocol/DSMLServlet.java
index e127c91..ca0b89c 100644
--- a/opends/src/dsml/org/opends/dsml/protocol/DSMLServlet.java
+++ b/opends/src/dsml/org/opends/dsml/protocol/DSMLServlet.java
@@ -211,6 +211,9 @@
}
}
+ // allow the use of anyURI values in adds and modifies
+ System.setProperty("mapAnyUriToUri", "true");
+
if(jaxbContext==null)
jaxbContext = JAXBContext.newInstance(PKG_NAME,
this.getClass().getClassLoader());
--
Gitblit v1.10.0