Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Adding xsd to XML validator
Adding xsd to XML validator [message #554699] Tue, 24 August 2010 02:57 Go to next message
Eclipse UserFriend
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 09:19 Go to previous messageGo to next message
Eclipse UserFriend
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 09:07 Go to previous message
Eclipse UserFriend
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: Sat Jul 05 08:48:47 EDT 2025

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

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

Back to the top