Solved

Online tools to verify multi-XSD configuration

Posted on 2015-01-14
1
100 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
The viewer will learn how to implement Singleton Design Pattern in Java.

710 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