| Adding xsd to XML validator [message #554699] |
Tue, 24 August 2010 02:57  |
Michał Borek Messages: 24 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!
http://www.greenpath.pl
|
|
|
|
| Re: Adding xsd to XML validator [message #556972 is a reply to message #555104] |
Fri, 03 September 2010 09:07  |
Michał Borek Messages: 24 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.
http://www.greenpath.pl
|
|
|
Powered by
FUDForum. Page generated in 0.01686 seconds