blackears / svgSalamander

155 stars 56 forks source link

Make XMLReader threadsafe #39

Closed jimmymic closed 5 years ago

jimmymic commented 5 years ago

Parsing multiple XML files in different threads will return an error:

JAXB Error : FWK005 parse may not be called while parsing

jimmymic commented 5 years ago

Your change looks good and makes sense.

You should also remove the cachedReader instance variable which becomes unused with this change.

done @philippecade

blackears commented 5 years ago

Could you please fix this submission so that it is not completely overwriting the original file? The fix should only show the lines that were changed.

jimmymic commented 5 years ago

@blackears I have sorted this out, bloody git line endings