History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-1780
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andrew Petro
Reporter: Andrew Petro
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
uPortal

ResourceLoader document validation problems

Created: 01/Aug/07 07:59 PM   Updated: 29/Aug/07 05:31 PM
Component/s: Framework
Affects Version/s: 2.6.0 M1, 2.6.0 RC1, 2.6.0 RC2
Fix Version/s: 2.6.0 GA

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File patch_HEAD_ResourceLoader_java.txt (5 kb)



 Description  « Hide
ResourceLoader overzealously validates XML documents such that it will attempt but fail to validate documents not possessed of a document type. ResourceLoader's special handling for PersonDirs.xml is not threadsafe -- it changes the validation flag on the core document builder factory shared by other threads of execution.

This change introduces a try-catch approach to trying to validate but falling back to not validating where validation fails, and uses two dedicated document builder factories, one validating and one not, to restore threadsafety.

See UP-1197

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.