Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Test Program
Test Program [message #58134] Thu, 24 February 2005 10:38 Go to next message
Eclipse UserFriend
Originally posted by: Jie.N.caramail.com

Hi Ed,

I found many sample codes building XSD Schema, but I want to get the
informations from existing schema. I suppose that you have a program (in
order to test the model) handling several different queries that can be
made on a schema. Where is it possible to download it or to edit it?

Thanks.

Jie
Re: Test Program [message #58229 is a reply to message #58134] Thu, 24 February 2005 11:18 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Jie,

Have a look at XSDMainTest.java in the org.eclipse.xsd.test plugin. It
shows how to load a schema and validate it. Once the schemas are
loaded, you can do what you want with them. The
org.eclipse.xsd.ecore.XSDEcoreBuilder is a good example of something
that analyzes a schema.


Jie Nao wrote:

> Hi Ed,
>
> I found many sample codes building XSD Schema, but I want to get the
> informations from existing schema. I suppose that you have a program
> (in order to test the model) handling several different queries that
> can be made on a schema. Where is it possible to download it or to
> edit it?
>
> Thanks.
>
> Jie
>
>
>
Re: Test Program [message #594276 is a reply to message #58134] Thu, 24 February 2005 11:18 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33182
Registered: July 2009
Senior Member
Jie,

Have a look at XSDMainTest.java in the org.eclipse.xsd.test plugin. It
shows how to load a schema and validate it. Once the schemas are
loaded, you can do what you want with them. The
org.eclipse.xsd.ecore.XSDEcoreBuilder is a good example of something
that analyzes a schema.


Jie Nao wrote:

> Hi Ed,
>
> I found many sample codes building XSD Schema, but I want to get the
> informations from existing schema. I suppose that you have a program
> (in order to test the model) handling several different queries that
> can be made on a schema. Where is it possible to download it or to
> edit it?
>
> Thanks.
>
> Jie
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:How to set maxOccurs and minOccurs in a named model group
Next Topic:Schema locations
Goto Forum:
  


Current Time: Wed Jul 17 12:19:42 GMT 2024

Powered by FUDForum. Page generated in 0.03769 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top