From b1f795dce3d7a371e018c4933423ccd00ef74eab Mon Sep 17 00:00:00 2001 From: rudolf Date: Mon, 20 Oct 2003 14:46:06 +0000 Subject: added lockPool method git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@16 d688527b-c9ab-4aba-bd8d-4036d912da1d --- common/src/at/gv/egovernment/moa/util/DOMUtils.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/src/at/gv/egovernment/moa') diff --git a/common/src/at/gv/egovernment/moa/util/DOMUtils.java b/common/src/at/gv/egovernment/moa/util/DOMUtils.java index 6da99037e..8e6394445 100644 --- a/common/src/at/gv/egovernment/moa/util/DOMUtils.java +++ b/common/src/at/gv/egovernment/moa/util/DOMUtils.java @@ -89,6 +89,10 @@ public class DOMUtils { private static SymbolTable symbolTable = new SymbolTable(BIG_PRIME); /** Xerces schema grammar pool. */ private static XMLGrammarPool grammarPool = new XMLGrammarPoolImpl(); + + static { + grammarPool.lockPool(); + } /** * Preparse a schema and add it to the schema pool. -- cgit v1.2.3