Solved

Online tools to verify multi-XSD configuration

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

Suggested Solutions

Title # Comments Views Activity
servlet example issue 6 38
Configure a Bean in an XML file 4 31
Desingning Refactoring existing code 2 24
split XML field into many fields from MS Access 20 16
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

770 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