Solved

Online tools to verify multi-XSD configuration

Posted on 2015-01-14
1
99 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
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:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

821 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