Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xpath is invalid in dojo library

I was implementing a demo web project in java using dojo as UI purpose.Continuously "xpath is invalid" error is coming and also its takes quite a long time for the IDE(eclipse) to build the project.I tried to solve it but the error remain the same.i will be grateful to any suggestion that could solve my problem.Also why IDE is taking so time to build it(i guess it's because of dojo library).I am using 1.9 version of dojo

    <xsl:apply-templates select="&SupportedElements;"> //Error in this line"Xpath invalid token"
like image 916
Suresh Avatar asked Aug 16 '13 07:08

Suresh


1 Answers

This is a known bug.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=328051

In eclipse, exclude dojox/gfx/resources/svg2gfx.xsl from XSL validation.

Window -> Preferences; Validation -> XSL Validator -> Settings; Add exclude group, Add fule, choose the file

like image 52
Craig Swing Avatar answered Sep 19 '22 02:09

Craig Swing