mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
SEARCH-2321 Change SAX parser config in QueryRegister (#1066)
This commit is contained in:
@@ -136,7 +136,7 @@ public class QueryRegisterComponentImpl implements QueryRegisterComponent
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
InputStream is = this.getClass().getClassLoader().getResourceAsStream(location);
|
InputStream is = this.getClass().getClassLoader().getResourceAsStream(location);
|
||||||
SAXReader reader = new SAXReader();
|
SAXReader reader = SAXReader.createDefault();
|
||||||
Document document = reader.read(is);
|
Document document = reader.read(is);
|
||||||
is.close();
|
is.close();
|
||||||
QueryCollection collection = QueryCollectionImpl.createQueryCollection(document.getRootElement(), dictionaryService, namespaceService);
|
QueryCollection collection = QueryCollectionImpl.createQueryCollection(document.getRootElement(), dictionaryService, namespaceService);
|
||||||
|
Reference in New Issue
Block a user