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

TREX - a new schema language

  • From: James Clark <jjc@j...>
  • To: XML Developers' List <xml-dev@l...>
  • Date: Mon, 08 Jan 2001 19:09:41 +0700

java trex
I've designed and implemented a small, simple schema language.  It's
called TREX (Tree Regular Expressions for XML).  Calling it a schema
language is perhaps misleading: it's goal is purely validation. It
doesn't aim to assist in interpreting or processing the document.  The
post-validation infoset is exactly the same as the pre-validation
infoset.

You can find more, including a tutorial, a (relatively) formal spec and
a sample implementation in Java on top of SAX2 at:

  http://www.thaiopensource.com/trex/

It's basically the type system of XDuce with an XML syntax and with a
bunch of additional features (like support for attributes and
namespaces) needed to make it a practical language for structure
validation. Of existing Schema languages, it's closest to RELAX. It's
not tied to any particular datatyping language; rather, the idea is that
you can plug whatever datatyping language you want (eg XML Schemas Part
2).

This is the first release, so there will certainly be bugs in both the
documents and the implementation.

I plan to continue to refine both the design and the implementation.
Input is welcome.

James


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.