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.
Background validation should not take a long time for HL7. If you open attached HL7 project and change bpel document, background validation. All checks, except XPath expression validation, take ~1 sec, see: Validator: org.netbeans.modules.bpel.validation.custom.Validator : 0.031 sec. Validator: org.netbeans.modules.bpel.validation.property.Validator : 0.0 sec. Validator: org.netbeans.modules.bpel.validation.reference.Validator : 0.234 sec. Validator: org.netbeans.modules.bpel.validation.runtime.Validator : 0.0 sec. Validator: org.netbeans.modules.bpel.validation.schema.Validator : 0.016 sec. Validator: org.netbeans.modules.bpel.validation.statics.Validator : 0.5 sec. Validator: org.netbeans.modules.bpel.validation.variable.Validator : 0.125 sec. Validator: org.netbeans.modules.bpel.validation.compatibility.Validator: 0.0 sec. Total: 0.906 sec. When I switch off all validators and switch on XPath only, it takes *** xxx ***, I don't know how long, because I wait about 5 minutes and then close the IDE. So, I'll switch off XPath checks from *background* (partial) validation. Note, that complete validation (including XPath and all imported document) is run when a project is built or validation button is pressed.
Created attachment 84394 [details] HL7 project
fixed: http://hg.netbeans.org/soa-dev65?cmd=changeset;node=6e1e233a8fb5
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.