mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
various minor bug fixes to create/edit form, parseXMLDocuments
- WCM-351 fixes to select workflow screen on IE (weird onchange behavior) - WCM-468 fixes to remove rendering engine - doing the jsp 2.0 thing - WCM-427 fix to encoding issue with parseXMLDocuements - fix for remove rendering engine templates in create form (wasn't clearing the list in init) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5630 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -149,10 +149,15 @@ public class XMLUtil
|
||||
throws SAXException,
|
||||
IOException
|
||||
{
|
||||
final DocumentBuilder db = XMLUtil.getDocumentBuilder();
|
||||
final Document result = db.parse(source);
|
||||
source.close();
|
||||
return result;
|
||||
try
|
||||
{
|
||||
final DocumentBuilder db = XMLUtil.getDocumentBuilder();
|
||||
return db.parse(source);
|
||||
}
|
||||
finally
|
||||
{
|
||||
source.close();
|
||||
}
|
||||
}
|
||||
|
||||
/** provides a document builder that is namespace aware but not validating by default */
|
||||
|
Reference in New Issue
Block a user