Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » How to check the syntax of HTML files
How to check the syntax of HTML files [message #1857493] Fri, 10 February 2023 09:26 Go to next message
panda mkk is currently offline panda mkkFriend
Messages: 38
Registered: April 2022
Member
Our plug-in needs to read the HTML file and modify it
It is necessary to ensure that the HTML file itself has no syntax errors before and after modification

Before that, I used the syntax check of jsp,Use org.eclipse.jst.jsp.core.internal.validation.JSPValidator and related classes under the org.eclipse.jst.jsp.core.jar to implement

Is there any relevant tool to implement html syntax check
Re: How to check the syntax of HTML files [message #1857584 is a reply to message #1857493] Thu, 16 February 2023 00:26 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4438
Registered: July 2009
Senior Member

Well, there's a corresponding HTMLValidator set of classes, but none of it's provided as API.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: How to check the syntax of HTML files [message #1857951 is a reply to message #1857584] Wed, 08 March 2023 07:04 Go to previous message
panda mkk is currently offline panda mkkFriend
Messages: 38
Registered: April 2022
Member
Hmm.. I found the HTMLValidator class in the org.eclipse.wst.html.core plug-in. It seems to be working well
Previous Topic:When using the Jakarta Servlet in Eclipse 2022 -12, the JSP file will have errors
Next Topic:Run on Server
Goto Forum:
  


Current Time: Mon May 06 00:08:09 GMT 2024

Powered by FUDForum. Page generated in 0.03335 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top