Comments (3)
Edit: for the above to work, we also need to include the oid_expansion_module.
Note that oid? is incorporated into the content models of all Node elements through
instance_ordered-header.choice |= qualification_, quantification_, oid?
Node_ordered-header.choice |=
metadata_ordered-header.choice, interface_ordered-header.choice, instance_ordered-header.choice
Node.header &= Node_ordered-header.choice?
from reaction-ruleml.
One final detail: it is necessary to redefine the Atom and Expr headers to remove the oid because it is not allowed to have an element occur twice in an interleave pattern
#
# ORDER MODE - UNORDERED GROUPS DISABLED
#
include "http://ruleml.org/1.0/relaxng/modules/ordered_groups_expansion_module.rnc" inherit = ruleml {
start |= notAllowed
Atom.header &= (Node.header? , degree-edge.choice?)?
Expr.header &= Node.header?
}
#
# ORDER MODE - UNORDERED GROUPS ENABLED
#
#include "http://ruleml.org/1.0/relaxng/modules/unordered_groups_expansion_module.rnc" inherit = ruleml {
# start |= notAllowed
# Atom.header &= (Node.header? & degree-edge.choice?)?
# Expr.header &= Node.header?
#}
#
# STRIPE-SKIPPING MODE ENABLED
#
from reaction-ruleml.
Fixed by c1f547a
from reaction-ruleml.
Related Issues (20)
- RNC modules are needed to redefine attribute lists of all Deliberation elements HOT 1
- RNC generated from flattened XSD needs correct Interval content model
- RNC derived from flattened XSD needs to remove redundant choice patterns
- Expr content model is incorrect in dr-flat.rnc
- IntervalAlgebraOperator.content has redundancies in RNC definition in dr-flat.rnc HOT 3
- Plex.content is incorrect in dr-flat.rnc
- Atom.content is not correct in dr-flat.rnc HOT 4
- RuleML 1.02 HOT 1
- Use of name meta for attribute and element causes conflict in JAXB HOT 1
- Operator renamed to Operation
- Uncertainty degree should be allowed in all formulas and rules in dr.xsd
- Attribute @style should be allowed in Expr and Plex in dr.xsd
- Interval constructors (Every, ...) should be allowed wherever functional terms are, in dr.xsd
- Attribute @index should be allowed on the formula edge in Operation, in dr.xsd HOT 1
- Attribute @material is allowed CURIE or IRI content HOT 1
- Merge of master branch into 1.02
- Mismatch in content model of Operation between Reaction and Consumer HOT 1
- bash script problems
- Interval should allow empty content HOT 1
- And in Naf does not validate in dr.xsd, but wrapped in Operator it does
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reaction-ruleml.