Content Models of Reaction RuleML 1.02

From RuleML Wiki
Jump to: navigation, search
Quick links:

RuleML Families : Specification of RuleML 1.02

Prerequisites: None, Level: Semi-formal

Reaction RuleML : Specification of Reaction RuleML

Prerequisites: None, Level: Semi-formal

Primer : Tutorial on RuleML

Prerequisites: None, Level: Informative

Relax NG Schemas : Machine-readable grammar in the Relax NG language

Prerequisites: Relax NG, Level: Formal

MYNG : Modular sYNtax confiGurator, a GUI for customizing Relax NG schemas

Prerequisites: None, Level: Formal

XSD Schemas : Machine-readable schemas in XSD

Prerequisites: XSD, Level: Formal

Normalizer : Stylesheet for transforming into the normal-form serialization

Prerequisites: XSLT, Level: Formal

Compactifier : Stylesheet for transforming into the compact serialization

Prerequisites: XSLT, Level: Formal

Upgrader : Stylesheets for transforming from earlier versions into Version 1.02

Prerequisites: XSLT, Level: Formal

Examples : Illustrative Instances of the Version 1.02 Language

Prerequisites: Primer, Level: Informative

Glossary : Definitions of Elements and Attributes

Prerequisites: Primer, Level: Semi-formal

Content Models : Simplified XML Element and Attribute Definitions

Prerequisites: Primer, Level: Semi-formal

Schema Docs : Diagrammatic Presentation of Content Models

Prerequisites: Primer, Level: Semi-formal

Implementations : Implemented RuleML tools

Prerequisites: None, Level: Informative

This version: reaction.ruleml.org/content_models/1.02

Latest version: reaction.ruleml.org/content_models

Version history:
Date Version
2016-xx-yy -

Version 1.02 RNC dev


1 Simplified Relax NG

See the directory listing at http://reaction.ruleml.org/1.02/simplified .

These informative simplified monolithic compact Relax NG grammars are auto-generated from the normative XSD schemas by first converting to Relax NG using msv-rngconv (and manual post-processing), followed by the Bash script http://reaction.ruleml.org/1.02/bash/batch_rnc2simp.sh , which calls

  • Jing to simplify the normative modular Relax NG schemas, producing the result as in the XML-based syntax of Relax NG, and
  • Trang to convert back to the compact RNC syntax.

The content models thus produced are (feature) complete for the normalized, compact, and relaxed serializations, except for explicit datatyping (due to a bug in Jing).

2 HTML Schemadocs for XSDs

See the directory listing at http://reaction.ruleml.org/1.02/doc .

The capabilities of oXygenXML are exploited to produce diagrammatic representations of the content models. The Bash script http://reaction.ruleml.org/1.02/bash/build_xsd2doc.sh generates the Schemadocs from each of the normative XSD schemas (http://reaction.ruleml.org/1.02/xsd).