coheigea opened a new pull request #476: Stop using static factories in 
StaxUtils
URL: https://github.com/apache/cxf/pull/476
 
 
   This is a PR to stop using static XMLInputFactory/XMLOutputFactory instances 
in StaxUtils and to instead rely on the parser pool.
   
   One thing I'm not sure about here is that previously if a property was 
changed on XMLInputFactory it was only set on the static instance but not on 
the instances in the pool. This means though that the XMLInputFactory once 
created the first time is never modified. To get around this I'm setting the 
restriction properties on each instance when retrieved from the pool. I'm not 
sure if there is a performance penalty associated with this though?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to