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.
Summary: | Background validation should not take a long time for HL7 | ||
---|---|---|---|
Product: | soa | Reporter: | Vladimir Yaroslavskiy <yaroslavskiy> |
Component: | BPEL Validation | Assignee: | Vladimir Yaroslavskiy <yaroslavskiy> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | raghukolar |
Priority: | P2 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | HL7 project |
Description
Vladimir Yaroslavskiy
2009-07-06 10:25:03 UTC
Created attachment 84394 [details]
HL7 project
Assigned to raghukolar for verification. use CC for adding interested person(s) Could you please give the steps for switching on and off, all the specified validators. you can not switch on/off validators. the request was (and it was implemented) to switch off XPath validation from background validation. steps to reproduce: Create Synchronous sample, open the BPEL document in Source view, go to the assign "Assign1" and "broke" from <from>$inputVar.inputType/ns2:paramA</from> to <from>$inputVar.inputType/ns2:paramA_BAD_</from> save document, wait 5 seconds (time when background validation is triggered), see that no errors. press "Validate XML" button (it runs full validation), see that error is shown: ERROR: From: Cannot find the element "ns2:paramA_BAD_" at the namespace "http://xml.netbeans.org/schema/Synchronous". Expression: "$inputVar.inputType/ns2:paramA_BAD_" verified using below builds: Closing the issue. updateKit: installed GFESB build = 20091206-0720 updateKit: installed Open ESB build = 091205 (version 2.6.1) updateKit: installed Open JBI Components build = 091205 (version 2.6.1) updateKit: installed NetBeans build = 200911291800 The issue is fixed. The Xpath validation is disabled during background validation. This will kick in on explicit validation of the XML. XML validation started. E:/jdev/paths/jbidev/jbi/shasta/bindings/hl7bc/nb/Synchronous/Synchronous/src/Synchronous.bpel:98,16 ERROR: From: Cannot find the element "ns2:paramA_BAD_" at the namespace "http://xml.netbeans.org/schema/Synchronous". Expression: "$inputVar.inputType/ns2:paramA_BAD_" 1 Error(s), 0 Warning(s). XML validation finished. |