Solved

Online tools to verify multi-XSD configuration

Posted on 2015-01-14
1
94 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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
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 …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

762 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

12 Experts available now in Live!

Get 1:1 Help Now