RELAX NG - CompWisdom
About us  |  Why use us?  |  Press  |  Contact us

 

Topic: RELAX NG


Related Topics



  
 RELAX NG - Wikipedia, the free encyclopedia
In computing, RELAX NG (REgular LAnguage for XML Next Generation) is a schema language for XML, based on Murata Makoto's RELAX and James Clark's TREX.
RELAX NG compact syntax is a non-XML format designed so that it can be unambiguously translated to its XML counterpart, and back again, with one-to-one correspondence in structure and meaning, in much the same way that Simple Outline XML (SOX) relates to XML.
RELAX NG shares with W3C XML Schema many features that set both apart from traditional DTDs: data typing, regular expression support, namespace support, ability to reference complex definitions.
http://en.wikipedia.org/wiki/RELAX_NG   (741 words)

  
 The Design of RELAX NG
RELAX NG is a new schema language for XML.
RELAX NG is based on finite tree automata; this is an area of computer science that has been studied for many years and is accordingly mature and well understood.
Overall, RELAX NG is much more mature and it is possible to have a higher degree of confidence in its design than it would be if it were based on a completely different paradigm.
http://www.thaiopensource.com/relaxng/design.html   (5058 words)

  
 RELAX NG home page
RELAX NG is a schema language for XML.
It does aims only to produce a RELAX NG schema that is equivalent to the input schema in the sense that it validates the same documents as the input schema; it does not aim to preserve information that is not significant for validation such as the use of definitions.
Tutorial for RELAX NG using the compact syntax, not assuming prior knowledge of XML syntax.
http://www.relaxng.org   (1162 words)

  
 RELAX NG for Python
RELAX NG (or RNG) is a schema language for XML.
The algorithm for RELAX NG is remarkably elegant, and is based on computing the derivative of a pattern.
A pattern P is nullable if the empty string (or empty tree) matches it.
http://www.amk.ca/talks/2002-02-07   (237 words)

  
 Relax NG schema for XSL FO
Relax NG schema for XSL-FO has been created with two goals in mind: it should ensure fast and reliable validation; it should be convenient to use in visual XSL FO editors or document builders.
Fortunately, Relax NG allows ambiguity for attribute values (in a choice of two datatypes both can match) so no matter whether expression datatype is restrictive or not, the schema will remain valid.
The only serious disadvantage of Relax NG validation compared to its XSLT counterpart is inability to classify validity violations by severity and lack of context-sensitive error messages.
http://idealliance.org/papers/dx_xmle04/papers/03-02-02/03-02-02.html   (2452 words)

  
 XML Matters: Kicking back with RELAX NG, Part 2
RELAX NG does not perform any infoset augmentation.
In other words, for Clark, RELAX NG has a feature where DTDs and W3C Schemas have a bug.
James Clark wrote a discussion of the algorithmic principles behind RELAX NG validation.
http://www-128.ibm.com/developerworks/xml/library/x-matters26.html   (2195 words)

  
 RELAX NG Specification
Although we use a notation based on the XML representation of an RELAX NG schema as a sequence of characters, the grammar must be understood as operating at the data model level.
A correct RELAX NG schema must be such that, after transformation to the simple form, it does not contain any element that matches a prohibited path.
Section 5 describes the syntax that results from applying the transformations; this simple syntax is a subset of the full syntax.
http://relaxng.org/spec.html   (4969 words)

  
 XML.com: RELAX NG's Compact Syntax
In some respects, a RELAX NG schema in compact form looks like a context-free grammar, which provides a familiar view of the language, is readily comprehensible, and amenable to parsing.
RELAX NG, which was developed by a small technical committee lead by James Clark, merges Murata Makoto's RELAX and Clark's
It is a simple, yet elegant evolution of the DTD, which is also easy to learn.
http://www.xml.com/pub/a/2002/06/19/rng-compact.html   (749 words)

  
 Cover Pages: RELAX NG
RELAX NG is an XML schema language that is considered to be simple, yet powerful.
Overall, RELAX NG is much more mature (and it is possible to have a higher degree of confidence in its design) than it would be if it were based on a completely new and different paradigm...
The RELAX NG schema for RELAX NG in the non-XML syntax is 64 lines (2107 bytes), versus 342 lines (8187 bytes) for the XML syntax.
http://xml.coverpages.org/relax-ng.html   (11934 words)

  
 Reconfigurable RELAX NG Grammars
RELAX NG already has facilities for grammar extension and grammar redefinition, but I'm looking for something even easier.
It must be possible to generate DTDs and XML Schemas from the RELAX NG grammar.
But getting a working RELAX NG grammar is only a small part of the battle.
http://norman.walsh.name/2003/09/15/reconfigrng   (705 words)

  
 O'Reilly Network Safari Bookshelf - Schema - RELAX NG
RELAX NG is a grammar-based schema language that's both easy to learn for schema creators and easy to implement for software developers In RELAX NG, developers are introduced to this unique language and will learn a no-nonsense method for creating XML schemas.
Designed to solve a variety of common problems raised in the creation and sharing of XML vocabularies, RELAX NG is less complex than The W3C's XML Schema Recommendation and much more powerful and flexible than DTDs.
And only O'Reilly's RELAX NG gives you the straightforward information and everything else you'll need to take advantage of this powerful and intelligible language.
http://safari.oreilly.com/JVXSL.asp?x=1&mode=section&sortKey=rank&sortOrder=desc&view=book&xmlid=0-596-00421-4&open=true&g=&catid=itbooks.markup.schema&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&page=0   (1011 words)

  
 RELAX NG Shorthand Guide
I wrote a RELAX NG schema for VoiceXML by using this short-hand processor and it took 690 lines.
The current processor is written in XSLT, so once you completed the schema, use XSLT processor to produce a normal RELAX NG schema.
The RELAX NG short-hand processor partially addresses this problem by providing several "short-hand" notations that makes schema authoring easier.
http://www.geocities.com/kohsukekawaguchi/relaxng/shorthand/ShortRNG.html   (485 words)

  
 Re: DTDs, W3C Schemas, RELAX NG, Schematron?
The good news is that there's a very smart researcher, Haruo Hosoya, who created XDuce for his PhD, a large part of which is dealing with computing subset relationships for a type system which is very similar to RELAX NG.
With union, it's dead simple: if you have two RELAX NG schemas, s1.rng and s2.rng, then is a schema that matches the union.
The question as regards intersection and difference is rather more complex than the question as regards union.
http://www.stylusstudio.com/xmldev/200205/post81310.html   (369 words)

  
 XML.com: Relax NG, Compared
To describe this document, we could say that we define a grammar starting with an element named book and this is pretty much what we will write as a RELAX NG schema.
jing, the Java open source implementation of RELAX NG written by James Clark.
To make it more comparable to the W3C XML Schema, we need to see how a datatype system can be embedded.
http://www.xml.com/pub/a/2002/01/23/relaxng.html   (582 words)

  
 JAXB RI 1.0.4 -- RELAX NG extension
Applying this customization to a RELAX NG pattern will map that pattern to a Java object by using the specified conversion method.
The JAXB Reference Implementation (JAXB RI) ships with experimental RELAX NG support, which allows users to generate Java source code from a RELAX NG schema.
(W3C XML Schema limits where this customization can be applied.) Applying this customization to a RELAX NG pattern will map that pattern into a property from which objects from the descendants are assigned.
http://java.sun.com/webservices/docs/1.5/jaxb/relaxng.html   (1301 words)

  
 RELAX NG / RELAX
I also have a couple of projects at Sun that are related to RELAX NG.
A tool that translates XML/compact syntax of RELAX NG into simple syntax.
A tool that generates a validator, which is specialized for a given schema.
http://www.kohsuke.org/relaxng   (178 words)

  
 I want RelaxNG!
And because I can equally define message formats that can be validated in XSD that aren't possible in RELAX NG.
I can't help but wonder why, if WS-* and SOAP 1.2 keep XSD at arms length (referencing simple types only and providing non-normative schema definitions) and WSDL 2.0 defines its own simple types, everyone assumes I want to use XSD to define my Web service interface.
Posted @ 8/17/2004 5:25 AM One point I forgot to make is that why do we all have to agree which schema language to use?
http://pluralsight.com/blogs/tewald/archive/2004/08/16/1892.aspx   (1393 words)

  
 xmlhack: RELAX NG now a full ISO International Standard
RELAX NG is supported by a large number of tools, including tools for converting RELAX NG schemas to and from DTDs and W3C XML Schemas, and an innovative XML editing mode for GNU Emacs that does incremental parsing and validation of document instances.
Work on making it an ISO standard was subsequently taken on by the Document Description and Processing Languages subcommittee of the ISO/IEC Joint Technical Committee 1 (ISO/IEC JTC 1/SC 34), as part of a larger project, the Document Schema Definition Language (DSDL), which has as its objective to:
About RELAX NG RELAX NG was developed under the guidance of Clark and MURATA Makoto (creator of the original RELAX schema language) and the members of the RELAX NG technical committee at OASIS.
http://xmlhack.com/read.php?item=2119   (459 words)

  
 The XML Menagerie - Intel® Software Network
As a result, RELAX NG has become very popular in spite of the lack of formal recognition from the W3C.
Both schema took the grammar approach of DTD in a more friendly XML format, with many of the features that DTD and even XSDL lacks.
There have been many approaches to validating documents more flexibly than DTD allows, including systems such as Schematron* and Examplotron*, which essentially use XSLT to transform the document into a validation report.
http://www.intel.com/cd/ids/developer/asmo-na/eng/20286.htm?page=3   (330 words)

  
 xmlhack: RNV: C-based Relax NG validator
RNV is a command-line tool for validating XML documents against schemas written in Relax NG compact syntax.
RVP (Relax NG Validation Pipe), a tool designed to "ease embedding of a Relax NG validator into various languages and environments."
RNV [download] requires Expat for document parsing, but otherwise has no other dependencies and should build right out of the box on most platforms.
http://www.xmlhack.com/read.php?item=2168   (153 words)

  
 Cover Pages: TREX and RELAX Unified as RELAX NG, a Lightweight XML Language Validation Specification.
TREX was created by James Clark, widely regarded as one of the most prolific contributors to the field of structured information standards.
'RELAX NG fits in well with the W3C XML Schema Formal Description,' added Clark.
RELAX was initially developed at the Information Technology Research and Standardization Centre (INSTAC) in Japan, which advances Japanese national standards for XML under the auspices of the Japanese Standard Association (JSA).
http://xml.coverpages.org/ni2001-06-05-a.html   (668 words)

  
 RELAX NG
RELAX NG RELAX NG is the name for the unification of two XML schema languages:
A RELAX NG schema for XSLT 1.0 stylesheets.
DTDinst, a program for producing an XML instance representation of XML DTDs; this is also used by Trang for converting from XML DTDs into RELAX NG Namespace Routing Language (NRL), a XML language for combining schemas for multiple namespaces.
http://www.thaiopensource.com/relaxng   (298 words)

  
 Discover RELAX NG, A Simple Schema Solution
While XSD (XML Schema Definition) was developed to define schemas in the XML format, RELAX NG supports pluggable simple data type libraries (new ones can be readily designed and built as needed) and provides two interconvertible syntaxes: an XML one for processing and a compact non-XML one for human authoring.
RELAX NG uses self-explanatory numerical pattern quantifications, such as , , and tags, which would be represented by '*', '+', and '?' respectively in a DTD:
Understanding RELAX NG WC3 Schema Specifications and Development
http://www.devx.com/xml/Article/28784?trk=DXRSS_WEBDEV   (400 words)

  
 RELAX NG
What is a XML schema language and how does RELAX NG compare to other schema languages
Relax NG is an alternative schema language combining the ease of DTDs with the power of W3C XML Schema.
This one-day course will cover the clean foundations of Relax NG, all the available patterns, Relax NG best practices and the potential integration with other data-description facilities.
http://www.xmlbelux.be/events/relaxng2005.html   (179 words)

  
 XSLT 2.0 RELAX NG Grammar
I've fixed a few bugs in my XSLT 2.0 RELAX NG Grammar.
A few months ago, I wrote about validating XSLT 2.0 with RELAX NG.
http://norman.walsh.name/2005/04/07/xslt20   (302 words)

  
 SourceForge.net: relaxng
RELAX NG is a public space for test cases and other ancillary software related to the construction of the RELAX NG language and its implementations.
Provide feedback on this page Recently changed page Site Status
Support Requests : (0 open / 0 total)
http://sourceforge.net/projects/relaxng   (89 words)

  
 OASIS RELAX NG TC
OASIS RELAX NG TC Advancing a lightweight, easy-to-use XML schema language
The purpose of the OASIS RELAX NG TC is to create a specification for a schema language for XML based on the TREX proposal (http://www.thaiopensource.com/trex/).
RELAX NG Compact Syntax, Committee Specification 21 November 2002
http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=relax-ng   (245 words)

  
 [No title]
Note: As in the DTD, the components must occur in order¡¹Z0ÿÿþ?ÿ?þ ÿÿþdÿÿþ†ÿÿþ/ ó Ÿ¨RELAX NG describes patternsŸ¨PYour RELAX NG document specifies a pattern that matches your valid XML documents For example, the pattern:
\cþÎü*ý3N÷Q÷U÷X÷[ý^ûR[[ö^õ`öbödòeY¦èøþe=Ô .11Ò>\ccË**ù3úQ÷U÷X÷[ú^ýRWö^õ`öbödòeY¦èøøee6Ò.11Ñ\cc>È!÷3ýQ÷U÷X÷[ø^RRþWø^õ`öbödðeèøø¦e6Ñ11 Ñcc>Ä!û3;;QQ÷U÷X÷[÷^`ûWû^õ`öbödïeøø¦Y-Ï Ï>Á!þ3ý;÷U÷X÷[÷^ý`ûWþ^õ`öbödíe¦Y*Î Î¿*3ü;øU÷X÷[÷^û`ûW^õ`öbödìeY™½*û;úU÷X÷[÷^ù`üWõ`öbödëe!™»*û;üU÷X÷[÷^÷`þW\\÷`öbödëe"™¸3ü;þU÷X÷[÷^÷`bbWý\ù`öbödëe!™µ3þ;DD÷X÷[÷^÷`ýbý\ú`öbödëe ™³3;ýDùX÷[÷^÷`übü\ü`öbödëe™²;üDúX÷[÷^÷`ûbü\ý`öbödëe™°;üDüX÷[÷^÷`ùbü\``öbödëe™¯;üDýX÷[÷^÷`øbü\`öbödëe ™­CüDXX÷[÷^÷`öbþ\``÷bödëe ™¬CüDX÷[÷^÷`öbdd\þ`øbödëe™ªCþDKKø[÷^÷`öbþdý`ùbödëe™©KDDþKù[÷^÷`öbüdý`ûbödëe™¢Kû[÷^÷`öbúdþ`übödëe™¡Kü[÷^÷`öbùdý`þbödëe™¤RüKþ[÷^÷`öbødý`bbödëe™£RüK[[÷^÷`öb÷dý`bödëe™¡RüK÷^÷`öb÷deþ`bb÷dëe™ WýKRø^÷`öb÷dþe`þbødëe™ŸWþKRRù^÷`öb÷dýeýbùdëe™žWKKþRú^÷`öb÷düeýbúdëe™œ\ýRû^÷`öb÷dûeýbûdëe™›\ýRü^÷`öb÷dúeýbüdëe™š\ýRý^÷`öb÷døeþbýdëe™™`ýRþ^÷`öb÷d÷eþbþdëe™˜`ýR^^÷`öb÷döeþbddëe™—`ýR^÷`öb÷dõeþbdëe™—býR÷`öb÷dôebbdëe™•býRø`öb÷dóebddìe™”bþRWù`öb÷dòeþdíe™“dRRWù`öb÷dñeþdîe™’dRWWú`öb÷dðeþdïe™‘dþWû`öb÷dïeþdðe™eþWü`öb÷dîeþdñe™eþWü`öb÷dîeþdñeÿ FementsDefining tagsRELAX NG describes patterns Easy tagsExample EnumerationsMore about data
With the RELAX NG we have discussed so far, each time we want to include a person, we would need to explicitly define both person and name at that point:
http://www.cis.upenn.edu/~matuszek/cit597-2002/Lectures/relax-ng.ppt   (710 words)

  
 Validating with RELAX NG
It's necessary because libxml2 doesn't support the Compact Syntax, but I want to use it as an input format.
The author has also written a comparison of RELAX NG and XML Schema.
That's reassuring about the language definition's precision, but it means the spec isn't much help to a casual reader.
http://www.amk.ca/notes/rng.html   (334 words)

  
 RELAX NG and the W3C
You just can't keep a good schema language down.
Right now at the W3C, the current working draft of XHTML 2.0 is sporting a RELAX NG schema.
You can also find a RELAX NG schema (in compact syntax) in the RDF/XML syntax spec, in WSDL 2.0, SVG 1.2, and unofficially for XML Signature.
http://www.oreillynet.com/pub/wlg/4621   (335 words)

  
 Peer Pressure » 2005 » July
Modern software development is all about releasing early and often, and we’re keen to jump on the bandwagon.
The most successful of these efforts was RELAX NG, a hybrid of two earlier schema languages, Murata Makoto’s RELAX and James Clark’s TREX.
This makes so much damn sense that I’m going to go out on a limb and predict a major resurgence for RELAX NG.
http://www.allpeers.com/blog/2005/07   (4846 words)

  
 John Cowan's Home Page
Describing Document Types: The Schema Languages of XML
A two-part tutorial teaching the basics of several XML schema languages: DTDs, RELAX NG, Schematron (in Part 1), and W3C XML Schema (in Part 2).
http://mercury.ccil.org/~cowan   (719 words)

  
 RELAX NG and OpenOffice
If I understand the wording of the spec correctly, RELAX NG is now the normative schema language for OpenOffice.
Michael Fitzgerald is the author of Learning XSLT.
Yesterday, I was looking at the OpenOffice file format specification which was issued as an OASIS committee specification on March 22.
http://www.oreillynet.com/pub/wlg/4658   (411 words)

  
 [No title]
The subject of this book, RELAX NG (http://relaxng.org), is a XML schema language developped by the OASIS RELAX NG Technical Committee and recently accepted as Draft International Standard 19757-2 by the Document Description and Processing Languages subcommittee (DSDL) of the ISO/IEC Joint Technical Committee 1 (ISO/IEC JTC 1/SC 34/WG 1).
RELAX NG is a book written by Eric van der Vlist for O'Reilly and submitted to an open review process.
http://books.xmlschemata.org/relaxng   (89 words)

  
 Sun Multi-Schema XML Validator Schematron add-on
This release supports Schematron constraints to be embedded in the pattern of RELAX NG.
This tool also supports the use of elements in RELAX NG grammar.
To run the program, you must have Xalan-Java and a JAXP-compliant XML parser in your classpath.
http://www.sun.com/software/xml/developers/schematronaddon   (246 words)

  
 - XHTML 2.0 RELAX NG Definition
This appendix contains the implementation of the XHTML 2.0 RELAX NG driver file.
RELAX NG schema for XHTML 2.0 Copyright and#xA9;2003 W3Cand#xAE; (MIT, ERCIM, Keio), All Rights Reserved.
Editor: Masayasu Ishikawa andlt;mimasa@w3.organdgt; Revision: $Id: xhtml2.rng,v 1.25 2003/05/01 05:53:05 mimasa Exp $ Permission to use, copy, modify and distribute this RELAX NG schema for XHTML 2.0 and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies.
http://www.w3.org/TR/2003/WD-xhtml2-20030506/xhtml20_relax.html   (118 words)

  
 RELAX NG
RELAX NG There are no official versions of the RELAX NG Schema at this time.
In the meantime, these versions are derived from the DTD using Trang.
The DocBook Technical Committee is planning to migrate to RELAX NG officially in the DocBook V5.0 time frame.
http://www.docbook.org/rng   (45 words)

  
 DocBook RELAX NG 4.3
A version of the SGML Open CALS Table model.
You can also retrieve the files individually if you prefer:
DocBook RELAX NG 4.3 is available as a zip archive.
http://www.docbook.org/rng/4.3   (29 words)

  
 RELAX NG Tutorial
The Committee's goal is to create a schema language for XML based upon
Source Author or Organization: James Clark, Makoto MURATA, OASIS RELAX NG TC This Regular Language Description for XML Next Generation (RELAX NG) tutorial is the first document released by the Organization for the Advancement of Structured Information Standards (OASIS) RELAX NG Technical Commitee.
Resource Guide -> Schema Tutorials, RELAX NG, OASIS -> RELAX NG Tutorial
http://webservices.xml.com/pub/r/1137   (136 words)

  
 rnc.vim - RELAX NG Compact Syntax : vim online
This is currently very helpful (a little color goes a long way), but not quite fully mature.
Questions about Vim should go to vim@vim.org after searching the archive.
Syntax highlighting for RELAX NG Compact Syntax: http://www.oasis-open.org/committees/relax-ng/compact-20020607.html
http://www.vim.org/scripts/script.php?script_id=387   (145 words)

  
 Lopica - Web Start Paradise - Web Start Encyclopedia - Web Start Tools
The Lopica Web Start XML Startup Script Catalog Machine lets you create catalogs listing Web Start apps along with their vendor, version, description, homepage and more.
The Lopica startup script checker uses a multi schema engine and also allows you to use your own Relax, Relax NG, Trex, XML DTD, or W3C XML schemas.
The Lopcia startup script checker loads your Web Start XML startup script, checks if it is well-formed, validates it against built-in DTD and W3C XML schemas and collects all warnings and errors.
http://lopica.sourceforge.net   (796 words)

Compwisdom
 About us   |  Why use us?   |  Press   |  Contact us

 Copyright © 2006 CompWisdom.com Usage implies agreement with terms.