diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-08 00:07:17 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-08 00:07:17 +0000 |
commit | f9116723dd6c4343a583b28eb721ec599dfd56e7 (patch) | |
tree | 53254a4773856c173e2f0f925c540dced21e7498 /sca-java-2.x/trunk/modules/assembly-xsd/src/main/java | |
parent | 0a7b0df70603383f0a3f0aacd5e39d0d868a2cf2 (diff) |
Add a mixxed case version of the key for the XMLSchema DTD to the xsd cache. This stops Tuscany going out to the internet to get the scheme which has a big performance impact when loading contributions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@920155 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/assembly-xsd/src/main/java')
-rw-r--r-- | sca-java-2.x/trunk/modules/assembly-xsd/src/main/java/org/apache/tuscany/sca/assembly/xsd/Constants.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/assembly-xsd/src/main/java/org/apache/tuscany/sca/assembly/xsd/Constants.java b/sca-java-2.x/trunk/modules/assembly-xsd/src/main/java/org/apache/tuscany/sca/assembly/xsd/Constants.java index 9d5a149ad4..3e9bf490cb 100644 --- a/sca-java-2.x/trunk/modules/assembly-xsd/src/main/java/org/apache/tuscany/sca/assembly/xsd/Constants.java +++ b/sca-java-2.x/trunk/modules/assembly-xsd/src/main/java/org/apache/tuscany/sca/assembly/xsd/Constants.java @@ -128,6 +128,8 @@ public interface Constants { cachedXSDs.put("http://www.w3.org/2000/09/xmldsig#", Constants.class .getResource("/org/apache/tuscany/sca/assembly/xsd/xmldsig-core-schema.xsd")); + cachedXSDs.put("-//W3C//DTD XMLSchema 200102//EN", Constants.class + .getResource("/org/apache/tuscany/sca/assembly/xsd/XMLSchema.dtd")); cachedXSDs.put("-//W3C//DTD XMLSCHEMA 200102//EN", Constants.class .getResource("/org/apache/tuscany/sca/assembly/xsd/XMLSchema.dtd")); cachedXSDs.put("datatypes", Constants.class |