This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently all the module's validators are being given a chance to validate on a model that we want to run validation on. This could be enhanced to call the validators that register as applicable validators. For instance, Based on mime-type / file extension type registration should be enforced, it will be a map "identifier" referring to a "list of validators". So it is a lookup on the map and not iteration. So it avoids through iterating through irrelevant modules. It also avoids calling each module and that module returning an empty if it doesn't understand this model. It is a 2 fold. A map to avoid iterating unnecessarily, and calling only the right modules. I would think that we should do a similar thing to DataObject loader too. I know Dataloader is not part of enterprise, but mention here for relevance.
Validation framework is being design and developed in xml. If suggested approach is implemented, bpel specific validators will be writtem if needed. Reassigning to xml for further investigation.