Community
Participate
Working Groups
Build: WTP 1.5.1 0803 BP2701 is loading the WSDL document from disk again. XMLUtils.parseXMLDocumentURL(URL, String) line: 208 WSDLValidatorImpl(XMLDocumentCacheUser).parseXMLDocumentURL(String, String, String) line: 99 WSDLValidatorImpl(XMLDocumentCacheUser).parseXMLDocumentURL(String, String) line: 69 WSDLValidatorImpl.getSchemaUsed(Definition) line: 1502 BP2701.validate(TestAssertion, EntryContext) line: 75 WSDLValidatorImpl(BaseValidatorImpl).processAssertions(String, EntryContext) line: 315 WSDLValidatorImpl.processDefinitionAssertions(String, CandidateInfo) line: 581 WSDLValidatorImpl.validate() line: 173 We should avoid reloading from disk as much as possible. In a large workspace (1000+ WSDL files), this assertion is taking 9 secs (5% of total time). Proposed solution: We can cache the DOM Element represenation of the WSDL document in org.eclipse.wst.wsi.internal.core.wsdl.WSDLDocument, and make it available thru a getter method. By doing so, BP2701 can retrieve this DOM Element later to validate the namespace of the WSDL definition.
Changing priority to P2 because we want to fix this in 1.5.1
Created attachment 48050 [details] Patch for wst.wsi
Patch reviewed by David Lauzon.
Fixed.
verified and close.