xml-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Lapouchnian <glapo...@redhat.com>
Subject Re: XML Schemas
Date Fri, 16 Sep 2005 19:36:21 GMT
Hi Davanum,

Thanks for pointing us at XmlSchema. It looks like something we could
really use for our project.

I've played around with it for a bit but I keep getting exceptions when
I try to create an XmlSchema object using the SchemaBuilder class. I've
tried a number of different schemas, some J2EE ones and some random ones
Google found for me and all seem to throw one exception or other.

Is there an example somewhere which would show the proper usage of
SchemaBuilder?

I found the thread on axis-dev regarding the donation of this module to
Axis, however, it was more than two years ago. Is this project/module
still being supported or used by any other Apache project?

Thanks in advance,
Greg Lapouchnian.

On Thu, 2005-09-15 at 12:33 -0400, Davanum Srinivas wrote:
> Try xmlschema...
> 
> run "svn co http://svn.apache.org/repos/asf/webservices/commons/trunk/XmlSchema/"
> to get the files.
> 
> -- dims
> 
> On 9/15/05, Patrick Smith <pasmith@redhat.com> wrote:
> > Hi,
> > 
> > My teammate and I are currently working on a web based XML editor (that
> > extracts XML files from rars/jars/wars and ears) to configure
> > applications running on an application server while they're still
> > deployed.
> > 
> > One of the editor's views is a form based view. You can take a look at a
> > simple mock-up of the UI we are building at:
> > http://people.redhat.com/pasmith/third.html
> > 
> > We are required to validate the XML against its associated schemas.
> > Though we also need to get information from the schema for the UI.  For
> > example, if the schema specifies that only 3 specific elements can be
> > added as children to an element, then the form will have a drop down
> > menu with only those 3 options.
> > 
> > My question is, are there any existing projects or APIs available that
> > will help in loading a schema and extracting such information.
> > 
> > At the moment we are already using Xerces for our XML processing and
> > validation.
> > 
> > Thanks a lot.
> > 
> > Patrick Smith
> > 
> > 
> 
> 
-- 
Gregory Lapouchnian <glapouch@redhat.com>
Red Hat Canada


Mime
View raw message