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.
Build: \\thumper\50builds\gfesb\v2.1\main\nightly\20090325-0724 In the XSL editor, if user makes changes in the XSL source code to use an invalid name space, when press ‘Validate XML’ (to compile), the XSL validator failed to catch this error. To see this problem: 1)Use the attached XSLT project. 2)Open the XSL editor by double clicking on the XSL file (i.e. rpXSLfile). 3)Click on the ‘Validate XML’ button to make sure that this XSL has no error. 4)Now make change to the code to use an invalid name-space (that should fail the validator) – i.e. Change the line: <xsl:value-of select="concat('Hello ', /ns1:name)"/> To: <xsl:value-of select="concat('Hello ', /ns9999:name)"/> 5)Now press the ‘Validate XML’ button again – and it will still report as ‘0 Error(s), 0 Warning(s)’.
Created attachment 78950 [details] Project zip file
Created attachment 78951 [details] description file
Tried with the latest GF_ESB 2.1 nightly build 20090408-2320 All worksforme - ERROR: XPath syntax error at char 11 on line 7 in {concat What jdk, OS did you use? Could you please try with the latest nightly build? Is there are any errors in netbeans log file? <inst_dir>.netbeans/glassfishesb/var/log/messages.log
Verified with build: \\thumper\50builds\gfesb\v2.1\main\nightly\20090423-0722 The problem does not seem to be occur with the latest build (above). Notice alos that once the code is changed, pressing the 'validate' does not automatically save first and then compile. User needs to press SAVE-ALL to save the changed code(s), otherwise, the validator will try to compile the previous version of the code. I will forward this to doc to
Forwarded this to Carol for relnotes.