I went ahead and implemented my proposed solution locally just to see,
and yeah it stopped the double parsing.
The tests all run fine from command line (mvn clean test). However,
some fail when I run from IDE (specifically some of the packaging tests
again; ScannerTest was the culprit today). But they fail regardless of
whether my changes are there or not. So I'm gonna go ahead and resolve
that issue.
On Wed, 2010-09-08 at 14:48 -0500, Steve Ebersole wrote:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5543
In JEE bootstrapping, mapping documents are parsed and validated twice
(details in the jira issue).
Problem is this code is extremely confusing and so I wanted to validate
my idea on the solution. Could y'all take a look?
--
Steve Ebersole <steve(a)hibernate.org>
http://hibernate.org