Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Adding xsd to XML validator
Adding xsd to XML validator [message #554699] Tue, 24 August 2010 06:57 Go to next message
Michal Borek is currently offline Michal BorekFriend
Messages: 25
Registered: August 2010
Junior Member
Hello,
I need to add schema validation of particular .xml file in XML editor.

Is it possible to plug it into existing XML editor used in webtools?

If so, please tell me how to do this or how can I find information how to do this.

Thanks in advance!
Re: Adding xsd to XML validator [message #555104 is a reply to message #554699] Wed, 25 August 2010 13:19 Go to previous messageGo to next message
David Carver is currently offline David CarverFriend
Messages: 174
Registered: July 2009
Senior Member
Yes, you can go to Preferences->XML->XML Catalog and add the item there. If you want a plugin to contribute the schemas to the XML Catalog you can do so via the XML Catalog Extension point, or by writing a custom resolver and using the common URI extension point.

Re: Adding xsd to XML validator [message #556972 is a reply to message #555104] Fri, 03 September 2010 13:07 Go to previous message
Michal Borek is currently offline Michal BorekFriend
Messages: 25
Registered: August 2010
Junior Member
Dave Carver wrote on Wed, 25 August 2010 09:19
Yes, you can go to Preferences->XML->XML Catalog and add the item there. If you want a plugin to contribute the schemas to the XML Catalog you can do so via the XML Catalog Extension point, or by writing a custom resolver and using the common URI extension point.





The problem is I this file (config.xml) doesn't have namespace so I can't bind schema to specific namespace ).

This file looks something like

<?xml version='1.0' encoding='UTF-8'?>
<config>
<title>something</title>
</config>


I want to check if it's compliant with config.xsd which I prepared by myself.
Previous Topic:Jetty doesn't get started from eclipse
Next Topic:JSDT multiple modifications with single ASTRewrite
Goto Forum:
  


Current Time: Fri Apr 26 12:34:12 GMT 2024

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

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

Back to the top