Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Can WST's XML Editor do validation against a schema ?
Can WST's XML Editor do validation against a schema ? [message #172667] Wed, 28 June 2006 23:09 Go to next message
Alex Le is currently offline Alex LeFriend
Messages: 649
Registered: July 2009
Senior Member
Hi,

Consider the below XML file being edited by the WST XML Editor. Can the
WST Editor do validation against the specified schema, the 'family.xsd'
schema, while editing? I don't see in any of WST XML Editor's menu.
Thanks!

<?xml version="1.0" encoding="ISO-8859-1"?>
<persons xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="family.xsd">
<person>
<full_name>Hege Refsnes</full_name>
<child_name>Cecilie</child_name>
</person>
<person>
<full_name>Tove Refsnes</full_name>
<child_name>Hege</child_name>
<child_name>Stale</child_name>
<child_name>Jim</child_name>
<child_name>Borge</child_name>
</person>
<person>
<full_name>Stale Refsnes</full_name>
</person>
</persons>
Re: Can WST's XML Editor do validation against a schema ? [message #172683 is a reply to message #172667] Thu, 29 June 2006 03:12 Go to previous message
Craig Salter is currently offline Craig SalterFriend
Messages: 169
Registered: July 2009
Senior Member
Try using 'Validate' action via context menu of a selected file.
See the slightly outdated tutorial here :
http://www.eclipse.org/webtools/community/tutorials/XMLValid ation/XMLValidationTutorial.html
Previous Topic:Problem with WST XML Editor when I installed XMLBuddy
Next Topic:Problem from org.eclipse.core.resource plugin (ClassCastException)
Goto Forum:
  


Current Time: Tue Dec 23 03:55:58 GMT 2014

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

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