Solved

Online tools to verify multi-XSD configuration

Posted on 2015-01-14
1
95 Views
Last Modified: 2015-01-15
I have an XSD, p0.xsd, which imports 2 other XSD files, and I have to stay with this configuration

    <xs:import schemaLocation="p1.xsd" namespace="http://w3.abc.com/abc/cust"/>

    <xs:import schemaLocation="p2.xsd" namespace="http://w3.abc.com/abc/fin"/>

Open in new window


Is there an online tool or open source tool taht will allow me to verify the validity of the three file XSD configuration?  (hopefully online).  I do not think the last one posted can handle more than a single xsd file.   This is just for a verification of the XSD, not the associated XML.

Thanks
0
Comment
Question by:Anthony Lucia
1 Comment
 
LVL 60

Accepted Solution

by:
Geert Bormans earned 500 total points
ID: 40549988
I usually recommend not to use online validators since they are generally very bad in local file resolution,
if at all possible.

There is an easy workaround however.
Put the imported files on a webserver and pass a url

<xs:import schemaLocation="http://yourdomain.com/schema/p1.xsd" namespace="http://w3.abc.com/abc/cust"/>
<xs:import schemaLocation="http://yourdomain.com/schema/p2.xsd" namespace="http://w3.abc.com/abc/fin"/>

for validation purposes

If you are doing XSD development, invest in an IDE, you will thank me for that advice later :-)

Note that you can't have multiple namespaces in a single XSD file, so making it one single file is not possible
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

29 Experts available now in Live!

Get 1:1 Help Now