[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Java API for Accessing XML Schema


schema object model java
Hi Hayden,

Castor is using an internal XML Schema object model whose is carrying
all the XML Schema "Infoset". All XML Schema information could
potentially be accessed through the Castor Schema Object Model. To do so
castor provides a reader to convert an XML schema document in an
in-memory object and a writer to write back your object model.

What kind of information do you think Castor is missing?

Arnaud

PS: Eclipse is also including a Schema Object Model 
> -----Original Message-----
> From: Hayden Marchant [mailto:hayden@u...]
> Sent: Thursday, November 07, 2002 10:51 AM
> To: xml-dev@l...
> Subject:  Java API for Accessing XML Schema
> 
> 
> I am looking for an API that will give me a complete view of the
> whole XMLSchema - attributeGroups, element groups, references to
> attribute groups, knowledge of the location of a definition of an
> object (i.e. tracking of imported/included constructs),
> documentation tags, etc... I need the sort of API that a typical XML
> Schema GUI Tool has internally.
> 
> There are plenty of implementations of XML Parsers (xerces, xml4j,
> orcle xdk, ....), XML Schema to Java binding APIs (JAXB
> implementations, sun, zeus,castor,...) that are internally parsing
> an XML Schema into a java object.
> 
> However, I have found that the XML Parsers generally do not keep all
> of the schema information - they only keep what is relevant for
> validation, like document tags, annotation, and attribute groups are
> resolved into a list of attributes. The same thing with the Java
> binding APIs - information only relevant to the binding process is
> preserved, and everything else is ignored.
> 
> Does anyone know of such an API out there that will be rich enough
> for my needs? If I don't get any responses, I will probably need to
> develop such an API myself. If I do this, I will seriously consider
> releasing it as OpenSource.
> 
> Hayden Marchant, Senior Java Developer,
> Unicorn Solutions
> 
> International dial:U.S. toll free dial:
> Tel: +972 2 649 11171 866 2 UNICOR(N) x117
> Fax: +972 2 649 11121 866 FX UNICO(RN)
> Mobile: +972 55 69 1117
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.