Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to auto-validate XML files after each save?
How to auto-validate XML files after each save? [message #509445] Fri, 22 January 2010 13:14 Go to next message
Ben StoverFriend
Messages: 104
Registered: January 2010
Senior Member
How can I tell Eclipse to AUTOMATICALLY validate all XML files of a project whenever I edit and save an XML / XSD schema file?

Ben
Re: How to auto-validate XML files after each save? [message #509511 is a reply to message #509445] Fri, 22 January 2010 16:34 Go to previous messageGo to next message
Ian Tewksbury is currently offline Ian TewksburyFriend
Messages: 48
Registered: July 2009
Location: RTP, NC, USA
Member
Hrm, the XML validator should run on save.

Can you please report back with what Eclipse Platform and WTP versions you are running?

Thanks,

~Ian


Ian Tewksbury
WTP JavaScript Tools
IBM Rational
-----
“When once you have tasted flight, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return.” ~Leonardo da Vinci
Re: How to auto-validate XML files after each save? [message #509547 is a reply to message #509445] Fri, 22 January 2010 20:05 Go to previous message
Wini Mark is currently offline Wini MarkFriend
Messages: 5
Registered: July 2009
Junior Member
You can right click on the project and select 'Properties' -> 'Validation'. Check the checkbox of 'Add Validation Builder to project' to enable the validation when the file is saved. Hope that helps.

Previous Topic:XSD type browse dialog is internal
Next Topic:What are the default values for minoccurs and maxoccurs?
Goto Forum:
  


Current Time: Fri Nov 21 19:21:20 GMT 2014

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

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