Cover Pages: Tree Regular Expressions for XML (TREX)

The Cover Pages [画像:The OASIS Cover Pages: The Online Resource for Markup Language Technologies]
SEARCH | ABOUT | INDEX | NEWS | CORE STANDARDS | TECHNOLOGY REPORTS | EVENTS | LIBRARY
Tree Regular Expressions for XML (TREX)

[January 08, 2000] James Clark (Thai Open Source Software Center) posted an announcement for the release of TREX (Tree Regular Expressions for XML) -- a simple schema language for validating XML documents. "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/. TREX is 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 (e.g., 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." The TREX specification definitively describes the TREX language. From the 'Introduction': "The primary concept in TREX is the pattern. An unordered collection of attributes and an ordered sequence of elements and characters are matched jointly against a pattern with respect to an environment. An environment is a mapping from names to patterns together with a possibly null reference to a parent environment. The result of matching is true or false. XML document is valid with respect to a TREX pattern if an empty collection of attributes and a sequence containing just the document element of the document matches the pattern with respect to an empty environment. TREX also has the concept of a name-class, which is a set of expanded-names. [As to Data Model:] An element is a triple <name, attributes, children>, where name is an expanded-name, attributes is a unordered collection of zero or more attributes and children is an ordered sequence of zero or more elements or characters. An attribute is a pair <name, value>, where name is an expanded-name and value is a sequence of zero or more characters. An expanded-name is a pair <namespace URI, local name>, where namespace URI is a string containing a URI reference and local name is a string matching the NCName production of the XML Recommendation..."

[February 16, 2001] OASIS Announces Technical Committee for TREX. An announcement from Kark Best and James Clark describes the formation of a new OASIS Technical Committee for TREX (Tree Regular Expressions for XML). The purpose of the TREX TC is "to create a specification for a schema language for XML based on the TREX proposal. The key features of TREX are that it: is simple, is easy to learn, uses XML syntax, does not change the information set of an XML document, supports XML namespaces, treats attributes uniformly with elements so far as possible, has unrestricted support for unordered content, has unrestricted support for mixed content, has a solid theoretical basis, and can partner with a separate datatyping language (such W3C XML Schema Datatypes). The projected date for the first OASIS Committee Specification is 1-July-2001. [Full context]

[March 13, 2001] "OASIS Forms TREX Technical Committee to Create XML Document Validation Language Specification." - "OASIS, the XML interoperability consortium, announced the formation of a new technical committee to create a specification for validating XML documents with TREX (Tree Regular Expressions for XML). Using XML syntax, TREX extends the concept of regular expressions (familiar to many Web developers) to XML structures. TREX is the latest in a long list of accomplishments by James Clark, widely regarded as one of the most prolific contributors to the field of structured information standards. Clark served as technical lead for the W3C's XML 1.0 Recommendation and editor of the W3C Recommendations for both XPath and XSLT. He is perhaps best known as the author of open-source parsers including expat and XP for XML and sgmls and SP for SGML. 'There is a genuine need for a straightforward, easy-to-learn XML schema language, and TREX delivers that,' said James Clark, who will serve as chair of the OASIS TREX Technical Committee. 'I am excited to be developing the TREX specification within OASIS. The OASIS technical process is both open and lightweight, so we expect to benefit from a maximum level of participation with a minimal amount of organizational overhead.' Unlike many schema languages, TREX limits its scope to describing and validating the structure and content of an XML document. It does not attempt to specify any application processing semantics. TREX also gains simplicity by treating attributes and elements uniformly. TREX can partner with a separate datatyping language, such as the W3C XML Schema Datatypes. 'TREX is a new, powerful tool for XML developers. It focuses on validation alone and does not change the information set of a document,' commented Karl Best, director of technical operations for OASIS. 'Developing the TREX specification within OASIS gives the entire XML community the opportunity to contribute to this important work.' Those interested in participating in the development of TREX are encouraged to join the OASIS TREX Technical Committee."

[February 13, 2001] James Clark announced an updated sample implementation of TREX in Java. This implementation "now supports datatyping using a 'real implementation' of datatypes in W3C XML Schema Part 2; the datatyping implementation is independent of the rest of the sample implementation, so it might be useful for other applications of XML Schema Part 2. There's also a TREX task that allows the TREX sample implementation to be used conveniently from within Ant." The Version 2001年02月12日 implementation is available for download as a JAR file and as a Win32 executable for use with the Microsoft Java VM. The source is also available. [description]

[May 19, 2001] RELAX Core Approved as an ISO Technical Report, and New Name RELAX NG. A posting from Murata Makoto (Project Editor of RELAX Core at ISO/IEC JTC1) reports on the result of an ISO/IEC JTC1 ballot of May 10, 2001 which approved the RELAX Core specification as ISO/IEC Technical Report 22250-1. RELAX Core is part of the larger RELAX [Regular Language Description for XML] specification, which currently includes RELAX Namespace, and will later have RELAX Data. RELAX Core is "a simple language for describing XML tag sets, viz., for describing markup languages containing a single XML namespace; the RELAX Namespace is used to describe markup languages containing more than a single XML namespace consisting of more than one RELAX Core document." RELAX Core "was originally created as a JIS TR and was then submitted to ISO via the fast-track procedure. The final text will be prepared in an upcoming meeting in August 2001. The latter half, RELAX Namespace, has been approved as JIS TR and will soon be submitted to ISO."

RELAX Core and TREX (Tree Regular Expressions for XML) are to be unified, since the two are very similar as structure-validation languages. The unified TREX/RELAX language will be called RELAX NG [for "Relax Next Generation," pronounced "relaxing"]. This design work is now being conducted within the OASIS TREX Technical Committee, where a (first) specification is expected by July 1, 2001. The OASIS TC has also been renamed 'RELAX NG' [with mailing list 'relax-ng@lists.oasis-open.org'] to reflect the new name of the unified TREX/RELAX language. The RELAX NG development team plans to submit the OASIS specification to ISO, given the importance of ISO standards in Europe. Relax NG progress may be tracked via the mailing list archives or by comparing the issues list with the original TREX tutorial and specification. See Minutes for RELAX NG TC 2001年05月17日.

References:

Examples:

SEARCH
Advanced Search
ABOUT
Site Map
CP RSS Channel
Contact Us
Sponsoring CP
About Our Sponsors

NEWS
Cover Stories
Articles & Papers
Press Releases

CORE STANDARDS
XML
SGML
Schemas
XSL/XSLT/XPath
XLink
XML Query
CSS
SVG

TECHNOLOGY REPORTS
XML Applications
General Apps
Government Apps
Academic Apps

EVENTS
LIBRARY
Introductions
FAQs
Bibliography
Technology and Society
Semantics
Tech Topics
Software
Related Standards
Historic
Last modified: May 30, 2001

Hosted By
OASIS - Organization for the Advancement of Structured Information Standards

Sponsored By

IBM Corporation
ISIS Papyrus
Microsoft Corporation
Oracle Corporation

Primeton

XML Daily Newslink
Receive daily news updates from Managing Editor, Robin Cover.

Newsletter Subscription
Newsletter Archives
[画像:Globe Image]

Document URI: http://xml.coverpages.org/trex.htmlLegal stuff
Robin Cover, Editor: robin@oasis-open.org


AltStyle によって変換されたページ (->オリジナル) /