xpath is invalid错误解决方案


 

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"
share improve this question
 

1 Answer

up vote 4down voteaccepted

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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM